Skip to content

Commit a197341

Browse files
feat: Automated regeneration of NetworkConnectivity client (googleapis#12783)
Auto-created at 2025-01-08 13:13:28 +0000 using the toys pull request generator.
1 parent 70353b4 commit a197341

File tree

11 files changed

+22
-22
lines changed

11 files changed

+22
-22
lines changed

clients/network_connectivity/lib/google_api/network_connectivity/v1/api/projects.ex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Api.Projects do
784784
end
785785

786786
@doc """
787-
Query PSC propagation status the status of a Network Connectivity Center hub.
787+
Query the Private Service Connect propagation status of a Network Connectivity Center hub.
788788
789789
## Parameters
790790
@@ -802,9 +802,9 @@ defmodule GoogleApi.NetworkConnectivity.V1.Api.Projects do
802802
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
803803
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
804804
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
805-
* `:filter` (*type:* `String.t`) - Optional. An expression that filters the list of results. The filter can be used to filter the results by the following fields: * psc_propagation_status.source_spoke * psc_propagation_status.source_group * psc_propagation_status.source_forwarding_rule * psc_propagation_status.target_spoke * psc_propagation_status.target_group * psc_propagation_status.code * psc_propagation_status.message
806-
* `:groupBy` (*type:* `String.t`) - Optional. A field that counts are grouped by. A comma-separated list of any of these fields: * psc_propagation_status.source_spoke * psc_propagation_status.source_group * psc_propagation_status.source_forwarding_rule * psc_propagation_status.target_spoke * psc_propagation_status.target_group * psc_propagation_status.code
807-
* `:orderBy` (*type:* `String.t`) - Optional. Sort the results in the ascending order by specific fields returned in the response. A comma-separated list of any of these fields: * psc_propagation_status.source_spoke * psc_propagation_status.source_group * psc_propagation_status.source_forwarding_rule * psc_propagation_status.target_spoke * psc_propagation_status.target_group * psc_propagation_status.code If `group_by` is set, the value of the `order_by` field must be the same as or a subset of the `group_by` field.
805+
* `:filter` (*type:* `String.t`) - Optional. An expression that filters the list of results. The filter can be used to filter the results by the following fields: * `psc_propagation_status.source_spoke` * `psc_propagation_status.source_group` * `psc_propagation_status.source_forwarding_rule` * `psc_propagation_status.target_spoke` * `psc_propagation_status.target_group` * `psc_propagation_status.code` * `psc_propagation_status.message`
806+
* `:groupBy` (*type:* `String.t`) - Optional. Aggregate the results by the specified fields. A comma-separated list of any of these fields: * `psc_propagation_status.source_spoke` * `psc_propagation_status.source_group` * `psc_propagation_status.source_forwarding_rule` * `psc_propagation_status.target_spoke` * `psc_propagation_status.target_group` * `psc_propagation_status.code`
807+
* `:orderBy` (*type:* `String.t`) - Optional. Sort the results in ascending order by the specified fields. A comma-separated list of any of these fields: * `psc_propagation_status.source_spoke` * `psc_propagation_status.source_group` * `psc_propagation_status.source_forwarding_rule` * `psc_propagation_status.target_spoke` * `psc_propagation_status.target_group` * `psc_propagation_status.code` If `group_by` is set, the value of the `order_by` field must be the same as or a subset of the `group_by` field.
808808
* `:pageSize` (*type:* `integer()`) - Optional. The maximum number of results to return per page.
809809
* `:pageToken` (*type:* `String.t`) - Optional. The page token.
810810
* `opts` (*type:* `keyword()`) - Call options
@@ -2734,7 +2734,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Api.Projects do
27342734
end
27352735

27362736
@doc """
2737-
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
2737+
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
27382738
27392739
## Parameters
27402740

clients/network_connectivity/lib/google_api/network_connectivity/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.NetworkConnectivity.V1 do
2020
API client metadata for GoogleApi.NetworkConnectivity.V1.
2121
"""
2222

23-
@discovery_revision "20241112"
23+
@discovery_revision "20250101"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/network_connectivity/lib/google_api/network_connectivity/v1/model/auto_accept.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.AutoAccept do
2121
2222
## Attributes
2323
24-
* `autoAcceptProjects` (*type:* `list(String.t)`, *default:* `nil`) - A list of project ids or project numbers for which you want to enable auto-accept. The auto-accept setting is applied to spokes being created or updated in these projects.
24+
* `autoAcceptProjects` (*type:* `list(String.t)`, *default:* `nil`) - Optional. A list of project ids or project numbers for which you want to enable auto-accept. The auto-accept setting is applied to spokes being created or updated in these projects.
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

clients/network_connectivity/lib/google_api/network_connectivity/v1/model/google_rpc_error_info.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.GoogleRpcErrorInfo do
2222
## Attributes
2323
2424
* `domain` (*type:* `String.t`, *default:* `nil`) - The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
25-
* `metadata` (*type:* `map()`, *default:* `nil`) - Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
25+
* `metadata` (*type:* `map()`, *default:* `nil`) - Additional structured details about this error. Keys must match a regular expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than `{"instanceLimit": "100/request"}`, should be returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of instances that can be created in a single (batch) request.
2626
* `reason` (*type:* `String.t`, *default:* `nil`) - The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
2727
"""
2828

clients/network_connectivity/lib/google_api/network_connectivity/v1/model/hub.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.Hub do
2222
## Attributes
2323
2424
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the hub was created.
25-
* `description` (*type:* `String.t`, *default:* `nil`) - An optional description of the hub.
25+
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. An optional description of the hub.
2626
* `exportPsc` (*type:* `boolean()`, *default:* `nil`) - Optional. Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
2727
* `labels` (*type:* `map()`, *default:* `nil`) - Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
2828
* `name` (*type:* `String.t`, *default:* `nil`) - Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`

clients/network_connectivity/lib/google_api/network_connectivity/v1/model/hub_status_entry.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
defmodule GoogleApi.NetworkConnectivity.V1.Model.HubStatusEntry do
1919
@moduledoc """
20-
The hub status entry.
20+
A hub status entry represents the status of a set of propagated Private Service Connect connections grouped by certain fields.
2121
2222
## Attributes
2323
24-
* `count` (*type:* `integer()`, *default:* `nil`) - The number of status. If group_by is not set in the request, the default is 1.
25-
* `groupBy` (*type:* `String.t`, *default:* `nil`) - The same group_by field from the request.
26-
* `pscPropagationStatus` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.PscPropagationStatus.t`, *default:* `nil`) - The PSC propagation status.
24+
* `count` (*type:* `integer()`, *default:* `nil`) - The number of propagated Private Service Connect connections with this status. If the `group_by` field was not set in the request message, the value of this field is 1.
25+
* `groupBy` (*type:* `String.t`, *default:* `nil`) - The fields that this entry is grouped by. This has the same value as the `group_by` field in the request message.
26+
* `pscPropagationStatus` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.PscPropagationStatus.t`, *default:* `nil`) - The Private Service Connect propagation status.
2727
"""
2828

2929
use GoogleApi.Gax.ModelBase

clients/network_connectivity/lib/google_api/network_connectivity/v1/model/internal_range.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.NetworkConnectivity.V1.Model.InternalRange do
1919
@moduledoc """
20-
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.
20+
The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.
2121
2222
## Attributes
2323

clients/network_connectivity/lib/google_api/network_connectivity/v1/model/psc_propagation_status.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
defmodule GoogleApi.NetworkConnectivity.V1.Model.PscPropagationStatus do
1919
@moduledoc """
20-
The PSC propagation status in a hub.
20+
The status of one or more propagated Private Service Connect connections in a hub.
2121
2222
## Attributes
2323
2424
* `code` (*type:* `String.t`, *default:* `nil`) - The propagation status.
25-
* `message` (*type:* `String.t`, *default:* `nil`) - The human-readable summary of the PSC connection propagation status.
25+
* `message` (*type:* `String.t`, *default:* `nil`) - The human-readable summary of the Private Service Connect connection propagation status.
2626
* `sourceForwardingRule` (*type:* `String.t`, *default:* `nil`) - The name of the forwarding rule exported to the hub.
2727
* `sourceGroup` (*type:* `String.t`, *default:* `nil`) - The name of the group that the source spoke belongs to.
2828
* `sourceSpoke` (*type:* `String.t`, *default:* `nil`) - The name of the spoke that the source forwarding rule belongs to.

clients/network_connectivity/lib/google_api/network_connectivity/v1/model/service_connection_map.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.ServiceConnectionMap do
3232
* `producerPscConfigs` (*type:* `list(GoogleApi.NetworkConnectivity.V1.Model.ProducerPscConfig.t)`, *default:* `nil`) - The PSC configurations on producer side.
3333
* `serviceClass` (*type:* `String.t`, *default:* `nil`) - The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.
3434
* `serviceClassUri` (*type:* `String.t`, *default:* `nil`) - Output only. The service class uri this ServiceConnectionMap is for.
35-
* `token` (*type:* `String.t`, *default:* `nil`) - The token provided by the consumer. This token authenticates that the consumer can create a connecton within the specified project and network.
35+
* `token` (*type:* `String.t`, *default:* `nil`) - The token provided by the consumer. This token authenticates that the consumer can create a connection within the specified project and network.
3636
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Time when the ServiceConnectionMap was updated.
3737
"""
3838

clients/network_connectivity/lib/google_api/network_connectivity/v1/model/spoke.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.Spoke do
2222
## Attributes
2323
2424
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the spoke was created.
25-
* `description` (*type:* `String.t`, *default:* `nil`) - An optional description of the spoke.
25+
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. An optional description of the spoke.
2626
* `group` (*type:* `String.t`, *default:* `nil`) - Optional. The name of the group that this spoke is associated with.
2727
* `hub` (*type:* `String.t`, *default:* `nil`) - Immutable. The name of the hub that this spoke is attached to.
2828
* `labels` (*type:* `map()`, *default:* `nil`) - Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
29-
* `linkedInterconnectAttachments` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedInterconnectAttachments.t`, *default:* `nil`) - VLAN attachments that are associated with the spoke.
29+
* `linkedInterconnectAttachments` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedInterconnectAttachments.t`, *default:* `nil`) - Optional. VLAN attachments that are associated with the spoke.
3030
* `linkedProducerVpcNetwork` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedProducerVpcNetwork.t`, *default:* `nil`) - Optional. The linked producer VPC that is associated with the spoke.
31-
* `linkedRouterApplianceInstances` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedRouterApplianceInstances.t`, *default:* `nil`) - Router appliance instances that are associated with the spoke.
31+
* `linkedRouterApplianceInstances` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedRouterApplianceInstances.t`, *default:* `nil`) - Optional. Router appliance instances that are associated with the spoke.
3232
* `linkedVpcNetwork` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedVpcNetwork.t`, *default:* `nil`) - Optional. VPC network that is associated with the spoke.
33-
* `linkedVpnTunnels` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedVpnTunnels.t`, *default:* `nil`) - VPN tunnels that are associated with the spoke.
33+
* `linkedVpnTunnels` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedVpnTunnels.t`, *default:* `nil`) - Optional. VPN tunnels that are associated with the spoke.
3434
* `name` (*type:* `String.t`, *default:* `nil`) - Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
3535
* `reasons` (*type:* `list(GoogleApi.NetworkConnectivity.V1.Model.StateReason.t)`, *default:* `nil`) - Output only. The reasons for current state of the spoke.
3636
* `spokeType` (*type:* `String.t`, *default:* `nil`) - Output only. The type of resource associated with the spoke.

0 commit comments

Comments
 (0)