Skip to content

Commit

Permalink
feat(servicenetworking): update the API
Browse files Browse the repository at this point in the history
#### servicenetworking:v1

The following keys were added:
- schemas.AddSubnetworkRequest.properties.role.description
- schemas.AddSubnetworkRequest.properties.role.type
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 2, 2023
1 parent bb1f964 commit d632167
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion discovery/servicenetworking-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@
}
}
},
"revision": "20221218",
"revision": "20230125",
"rootUrl": "https://servicenetworking.googleapis.com/",
"schemas": {
"AddDnsRecordSetMetadata": {
Expand Down Expand Up @@ -1032,6 +1032,10 @@
},
"type": "array"
},
"role": {
"description": "Optional. Defines the role field of the subnet, e.g. 'ACTIVE'. For information about the roles that can be set using this field, see [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.",
"type": "string"
},
"secondaryIpRangeSpecs": {
"description": "Optional. A list of secondary IP ranges to be created within the new subnetwork.",
"items": {
Expand Down
5 changes: 5 additions & 0 deletions src/apis/servicenetworking/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ export namespace servicenetworking_v1 {
* Optional. The name of one or more allocated IP address ranges associated with this private service access connection. If no range names are provided all ranges associated with this connection will be considered. If a CIDR range with the specified IP prefix length is not available within these ranges, the call fails.
*/
requestedRanges?: string[] | null;
/**
* Optional. Defines the role field of the subnet, e.g. 'ACTIVE'. For information about the roles that can be set using this field, see [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.
*/
role?: string | null;
/**
* Optional. A list of secondary IP ranges to be created within the new subnetwork.
*/
Expand Down Expand Up @@ -2814,6 +2818,7 @@ export namespace servicenetworking_v1 {
* // "region": "my_region",
* // "requestedAddress": "my_requestedAddress",
* // "requestedRanges": [],
* // "role": "my_role",
* // "secondaryIpRangeSpecs": [],
* // "subnetwork": "my_subnetwork",
* // "subnetworkUsers": [],
Expand Down

0 comments on commit d632167

Please sign in to comment.