Skip to content

Commit 9b517b2

Browse files
feat(servicenetworking): update the api
#### servicenetworking:v1 The following keys were added: - schemas.BatchingConfigProto (Total Keys: 4) - schemas.BatchingDescriptorProto (Total Keys: 6) - schemas.BatchingSettingsProto (Total Keys: 17) - schemas.MethodSettings.properties.batching.$ref (Total Keys: 1) #### servicenetworking:v1beta The following keys were added: - schemas.BatchingConfigProto (Total Keys: 4) - schemas.BatchingDescriptorProto (Total Keys: 6) - schemas.BatchingSettingsProto (Total Keys: 17) - schemas.MethodSettings.properties.batching.$ref (Total Keys: 1)
1 parent 3531eef commit 9b517b2

File tree

3 files changed

+204
-6
lines changed

3 files changed

+204
-6
lines changed

docs/dyn/servicenetworking_v1.services.connections.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ <h3>Method Details</h3>
189189
<pre>List the private connections that are configured in a service consumer&#x27;s VPC network.
190190

191191
Args:
192-
parent: string, The service that is managing peering connectivity for a service producer&#x27;s organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`. If you specify `services/-` as the parameter value, all configured peering services are listed. (required)
193-
network: string, The name of service consumer&#x27;s VPC network that&#x27;s connected with service producer network through a private connection. The network name must be in the following format: `projects/{project}/global/networks/{network}`. {project} is a project number, such as in `12345` that includes the VPC service consumer&#x27;s VPC network. {network} is the name of the service consumer&#x27;s VPC network.
192+
parent: string, Required. The service that is managing peering connectivity for a service producer&#x27;s organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`. If you specify `services/-` as the parameter value, all configured peering services are listed. (required)
193+
network: string, Required. The name of service consumer&#x27;s VPC network that&#x27;s connected with service producer network through a private connection. The network name must be in the following format: `projects/{project}/global/networks/{network}`. {project} is a project number, such as in `12345` that includes the VPC service consumer&#x27;s VPC network. {network} is the name of the service consumer&#x27;s VPC network.
194194
x__xgafv: string, V1 error format.
195195
Allowed values
196196
1 - v1 error format

googleapiclient/discovery_cache/documents/servicenetworking.v1.json

Lines changed: 102 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -454,12 +454,12 @@
454454
],
455455
"parameters": {
456456
"network": {
457-
"description": "The name of service consumer's VPC network that's connected with service producer network through a private connection. The network name must be in the following format: `projects/{project}/global/networks/{network}`. {project} is a project number, such as in `12345` that includes the VPC service consumer's VPC network. {network} is the name of the service consumer's VPC network.",
457+
"description": "Required. The name of service consumer's VPC network that's connected with service producer network through a private connection. The network name must be in the following format: `projects/{project}/global/networks/{network}`. {project} is a project number, such as in `12345` that includes the VPC service consumer's VPC network. {network} is the name of the service consumer's VPC network.",
458458
"location": "query",
459459
"type": "string"
460460
},
461461
"parent": {
462-
"description": "The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`. If you specify `services/-` as the parameter value, all configured peering services are listed.",
462+
"description": "Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`. If you specify `services/-` as the parameter value, all configured peering services are listed.",
463463
"location": "path",
464464
"pattern": "^services/[^/]+$",
465465
"required": true,
@@ -1029,7 +1029,7 @@
10291029
}
10301030
}
10311031
},
1032-
"revision": "20250506",
1032+
"revision": "20250521",
10331033
"rootUrl": "https://servicenetworking.googleapis.com/",
10341034
"schemas": {
10351035
"AddDnsRecordSetMetadata": {
@@ -1483,6 +1483,101 @@
14831483
},
14841484
"type": "object"
14851485
},
1486+
"BatchingConfigProto": {
1487+
"description": "`BatchingConfigProto` defines the batching configuration for an API method.",
1488+
"id": "BatchingConfigProto",
1489+
"properties": {
1490+
"batchDescriptor": {
1491+
"$ref": "BatchingDescriptorProto",
1492+
"description": "The request and response fields used in batching."
1493+
},
1494+
"thresholds": {
1495+
"$ref": "BatchingSettingsProto",
1496+
"description": "The thresholds which trigger a batched request to be sent."
1497+
}
1498+
},
1499+
"type": "object"
1500+
},
1501+
"BatchingDescriptorProto": {
1502+
"description": "`BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing.",
1503+
"id": "BatchingDescriptorProto",
1504+
"properties": {
1505+
"batchedField": {
1506+
"description": "The repeated field in the request message to be aggregated by batching.",
1507+
"type": "string"
1508+
},
1509+
"discriminatorFields": {
1510+
"description": "A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.",
1511+
"items": {
1512+
"type": "string"
1513+
},
1514+
"type": "array"
1515+
},
1516+
"subresponseField": {
1517+
"description": "Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.",
1518+
"type": "string"
1519+
}
1520+
},
1521+
"type": "object"
1522+
},
1523+
"BatchingSettingsProto": {
1524+
"description": "`BatchingSettingsProto` specifies a set of batching thresholds, each of which acts as a trigger to send a batch of messages as a request. At least one threshold must be positive nonzero.",
1525+
"id": "BatchingSettingsProto",
1526+
"properties": {
1527+
"delayThreshold": {
1528+
"description": "The duration after which a batch should be sent, starting from the addition of the first message to that batch.",
1529+
"format": "google-duration",
1530+
"type": "string"
1531+
},
1532+
"elementCountLimit": {
1533+
"description": "The maximum number of elements collected in a batch that could be accepted by server.",
1534+
"format": "int32",
1535+
"type": "integer"
1536+
},
1537+
"elementCountThreshold": {
1538+
"description": "The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.",
1539+
"format": "int32",
1540+
"type": "integer"
1541+
},
1542+
"flowControlByteLimit": {
1543+
"description": "The maximum size of data allowed by flow control.",
1544+
"format": "int32",
1545+
"type": "integer"
1546+
},
1547+
"flowControlElementLimit": {
1548+
"description": "The maximum number of elements allowed by flow control.",
1549+
"format": "int32",
1550+
"type": "integer"
1551+
},
1552+
"flowControlLimitExceededBehavior": {
1553+
"description": "The behavior to take when the flow control limit is exceeded.",
1554+
"enum": [
1555+
"UNSET_BEHAVIOR",
1556+
"THROW_EXCEPTION",
1557+
"BLOCK",
1558+
"IGNORE"
1559+
],
1560+
"enumDescriptions": [
1561+
"Default behavior, system-defined.",
1562+
"Stop operation, raise error.",
1563+
"Pause operation until limit clears.",
1564+
"Continue operation, disregard limit."
1565+
],
1566+
"type": "string"
1567+
},
1568+
"requestByteLimit": {
1569+
"description": "The maximum size of the request that could be accepted by server.",
1570+
"format": "int32",
1571+
"type": "integer"
1572+
},
1573+
"requestByteThreshold": {
1574+
"description": "The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message.",
1575+
"format": "int64",
1576+
"type": "string"
1577+
}
1578+
},
1579+
"type": "object"
1580+
},
14861581
"Billing": {
14871582
"description": "Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: \"1\" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count",
14881583
"id": "Billing",
@@ -2848,6 +2943,10 @@
28482943
},
28492944
"type": "array"
28502945
},
2946+
"batching": {
2947+
"$ref": "BatchingConfigProto",
2948+
"description": "Batching configuration for an API method in client libraries. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.BatchCreateExample batching: element_count_threshold: 1000 request_byte_threshold: 100000000 delay_threshold_millis: 10"
2949+
},
28512950
"longRunning": {
28522951
"$ref": "LongRunning",
28532952
"description": "Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes"

googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json

Lines changed: 100 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
}
308308
}
309309
},
310-
"revision": "20250506",
310+
"revision": "20250518",
311311
"rootUrl": "https://servicenetworking.googleapis.com/",
312312
"schemas": {
313313
"AddDnsRecordSetMetadata": {
@@ -650,6 +650,101 @@
650650
},
651651
"type": "object"
652652
},
653+
"BatchingConfigProto": {
654+
"description": "`BatchingConfigProto` defines the batching configuration for an API method.",
655+
"id": "BatchingConfigProto",
656+
"properties": {
657+
"batchDescriptor": {
658+
"$ref": "BatchingDescriptorProto",
659+
"description": "The request and response fields used in batching."
660+
},
661+
"thresholds": {
662+
"$ref": "BatchingSettingsProto",
663+
"description": "The thresholds which trigger a batched request to be sent."
664+
}
665+
},
666+
"type": "object"
667+
},
668+
"BatchingDescriptorProto": {
669+
"description": "`BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing.",
670+
"id": "BatchingDescriptorProto",
671+
"properties": {
672+
"batchedField": {
673+
"description": "The repeated field in the request message to be aggregated by batching.",
674+
"type": "string"
675+
},
676+
"discriminatorFields": {
677+
"description": "A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.",
678+
"items": {
679+
"type": "string"
680+
},
681+
"type": "array"
682+
},
683+
"subresponseField": {
684+
"description": "Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.",
685+
"type": "string"
686+
}
687+
},
688+
"type": "object"
689+
},
690+
"BatchingSettingsProto": {
691+
"description": "`BatchingSettingsProto` specifies a set of batching thresholds, each of which acts as a trigger to send a batch of messages as a request. At least one threshold must be positive nonzero.",
692+
"id": "BatchingSettingsProto",
693+
"properties": {
694+
"delayThreshold": {
695+
"description": "The duration after which a batch should be sent, starting from the addition of the first message to that batch.",
696+
"format": "google-duration",
697+
"type": "string"
698+
},
699+
"elementCountLimit": {
700+
"description": "The maximum number of elements collected in a batch that could be accepted by server.",
701+
"format": "int32",
702+
"type": "integer"
703+
},
704+
"elementCountThreshold": {
705+
"description": "The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.",
706+
"format": "int32",
707+
"type": "integer"
708+
},
709+
"flowControlByteLimit": {
710+
"description": "The maximum size of data allowed by flow control.",
711+
"format": "int32",
712+
"type": "integer"
713+
},
714+
"flowControlElementLimit": {
715+
"description": "The maximum number of elements allowed by flow control.",
716+
"format": "int32",
717+
"type": "integer"
718+
},
719+
"flowControlLimitExceededBehavior": {
720+
"description": "The behavior to take when the flow control limit is exceeded.",
721+
"enum": [
722+
"UNSET_BEHAVIOR",
723+
"THROW_EXCEPTION",
724+
"BLOCK",
725+
"IGNORE"
726+
],
727+
"enumDescriptions": [
728+
"Default behavior, system-defined.",
729+
"Stop operation, raise error.",
730+
"Pause operation until limit clears.",
731+
"Continue operation, disregard limit."
732+
],
733+
"type": "string"
734+
},
735+
"requestByteLimit": {
736+
"description": "The maximum size of the request that could be accepted by server.",
737+
"format": "int32",
738+
"type": "integer"
739+
},
740+
"requestByteThreshold": {
741+
"description": "The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message.",
742+
"format": "int64",
743+
"type": "string"
744+
}
745+
},
746+
"type": "object"
747+
},
653748
"Billing": {
654749
"description": "Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: \"1\" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count",
655750
"id": "Billing",
@@ -1868,6 +1963,10 @@
18681963
},
18691964
"type": "array"
18701965
},
1966+
"batching": {
1967+
"$ref": "BatchingConfigProto",
1968+
"description": "Batching configuration for an API method in client libraries. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.BatchCreateExample batching: element_count_threshold: 1000 request_byte_threshold: 100000000 delay_threshold_millis: 10"
1969+
},
18711970
"longRunning": {
18721971
"$ref": "LongRunning",
18731972
"description": "Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes"

0 commit comments

Comments
 (0)