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.outsideAllocationPublicIpRange.description
- schemas.AddSubnetworkRequest.properties.outsideAllocationPublicIpRange.type
- schemas.SecondaryIpRangeSpec.properties.outsideAllocationPublicIpRange.description
- schemas.SecondaryIpRangeSpec.properties.outsideAllocationPublicIpRange.type
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Sep 28, 2021
1 parent cb165ad commit cc21e38
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
10 changes: 9 additions & 1 deletion discovery/servicenetworking-v1.json
Expand Up @@ -860,7 +860,7 @@
}
}
},
"revision": "20210824",
"revision": "20210924",
"rootUrl": "https://servicenetworking.googleapis.com/",
"schemas": {
"AddDnsRecordSetMetadata": {
Expand Down Expand Up @@ -987,6 +987,10 @@
"format": "int32",
"type": "integer"
},
"outsideAllocationPublicIpRange": {
"description": "Optional. Enable outside allocation using public IP addresses. Any public IP range may be specified. If this field is provided, we will not use customer reserved ranges for this primary IP range.",
"type": "string"
},
"privateIpv6GoogleAccess": {
"description": "Optional. The private IPv6 google access type for the VMs in this subnet. For information about the access types 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"
Expand Down Expand Up @@ -2822,6 +2826,10 @@
"format": "int32",
"type": "integer"
},
"outsideAllocationPublicIpRange": {
"description": "Optional. Enable outside allocation using public IP addresses. Any public IP range may be specified. If this field is provided, we will not use customer reserved ranges for this secondary IP range.",
"type": "string"
},
"rangeName": {
"description": "Required. A name for the secondary IP range. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.",
"type": "string"
Expand Down
9 changes: 9 additions & 0 deletions src/apis/servicenetworking/v1.ts
Expand Up @@ -228,6 +228,10 @@ export namespace servicenetworking_v1 {
* Required. The prefix length of the subnet's IP address range. Use CIDR range notation, such as `30` to provision a subnet with an `x.x.x.x/30` CIDR range. The IP address range is drawn from a pool of available ranges in the service consumer's allocated range.
*/
ipPrefixLength?: number | null;
/**
* Optional. Enable outside allocation using public IP addresses. Any public IP range may be specified. If this field is provided, we will not use customer reserved ranges for this primary IP range.
*/
outsideAllocationPublicIpRange?: string | null;
/**
* Optional. The private IPv6 google access type for the VMs in this subnet. For information about the access types that can be set using this field, see [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.
*/
Expand Down Expand Up @@ -1517,6 +1521,10 @@ export namespace servicenetworking_v1 {
* Required. The prefix length of the secondary IP range. Use CIDR range notation, such as `30` to provision a secondary IP range with an `x.x.x.x/30` CIDR range. The IP address range is drawn from a pool of available ranges in the service consumer's allocated range.
*/
ipPrefixLength?: number | null;
/**
* Optional. Enable outside allocation using public IP addresses. Any public IP range may be specified. If this field is provided, we will not use customer reserved ranges for this secondary IP range.
*/
outsideAllocationPublicIpRange?: string | null;
/**
* Required. A name for the secondary IP range. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
*/
Expand Down Expand Up @@ -2516,6 +2524,7 @@ export namespace servicenetworking_v1 {
* // "consumerNetwork": "my_consumerNetwork",
* // "description": "my_description",
* // "ipPrefixLength": 0,
* // "outsideAllocationPublicIpRange": "my_outsideAllocationPublicIpRange",
* // "privateIpv6GoogleAccess": "my_privateIpv6GoogleAccess",
* // "region": "my_region",
* // "requestedAddress": "my_requestedAddress",
Expand Down

0 comments on commit cc21e38

Please sign in to comment.