Skip to content

Commit

Permalink
feat(servicecontrol): update the api
Browse files Browse the repository at this point in the history
#### servicecontrol:v2

The following keys were added:
- schemas.ResourceInfo.properties.container.type (Total Keys: 1)
- schemas.ResourceInfo.properties.location.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed May 28, 2021
1 parent 2687328 commit facd7ec
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/dyn/servicecontrol_v2.services.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ <h3>Method Details</h3>
&quot;flags&quot;: &quot;A String&quot;, # Optional. Contains a comma-separated list of flags.
&quot;resources&quot;: [ # Describes the resources and the policies applied to each resource.
{ # Describes a resource referenced in the request.
&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.
&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;
&quot;name&quot;: &quot;A String&quot;, # The name of the resource referenced in the request.
&quot;permission&quot;: &quot;A String&quot;, # The resource permission needed for this request. The format must be &quot;{service}/{plural}.{verb}&quot;.
&quot;type&quot;: &quot;A String&quot;, # The resource type in the format of &quot;{service}/{kind}&quot;.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
}
}
},
"revision": "20210508",
"revision": "20210513",
"rootUrl": "https://servicecontrol.googleapis.com/",
"schemas": {
"AllocateInfo": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
}
}
},
"revision": "20210508",
"revision": "20210513",
"rootUrl": "https://servicecontrol.googleapis.com/",
"schemas": {
"Api": {
Expand Down Expand Up @@ -699,6 +699,14 @@
"description": "Describes a resource referenced in the request.",
"id": "ResourceInfo",
"properties": {
"container": {
"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.",
"type": "string"
},
"location": {
"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\"",
"type": "string"
},
"name": {
"description": "The name of the resource referenced in the request.",
"type": "string"
Expand Down

0 comments on commit facd7ec

Please sign in to comment.