Skip to content

Commit

Permalink
fix(networkconnectivity): update the API
Browse files Browse the repository at this point in the history
#### networkconnectivity:v1alpha1

The following keys were changed:
- resources.projects.resources.locations.resources.internalRanges.methods.create.description
- resources.projects.resources.locations.resources.internalRanges.methods.create.parameters.requestId.description
- resources.projects.resources.locations.resources.internalRanges.methods.delete.description
- resources.projects.resources.locations.resources.internalRanges.methods.delete.parameters.requestId.description
- resources.projects.resources.locations.resources.internalRanges.methods.get.description
- resources.projects.resources.locations.resources.internalRanges.methods.list.description
- resources.projects.resources.locations.resources.internalRanges.methods.patch.description
- resources.projects.resources.locations.resources.internalRanges.methods.patch.parameters.name.description
- resources.projects.resources.locations.resources.internalRanges.methods.patch.parameters.requestId.description
- resources.projects.resources.locations.resources.internalRanges.methods.patch.parameters.updateMask.description
- schemas.InternalRange.description
- schemas.InternalRange.properties.createTime.description
- schemas.InternalRange.properties.ipCidrRange.description
- schemas.InternalRange.properties.name.description
- schemas.InternalRange.properties.network.description
- schemas.InternalRange.properties.overlaps.description
- schemas.InternalRange.properties.overlaps.items.enumDescriptions
- schemas.InternalRange.properties.peering.description
- schemas.InternalRange.properties.peering.enumDescriptions
- schemas.InternalRange.properties.prefixLength.description
- schemas.InternalRange.properties.updateTime.description
- schemas.InternalRange.properties.usage.description
- schemas.InternalRange.properties.usage.enumDescriptions
- schemas.InternalRange.properties.users.description
- schemas.ListInternalRangesResponse.properties.internalRanges.description

#### networkconnectivity:v1

The following keys were changed:
- resources.projects.resources.locations.resources.internalRanges.methods.create.description
- resources.projects.resources.locations.resources.internalRanges.methods.create.parameters.parent.description
- resources.projects.resources.locations.resources.internalRanges.methods.delete.description
- resources.projects.resources.locations.resources.internalRanges.methods.delete.parameters.name.description
- resources.projects.resources.locations.resources.internalRanges.methods.get.description
- resources.projects.resources.locations.resources.internalRanges.methods.list.description
- resources.projects.resources.locations.resources.internalRanges.methods.patch.description
- resources.projects.resources.locations.resources.internalRanges.methods.patch.parameters.name.description
- schemas.InternalRange.description
- schemas.InternalRange.properties.createTime.description
- schemas.InternalRange.properties.ipCidrRange.description
- schemas.InternalRange.properties.name.description
- schemas.InternalRange.properties.network.description
- schemas.InternalRange.properties.overlaps.description
- schemas.InternalRange.properties.overlaps.items.enumDescriptions
- schemas.InternalRange.properties.peering.description
- schemas.InternalRange.properties.peering.enumDescriptions
- schemas.InternalRange.properties.prefixLength.description
- schemas.InternalRange.properties.updateTime.description
- schemas.InternalRange.properties.usage.enumDescriptions
- schemas.InternalRange.properties.users.description
- schemas.ListInternalRangesResponse.properties.internalRanges.description
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 2, 2023
1 parent 98381ce commit ed2ccaa
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 106 deletions.
54 changes: 27 additions & 27 deletions discovery/networkconnectivity-v1.json
Expand Up @@ -544,7 +544,7 @@
"internalRanges": {
"methods": {
"create": {
"description": "Creates a new InternalRange in a given project and location.",
"description": "Creates a new internal range in a given project and location.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges",
"httpMethod": "POST",
"id": "networkconnectivity.projects.locations.internalRanges.create",
Expand All @@ -558,7 +558,7 @@
"type": "string"
},
"parent": {
"description": "Required. The parent resource's name of the InternalRange.",
"description": "Required. The parent resource's name of the internal range.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
Expand All @@ -582,7 +582,7 @@
]
},
"delete": {
"description": "Deletes a single InternalRange.",
"description": "Deletes a single internal range.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}",
"httpMethod": "DELETE",
"id": "networkconnectivity.projects.locations.internalRanges.delete",
Expand All @@ -591,7 +591,7 @@
],
"parameters": {
"name": {
"description": "Required. The name of the InternalRange to delete.",
"description": "Required. The name of the internal range to delete.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$",
"required": true,
Expand All @@ -612,7 +612,7 @@
]
},
"get": {
"description": "Gets details of a single InternalRange.",
"description": "Gets details of a single internal range.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}",
"httpMethod": "GET",
"id": "networkconnectivity.projects.locations.internalRanges.get",
Expand All @@ -637,7 +637,7 @@
]
},
"list": {
"description": "Lists InternalRanges in a given project and location.",
"description": "Lists internal ranges in a given project and location.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges",
"httpMethod": "GET",
"id": "networkconnectivity.projects.locations.internalRanges.list",
Expand Down Expand Up @@ -683,7 +683,7 @@
]
},
"patch": {
"description": "Updates the parameters of a single InternalRange.",
"description": "Updates the parameters of a single internal range.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}",
"httpMethod": "PATCH",
"id": "networkconnectivity.projects.locations.internalRanges.patch",
Expand All @@ -692,7 +692,7 @@
],
"parameters": {
"name": {
"description": "Immutable. The name of a InternalRange. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names",
"description": "Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1393,7 +1393,7 @@
}
}
},
"revision": "20221207",
"revision": "20230105",
"rootUrl": "https://networkconnectivity.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -1647,11 +1647,11 @@
"type": "object"
},
"InternalRange": {
"description": "The InternalRange resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characterstics of that range (it's usage and peering behavior). Networking resources can link to this range if they are created as belonging to it. Next id: 14",
"description": "The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characterstics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.",
"id": "InternalRange",
"properties": {
"createTime": {
"description": "Time when the InternalRange was created.",
"description": "Time when the internal range was created.",
"format": "google-datetime",
"type": "string"
},
Expand All @@ -1660,7 +1660,7 @@
"type": "string"
},
"ipCidrRange": {
"description": "IP range that this InternalRange defines.",
"description": "The IP range that this internal range defines.",
"type": "string"
},
"labels": {
Expand All @@ -1671,30 +1671,30 @@
"type": "object"
},
"name": {
"description": "Immutable. The name of a InternalRange. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names",
"description": "Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names",
"type": "string"
},
"network": {
"description": "The URL or resource ID of the network in which to reserve the Internal Range. The network cannot be deleted if there are any reserved Internal Ranges referring to it. Legacy network is not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123",
"description": "The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123",
"type": "string"
},
"overlaps": {
"description": "Optional. Types of resources that are allowed to overlap with the current InternalRange.",
"description": "Optional. Types of resources that are allowed to overlap with the current internal range.",
"items": {
"enum": [
"OVERLAP_UNSPECIFIED",
"OVERLAP_ROUTE_RANGE"
],
"enumDescriptions": [
"No overlap overrides.",
"Allow creation of static routes more specific that the current InternalRange."
"Allow creation of static routes more specific that the current internal range."
],
"type": "string"
},
"type": "array"
},
"peering": {
"description": "The type of peering set for this InternalRange.",
"description": "The type of peering set for this internal range.",
"enum": [
"PEERING_UNSPECIFIED",
"FOR_SELF",
Expand All @@ -1703,14 +1703,14 @@
],
"enumDescriptions": [
"If Peering is left unspecified in CreateInternalRange or UpdateInternalRange, it will be defaulted to FOR_SELF.",
"This is the default behavior and represents the case that this InternalRange is intended to be used in the VPC on which it is created and is accessible from it’s peers. This implies that peers or peer-of-peer’s cannot use this range.",
"This behavior can be set when the Internal Range is being reserved for usage by the peers. This means that no resource within the VPC in which it is being created can use this to associate with a GCP resource, but one of the peer’s can. This represents \"donating\" a range for peers to use.",
"This behavior can be set when the Internal Range is being reserved for usage by the VPC on which it is created but not shared with the peers. In a sense it is local to the VPC. This can be used to create Internal Ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or for interconnect routes that are not shared with peers. This also implies that peer’s cannot use this range in a way that is visible to this VPC, but can re-use this range as long as it is NOT_SHARED from the peer VPC too."
"This is the default behavior and represents the case that this internal range is intended to be used in the VPC in which it is created and is accessible from its peers. This implies that peers or peers-of-peers cannot use this range.",
"This behavior can be set when the internal range is being reserved for usage by peers. This means that no resource within the VPC in which it is being created can use this to associate with a VPC resource, but one of the peers can. This represents donating a range for peers to use.",
"This behavior can be set when the internal range is being reserved for usage by the VPC in which it is created, but not shared with peers. In a sense, it is local to the VPC. This can be used to create internal ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or for Interconnect routes that are not shared with peers. This also implies that peers cannot use this range in a way that is visible to this VPC, but can re-use this range as long as it is NOT_SHARED from the peer VPC, too."
],
"type": "string"
},
"prefixLength": {
"description": "An alternate to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, it's an error if the range sizes don't match. Can also be used during updates to change the range size.",
"description": "An alternate to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.",
"format": "int32",
"type": "integer"
},
Expand All @@ -1722,7 +1722,7 @@
"type": "array"
},
"updateTime": {
"description": "Time when the InternalRange was updated.",
"description": "Time when the internal range was updated.",
"format": "google-datetime",
"type": "string"
},
Expand All @@ -1734,14 +1734,14 @@
"EXTERNAL_TO_VPC"
],
"enumDescriptions": [
"Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.",
"A GCP resource can use the reserved CIDR block by associating it with the Internal Range resource if usage is set to FOR_VPC.",
"Ranges created with EXTERNAL_TO_VPC cannot be associated with GCP resources and are meant to block out address ranges for various use cases, like for example, usage on-prem, with dynamic route announcements via interconnect."
"Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are, i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.",
"A VPC resource can use the reserved CIDR block by associating it with the internal range resource if usage is set to FOR_VPC.",
"Ranges created with EXTERNAL_TO_VPC cannot be associated with VPC resources and are meant to block out address ranges for various use cases, like for example, usage on-prem, with dynamic route announcements via interconnect."
],
"type": "string"
},
"users": {
"description": "Output only. The list of resources that refer to this internal range. Resources that use the InternalRange for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this InternalRange. Having a user, based on this reference, prevents deletion of the InternalRange referred to. Can be empty.",
"description": "Output only. The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -1850,7 +1850,7 @@
"id": "ListInternalRangesResponse",
"properties": {
"internalRanges": {
"description": "InternalRanges to be returned.",
"description": "Internal ranges to be returned.",
"items": {
"$ref": "InternalRange"
},
Expand Down

0 comments on commit ed2ccaa

Please sign in to comment.