Skip to content

Commit 177354b

Browse files
yoshi-automationsofisl
authored andcommitted
feat(servicenetworking): update the API
#### servicenetworking:v1beta The following keys were added: - schemas.Documentation.properties.additionalIamInfo.description - schemas.Documentation.properties.additionalIamInfo.type - schemas.ExperimentalFeatures.properties.protobufPythonicTypesEnabled.description - schemas.ExperimentalFeatures.properties.protobufPythonicTypesEnabled.type - schemas.GoSettings.properties.renamedServices.additionalProperties.type - schemas.GoSettings.properties.renamedServices.description - schemas.GoSettings.properties.renamedServices.type The following keys were changed: - schemas.QuotaLimit.properties.unit.description #### servicenetworking:v1 The following keys were added: - schemas.Documentation.properties.additionalIamInfo.description - schemas.Documentation.properties.additionalIamInfo.type - schemas.ExperimentalFeatures.properties.protobufPythonicTypesEnabled.description - schemas.ExperimentalFeatures.properties.protobufPythonicTypesEnabled.type - schemas.GoSettings.properties.renamedServices.additionalProperties.type - schemas.GoSettings.properties.renamedServices.description - schemas.GoSettings.properties.renamedServices.type The following keys were changed: - resources.operations.methods.cancel.description - resources.services.resources.projects.resources.global.resources.networks.resources.dnsZones.methods.get.parameters.name.description - schemas.QuotaLimit.properties.unit.description
1 parent 3e22be8 commit 177354b

File tree

4 files changed

+64
-10
lines changed

4 files changed

+64
-10
lines changed

‎discovery/servicenetworking-v1.json

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"operations": {
112112
"methods": {
113113
"cancel": {
114-
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
114+
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
115115
"flatPath": "v1/operations/{operationsId}:cancel",
116116
"httpMethod": "POST",
117117
"id": "servicenetworking.operations.cancel",
@@ -858,7 +858,7 @@
858858
],
859859
"parameters": {
860860
"name": {
861-
"description": "Required. The network that the consumer is using to connect with services. Must be in the form of services/{service}/projects/{project}/global/networks/{network}/zones/{zoneName} Where {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this {project} is the project number, as in '12345' {network} is the network name. {zoneName} is the DNS zone name",
861+
"description": "Required. The network that the consumer is using to connect with services. Must be in the form of services/{service}/projects/{project}/global/networks/{network}/dnsZones/{zoneName} Where {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this {project} is the project number, as in '12345' {network} is the network name. {zoneName} is the DNS zone name",
862862
"location": "path",
863863
"pattern": "^services/[^/]+/projects/[^/]+/global/networks/[^/]+/dnsZones/[^/]+$",
864864
"required": true,
@@ -1029,7 +1029,7 @@
10291029
}
10301030
}
10311031
},
1032-
"revision": "20240925",
1032+
"revision": "20250107",
10331033
"rootUrl": "https://servicenetworking.googleapis.com/",
10341034
"schemas": {
10351035
"AddDnsRecordSetMetadata": {
@@ -1968,6 +1968,10 @@
19681968
"description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.",
19691969
"id": "Documentation",
19701970
"properties": {
1971+
"additionalIamInfo": {
1972+
"description": "Optional information about the IAM configuration. This is typically used to link to documentation about a product's IAM roles and permissions.",
1973+
"type": "string"
1974+
},
19711975
"documentationRootUrl": {
19721976
"description": "The URL to the root of documentation.",
19731977
"type": "string"
@@ -2194,6 +2198,10 @@
21942198
"description": "Experimental features to be included during client library generation. These fields will be deprecated once the feature graduates and is enabled by default.",
21952199
"id": "ExperimentalFeatures",
21962200
"properties": {
2201+
"protobufPythonicTypesEnabled": {
2202+
"description": "Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`. This feature will be enabled by default 1 month after launching the feature in preview packages.",
2203+
"type": "boolean"
2204+
},
21972205
"restAsyncIoEnabled": {
21982206
"description": "Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages.",
21992207
"type": "boolean"
@@ -2348,6 +2356,13 @@
23482356
"common": {
23492357
"$ref": "CommonLanguageSettings",
23502358
"description": "Some settings."
2359+
},
2360+
"renamedServices": {
2361+
"additionalProperties": {
2362+
"type": "string"
2363+
},
2364+
"description": "Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. publishing: go_settings: renamed_services: Publisher: TopicAdmin",
2365+
"type": "object"
23512366
}
23522367
},
23532368
"type": "object"
@@ -3419,7 +3434,7 @@
34193434
"type": "string"
34203435
},
34213436
"unit": {
3422-
"description": "Specify the unit of the quota limit. It uses the same syntax as Metric.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * \"1/min/{project}\" for quota per minute per project. Note: the order of unit components is insignificant. The \"1\" at the beginning is required to follow the metric unit syntax.",
3437+
"description": "Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * \"1/min/{project}\" for quota per minute per project. Note: the order of unit components is insignificant. The \"1\" at the beginning is required to follow the metric unit syntax.",
34233438
"type": "string"
34243439
},
34253440
"values": {

‎discovery/servicenetworking-v1beta.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
}
308308
}
309309
},
310-
"revision": "20240925",
310+
"revision": "20241212",
311311
"rootUrl": "https://servicenetworking.googleapis.com/",
312312
"schemas": {
313313
"AddDnsRecordSetMetadata": {
@@ -1080,6 +1080,10 @@
10801080
"description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.",
10811081
"id": "Documentation",
10821082
"properties": {
1083+
"additionalIamInfo": {
1084+
"description": "Optional information about the IAM configuration. This is typically used to link to documentation about a product's IAM roles and permissions.",
1085+
"type": "string"
1086+
},
10831087
"documentationRootUrl": {
10841088
"description": "The URL to the root of documentation.",
10851089
"type": "string"
@@ -1289,6 +1293,10 @@
12891293
"description": "Experimental features to be included during client library generation. These fields will be deprecated once the feature graduates and is enabled by default.",
12901294
"id": "ExperimentalFeatures",
12911295
"properties": {
1296+
"protobufPythonicTypesEnabled": {
1297+
"description": "Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`. This feature will be enabled by default 1 month after launching the feature in preview packages.",
1298+
"type": "boolean"
1299+
},
12921300
"restAsyncIoEnabled": {
12931301
"description": "Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages.",
12941302
"type": "boolean"
@@ -1428,6 +1436,13 @@
14281436
"common": {
14291437
"$ref": "CommonLanguageSettings",
14301438
"description": "Some settings."
1439+
},
1440+
"renamedServices": {
1441+
"additionalProperties": {
1442+
"type": "string"
1443+
},
1444+
"description": "Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. publishing: go_settings: renamed_services: Publisher: TopicAdmin",
1445+
"type": "object"
14311446
}
14321447
},
14331448
"type": "object"
@@ -2439,7 +2454,7 @@
24392454
"type": "string"
24402455
},
24412456
"unit": {
2442-
"description": "Specify the unit of the quota limit. It uses the same syntax as Metric.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * \"1/min/{project}\" for quota per minute per project. Note: the order of unit components is insignificant. The \"1\" at the beginning is required to follow the metric unit syntax.",
2457+
"description": "Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * \"1/min/{project}\" for quota per minute per project. Note: the order of unit components is insignificant. The \"1\" at the beginning is required to follow the metric unit syntax.",
24432458
"type": "string"
24442459
},
24452460
"values": {

‎src/apis/servicenetworking/v1.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,10 @@ export namespace servicenetworking_v1 {
824824
* `Documentation` provides the information for describing a service. Example: documentation: summary: \> The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: \> ... - selector: google.calendar.Calendar.Put description: \> ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.
825825
*/
826826
export interface Schema$Documentation {
827+
/**
828+
* Optional information about the IAM configuration. This is typically used to link to documentation about a product's IAM roles and permissions.
829+
*/
830+
additionalIamInfo?: string | null;
827831
/**
828832
* The URL to the root of documentation.
829833
*/
@@ -987,6 +991,10 @@ export namespace servicenetworking_v1 {
987991
* Experimental features to be included during client library generation. These fields will be deprecated once the feature graduates and is enabled by default.
988992
*/
989993
export interface Schema$ExperimentalFeatures {
994+
/**
995+
* Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf\>=5.29.x`. This feature will be enabled by default 1 month after launching the feature in preview packages.
996+
*/
997+
protobufPythonicTypesEnabled?: boolean | null;
990998
/**
991999
* Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages.
9921000
*/
@@ -1134,6 +1142,10 @@ export namespace servicenetworking_v1 {
11341142
* Some settings.
11351143
*/
11361144
common?: Schema$CommonLanguageSettings;
1145+
/**
1146+
* Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. publishing: go_settings: renamed_services: Publisher: TopicAdmin
1147+
*/
1148+
renamedServices?: {[key: string]: string} | null;
11371149
}
11381150
/**
11391151
* Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.
@@ -1807,7 +1819,7 @@ export namespace servicenetworking_v1 {
18071819
*/
18081820
name?: string | null;
18091821
/**
1810-
* Specify the unit of the quota limit. It uses the same syntax as Metric.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * "1/min/{project\}" for quota per minute per project. Note: the order of unit components is insignificant. The "1" at the beginning is required to follow the metric unit syntax.
1822+
* Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * "1/min/{project\}" for quota per minute per project. Note: the order of unit components is insignificant. The "1" at the beginning is required to follow the metric unit syntax.
18111823
*/
18121824
unit?: string | null;
18131825
/**
@@ -2349,7 +2361,7 @@ export namespace servicenetworking_v1 {
23492361
}
23502362

23512363
/**
2352-
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
2364+
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
23532365
*
23542366
* @param params - Parameters for request
23552367
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -4973,7 +4985,7 @@ export namespace servicenetworking_v1 {
49734985
export interface Params$Resource$Services$Projects$Global$Networks$Dnszones$Get
49744986
extends StandardParameters {
49754987
/**
4976-
* Required. The network that the consumer is using to connect with services. Must be in the form of services/{service\}/projects/{project\}/global/networks/{network\}/zones/{zoneName\} Where {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this {project\} is the project number, as in '12345' {network\} is the network name. {zoneName\} is the DNS zone name
4988+
* Required. The network that the consumer is using to connect with services. Must be in the form of services/{service\}/projects/{project\}/global/networks/{network\}/dnsZones/{zoneName\} Where {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this {project\} is the project number, as in '12345' {network\} is the network name. {zoneName\} is the DNS zone name
49774989
*/
49784990
name?: string;
49794991
}

0 commit comments

Comments
 (0)