Skip to content

Commit

Permalink
feat(servicenetworking)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.
#### servicenetworking:v1beta
The following keys were deleted:
- schemas.ConsumerConfig.properties.reservedRanges.items.type

The following keys were added:
- schemas.ConsumerConfig.properties.reservedRanges.items.$ref
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.description
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.id
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.properties.address.description
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.properties.address.type
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.properties.ipPrefixLength.description
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.properties.ipPrefixLength.format
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.properties.ipPrefixLength.type
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.properties.name.description
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.properties.name.type
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.type

The following keys were changed:
- schemas.ConsumerConfig.properties.reservedRanges.description

#### servicenetworking:v1
The following keys were deleted:
- schemas.ConsumerConfig.properties.reservedRanges.items.type

The following keys were added:
- schemas.ConsumerConfig.properties.reservedRanges.items.$ref
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.description
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.id
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.properties.address.description
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.properties.address.type
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.properties.ipPrefixLength.description
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.properties.ipPrefixLength.format
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.properties.ipPrefixLength.type
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.properties.name.description
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.properties.name.type
- schemas.GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.type

The following keys were changed:
- schemas.ConsumerConfig.properties.reservedRanges.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Nov 30, 2020
1 parent 6b0722f commit d7559e2
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 10 deletions.
26 changes: 23 additions & 3 deletions discovery/servicenetworking-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@
}
}
},
"revision": "20201110",
"revision": "20201119",
"rootUrl": "https://servicenetworking.googleapis.com/",
"schemas": {
"AddDnsRecordSetMetadata": {
Expand Down Expand Up @@ -1312,9 +1312,9 @@
"type": "string"
},
"reservedRanges": {
"description": "Output only. The name of the allocated IP address ranges for this private service access connection.",
"description": "Output only. The reserved ranges associated with this private service access connection.",
"items": {
"type": "string"
"$ref": "GoogleCloudServicenetworkingV1ConsumerConfigReservedRange"
},
"readOnly": true,
"type": "array"
Expand Down Expand Up @@ -1783,6 +1783,26 @@
},
"type": "object"
},
"GoogleCloudServicenetworkingV1ConsumerConfigReservedRange": {
"description": "Allocated IP address ranges for this private service access connection.",
"id": "GoogleCloudServicenetworkingV1ConsumerConfigReservedRange",
"properties": {
"address": {
"description": "The starting address of the reserved range. The address must be a valid IPv4 address in the x.x.x.x format. This value combined with the IP prefix length is the CIDR range for the reserved range.",
"type": "string"
},
"ipPrefixLength": {
"description": "The prefix length of the reserved range.",
"format": "int32",
"type": "integer"
},
"name": {
"description": "The name of the reserved range.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudServicenetworkingV1betaSubnetwork": {
"description": "Represents a subnet that was created or discovered by a private access management service.",
"id": "GoogleCloudServicenetworkingV1betaSubnetwork",
Expand Down
26 changes: 23 additions & 3 deletions discovery/servicenetworking-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
}
}
},
"revision": "20201104",
"revision": "20201119",
"rootUrl": "https://servicenetworking.googleapis.com/",
"schemas": {
"AddDnsRecordSetMetadata": {
Expand Down Expand Up @@ -717,9 +717,9 @@
"type": "string"
},
"reservedRanges": {
"description": "Output only. The name of the allocated IP address ranges for this private service access connection.",
"description": "Output only. The reserved ranges associated with this private service access connection.",
"items": {
"type": "string"
"$ref": "GoogleCloudServicenetworkingV1ConsumerConfigReservedRange"
},
"readOnly": true,
"type": "array"
Expand Down Expand Up @@ -1148,6 +1148,26 @@
},
"type": "object"
},
"GoogleCloudServicenetworkingV1ConsumerConfigReservedRange": {
"description": "Allocated IP address ranges for this private service access connection.",
"id": "GoogleCloudServicenetworkingV1ConsumerConfigReservedRange",
"properties": {
"address": {
"description": "The starting address of the reserved range. The address must be a valid IPv4 address in the x.x.x.x format. This value combined with the IP prefix length is the CIDR range for the reserved range.",
"type": "string"
},
"ipPrefixLength": {
"description": "The prefix length of the reserved range.",
"format": "int32",
"type": "integer"
},
"name": {
"description": "The name of the reserved range.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudServicenetworkingV1betaSubnetwork": {
"description": "Represents a subnet that was created or discovered by a private access management service.",
"id": "GoogleCloudServicenetworkingV1betaSubnetwork",
Expand Down
21 changes: 19 additions & 2 deletions src/apis/servicenetworking/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,9 @@ export namespace servicenetworking_v1 {
*/
producerNetwork?: string | null;
/**
* Output only. The name of the allocated IP address ranges for this private service access connection.
* Output only. The reserved ranges associated with this private service access connection.
*/
reservedRanges?: string[] | null;
reservedRanges?: Schema$GoogleCloudServicenetworkingV1ConsumerConfigReservedRange[];
}
/**
* Metadata provided through GetOperation request for the LRO generated by UpdateConsumerConfig API.
Expand Down Expand Up @@ -825,6 +825,23 @@ export namespace servicenetworking_v1 {
*/
outsideAllocation?: boolean | null;
}
/**
* Allocated IP address ranges for this private service access connection.
*/
export interface Schema$GoogleCloudServicenetworkingV1ConsumerConfigReservedRange {
/**
* The starting address of the reserved range. The address must be a valid IPv4 address in the x.x.x.x format. This value combined with the IP prefix length is the CIDR range for the reserved range.
*/
address?: string | null;
/**
* The prefix length of the reserved range.
*/
ipPrefixLength?: number | null;
/**
* The name of the reserved range.
*/
name?: string | null;
}
/**
* Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.
*/
Expand Down
21 changes: 19 additions & 2 deletions src/apis/servicenetworking/v1beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -436,9 +436,9 @@ export namespace servicenetworking_v1beta {
*/
producerNetwork?: string | null;
/**
* Output only. The name of the allocated IP address ranges for this private service access connection.
* Output only. The reserved ranges associated with this private service access connection.
*/
reservedRanges?: string[] | null;
reservedRanges?: Schema$GoogleCloudServicenetworkingV1ConsumerConfigReservedRange[];
}
/**
* Metadata provided through GetOperation request for the LRO generated by UpdateConsumerConfig API.
Expand Down Expand Up @@ -739,6 +739,23 @@ export namespace servicenetworking_v1beta {
*/
outsideAllocation?: boolean | null;
}
/**
* Allocated IP address ranges for this private service access connection.
*/
export interface Schema$GoogleCloudServicenetworkingV1ConsumerConfigReservedRange {
/**
* The starting address of the reserved range. The address must be a valid IPv4 address in the x.x.x.x format. This value combined with the IP prefix length is the CIDR range for the reserved range.
*/
address?: string | null;
/**
* The prefix length of the reserved range.
*/
ipPrefixLength?: number | null;
/**
* The name of the reserved range.
*/
name?: string | null;
}
/**
* Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.
*/
Expand Down

0 comments on commit d7559e2

Please sign in to comment.