Skip to content

Commit facd7ec

Browse files
feat(servicecontrol): update the api
#### servicecontrol:v2 The following keys were added: - schemas.ResourceInfo.properties.container.type (Total Keys: 1) - schemas.ResourceInfo.properties.location.type (Total Keys: 1)
1 parent 2687328 commit facd7ec

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

docs/dyn/servicecontrol_v2.services.html

+2
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ <h3>Method Details</h3>
192192
&quot;flags&quot;: &quot;A String&quot;, # Optional. Contains a comma-separated list of flags.
193193
&quot;resources&quot;: [ # Describes the resources and the policies applied to each resource.
194194
{ # Describes a resource referenced in the request.
195+
&quot;container&quot;: &quot;A String&quot;, # Optional. The identifier of the container of this resource. For Google Cloud APIs, the resource container must be one of the following formats: - `projects/` - `folders/` - `organizations/` For the policy enforcement on the container level (VPCSC and Location Policy check), this field takes precedence on the container extracted from name when presents.
196+
&quot;location&quot;: &quot;A String&quot;, # Optional. The location of the resource. The value must be a valid zone, region or multiregion. For example: &quot;europe-west4&quot; or &quot;northamerica-northeast1-a&quot;
195197
&quot;name&quot;: &quot;A String&quot;, # The name of the resource referenced in the request.
196198
&quot;permission&quot;: &quot;A String&quot;, # The resource permission needed for this request. The format must be &quot;{service}/{plural}.{verb}&quot;.
197199
&quot;type&quot;: &quot;A String&quot;, # The resource type in the format of &quot;{service}/{kind}&quot;.

googleapiclient/discovery_cache/documents/servicecontrol.v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
}
198198
}
199199
},
200-
"revision": "20210508",
200+
"revision": "20210513",
201201
"rootUrl": "https://servicecontrol.googleapis.com/",
202202
"schemas": {
203203
"AllocateInfo": {

googleapiclient/discovery_cache/documents/servicecontrol.v2.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
}
170170
}
171171
},
172-
"revision": "20210508",
172+
"revision": "20210513",
173173
"rootUrl": "https://servicecontrol.googleapis.com/",
174174
"schemas": {
175175
"Api": {
@@ -699,6 +699,14 @@
699699
"description": "Describes a resource referenced in the request.",
700700
"id": "ResourceInfo",
701701
"properties": {
702+
"container": {
703+
"description": "Optional. The identifier of the container of this resource. For Google Cloud APIs, the resource container must be one of the following formats: - `projects/` - `folders/` - `organizations/` For the policy enforcement on the container level (VPCSC and Location Policy check), this field takes precedence on the container extracted from name when presents.",
704+
"type": "string"
705+
},
706+
"location": {
707+
"description": "Optional. The location of the resource. The value must be a valid zone, region or multiregion. For example: \"europe-west4\" or \"northamerica-northeast1-a\"",
708+
"type": "string"
709+
},
702710
"name": {
703711
"description": "The name of the resource referenced in the request.",
704712
"type": "string"

0 commit comments

Comments
 (0)