Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2786)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Sep 16, 2024
1 parent 786e8a8 commit 65d7953
Show file tree
Hide file tree
Showing 2 changed files with 141 additions and 29 deletions.
78 changes: 65 additions & 13 deletions networkconnectivity/v1/networkconnectivity-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2812,7 +2812,7 @@
}
}
},
"revision": "20240807",
"revision": "20240911",
"rootUrl": "https://networkconnectivity.googleapis.com/",
"schemas": {
"AcceptHubSpokeRequest": {
Expand Down Expand Up @@ -2942,9 +2942,17 @@
"type": "string"
},
"producerInstanceId": {
"description": "Immutable. An immutable identifier for the producer instance.",
"deprecated": true,
"description": "Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.",
"type": "string"
},
"producerInstanceMetadata": {
"additionalProperties": {
"type": "string"
},
"description": "Immutable. An immutable map for the producer instance metadata.",
"type": "object"
},
"project": {
"description": "The consumer project where PSC connections are allowed to be created in.",
"type": "string"
Expand Down Expand Up @@ -2994,6 +3002,7 @@
"readOnly": true
},
"errorType": {
"deprecated": true,
"description": "The error type indicates whether the error is consumer facing, producer facing or system internal.",
"enum": [
"CONNECTION_ERROR_TYPE_UNSPECIFIED",
Expand Down Expand Up @@ -3026,9 +3035,17 @@
"type": "string"
},
"producerInstanceId": {
"description": "Immutable. An immutable identifier for the producer instance.",
"deprecated": true,
"description": "Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.",
"type": "string"
},
"producerInstanceMetadata": {
"additionalProperties": {
"type": "string"
},
"description": "Immutable. An immutable map for the producer instance metadata.",
"type": "object"
},
"project": {
"description": "The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.",
"type": "string"
Expand Down Expand Up @@ -3057,7 +3074,7 @@
],
"enumDescriptions": [
"An invalid state as the default case.",
"The connection is fully established and ready to use.",
"The connection has been created successfully. However, for the up-to-date connection status, please use the service attachment's \"ConnectedEndpoint.status\" as the source of truth.",
"The connection is not functional since some resources on the connection fail to be created.",
"The connection is being created.",
"The connection is being deleted."
Expand Down Expand Up @@ -3451,7 +3468,7 @@
"type": "string"
},
"ipCidrRange": {
"description": "The IP range that this internal range defines.",
"description": "The IP range that this internal range defines. NOTE: IPv6 ranges are limited to usage=EXTERNAL_TO_VPC and peering=FOR_SELF. NOTE: For IPv6 Ranges this field is compulsory, i.e. the address range must be specified explicitly.",
"type": "string"
},
"labels": {
Expand All @@ -3461,6 +3478,10 @@
"description": "User-defined labels.",
"type": "object"
},
"migration": {
"$ref": "Migration",
"description": "Optional. Should be present if usage is set to FOR_MIGRATION."
},
"name": {
"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"
Expand Down Expand Up @@ -3503,7 +3524,7 @@
"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, there is an error if the range sizes do not 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 an IPv4 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. NOTE: For IPv6 this field only works if ip_cidr_range is set as well, and both fields must match. In other words, with IPv6 this field only works as a redundant parameter.",
"format": "int32",
"type": "integer"
},
Expand All @@ -3524,12 +3545,14 @@
"enum": [
"USAGE_UNSPECIFIED",
"FOR_VPC",
"EXTERNAL_TO_VPC"
"EXTERNAL_TO_VPC",
"FOR_MIGRATION"
],
"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 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."
"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.",
"Ranges created FOR_MIGRATION can be used to lock a CIDR range between a source and target subnet. If usage is set to FOR_MIGRATION the peering value has to be set to FOR_SELF or default to FOR_SELF when unset."
],
"type": "string"
},
Expand Down Expand Up @@ -4068,6 +4091,21 @@
},
"type": "object"
},
"Migration": {
"description": "Specification for migration with source and target resource names.",
"id": "Migration",
"properties": {
"source": {
"description": "Immutable. Resource path as an URI of the source resource, for example a subnet. The project for the source resource should match the project for the InternalRange. An example: /projects/{project}/regions/{region}/subnetworks/{subnet}",
"type": "string"
},
"target": {
"description": "Immutable. Resource path of the target resource. The target project can be different, as in the cases when migrating to peer networks. The resource For example: /projects/{project}/regions/{region}/subnetworks/{subnet}",
"type": "string"
}
},
"type": "object"
},
"NextHopInterconnectAttachment": {
"description": "A route next hop that leads to an interconnect attachment resource.",
"id": "NextHopInterconnectAttachment",
Expand Down Expand Up @@ -4367,14 +4405,15 @@
"error": {
"$ref": "GoogleRpcStatus",
"deprecated": true,
"description": "The most recent error during operating this connection."
"description": "The most recent error during operating this connection. Deprecated, please use error_info instead."
},
"errorInfo": {
"$ref": "GoogleRpcErrorInfo",
"description": "Output only. The error info for the latest error during operating this connection.",
"readOnly": true
},
"errorType": {
"deprecated": true,
"description": "The error type indicates whether the error is consumer facing, producer facing or system internal.",
"enum": [
"CONNECTION_ERROR_TYPE_UNSPECIFIED",
Expand All @@ -4395,9 +4434,17 @@
"type": "string"
},
"producerInstanceId": {
"description": "Immutable. An immutable identifier for the producer instance.",
"deprecated": true,
"description": "Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.",
"type": "string"
},
"producerInstanceMetadata": {
"additionalProperties": {
"type": "string"
},
"description": "Immutable. An immutable map for the producer instance metadata.",
"type": "object"
},
"pscConnectionId": {
"description": "The PSC connection id of the PSC forwarding rule.",
"type": "string"
Expand All @@ -4407,6 +4454,11 @@
"readOnly": true,
"type": "string"
},
"serviceClass": {
"description": "Output only. [Output only] The service class associated with this PSC Connection. The value is derived from the SCPolicy and matches the service class name provided by the customer.",
"readOnly": true,
"type": "string"
},
"state": {
"description": "State of the PSC Connection",
"enum": [
Expand All @@ -4418,7 +4470,7 @@
],
"enumDescriptions": [
"An invalid state as the default case.",
"The connection is fully established and ready to use.",
"The connection has been created successfully. However, for the up-to-date connection status, please use the created forwarding rule's \"PscConnectionStatus\" as the source of truth.",
"The connection is not functional since some resources on the connection fail to be created.",
"The connection is being created.",
"The connection is being deleted."
Expand Down Expand Up @@ -4882,7 +4934,7 @@
"id": "ServiceConnectionPolicy",
"properties": {
"createTime": {
"description": "Output only. Time when the ServiceConnectionMap was created.",
"description": "Output only. Time when the ServiceConnectionPolicy was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
Expand Down Expand Up @@ -4940,7 +4992,7 @@
"type": "string"
},
"updateTime": {
"description": "Output only. Time when the ServiceConnectionMap was updated.",
"description": "Output only. Time when the ServiceConnectionPolicy was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
Expand Down
Loading

0 comments on commit 65d7953

Please sign in to comment.