Skip to content

Commit b9be56f

Browse files
feat(servicenetworking): update the api
#### servicenetworking:v1 The following keys were added: - schemas.ValidateConsumerConfigRequest.properties.checkServiceNetworkingUsePermission.type (Total Keys: 1)
1 parent c9bbfbd commit b9be56f

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

docs/dyn/servicenetworking_v1.services.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ <h3>Method Details</h3>
325325
The object takes the form of:
326326

327327
{
328+
&quot;checkServiceNetworkingUsePermission&quot;: True or False, # Optional. The IAM permission check determines whether the consumer project has &#x27;servicenetworking.services.use&#x27; permission or not.
328329
&quot;consumerNetwork&quot;: &quot;A String&quot;, # Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is a project number, as in &#x27;12345&#x27; {network} is network name.
329330
&quot;consumerProject&quot;: { # Represents a consumer project. # NETWORK_NOT_IN_CONSUMERS_PROJECT, NETWORK_NOT_IN_CONSUMERS_HOST_PROJECT, and HOST_PROJECT_NOT_FOUND are done when consumer_project is provided.
330331
&quot;projectNum&quot;: &quot;A String&quot;, # Required. Project number of the consumer that is launching the service instance. It can own the network that is peered with Google or, be a service project in an XPN where the host project has the network.

googleapiclient/discovery_cache/documents/servicenetworking.v1.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@
860860
}
861861
}
862862
},
863-
"revision": "20211215",
863+
"revision": "20211222",
864864
"rootUrl": "https://servicenetworking.googleapis.com/",
865865
"schemas": {
866866
"AddDnsRecordSetMetadata": {
@@ -3261,6 +3261,10 @@
32613261
"ValidateConsumerConfigRequest": {
32623262
"id": "ValidateConsumerConfigRequest",
32633263
"properties": {
3264+
"checkServiceNetworkingUsePermission": {
3265+
"description": "Optional. The IAM permission check determines whether the consumer project has 'servicenetworking.services.use' permission or not.",
3266+
"type": "boolean"
3267+
},
32643268
"consumerNetwork": {
32653269
"description": "Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is a project number, as in '12345' {network} is network name.",
32663270
"type": "string"
@@ -3310,7 +3314,8 @@
33103314
"RANGES_EXHAUSTED",
33113315
"RANGES_NOT_RESERVED",
33123316
"RANGES_DELETED_LATER",
3313-
"COMPUTE_API_NOT_ENABLED"
3317+
"COMPUTE_API_NOT_ENABLED",
3318+
"USE_PERMISSION_NOT_FOUND"
33143319
],
33153320
"enumDescriptions": [
33163321
"",
@@ -3326,7 +3331,8 @@
33263331
"The reserved IP ranges do not have enough space to create a subnet of desired size.",
33273332
"The IP ranges were not reserved.",
33283333
"The IP ranges were reserved but deleted later.",
3329-
"The consumer project does not have the compute api enabled."
3334+
"The consumer project does not have the compute api enabled.",
3335+
"The consumer project does not have the permission from the host project."
33303336
],
33313337
"type": "string"
33323338
}

googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
}
308308
}
309309
},
310-
"revision": "20211215",
310+
"revision": "20211222",
311311
"rootUrl": "https://servicenetworking.googleapis.com/",
312312
"schemas": {
313313
"AddDnsRecordSetMetadata": {

0 commit comments

Comments
 (0)