Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of NetworkConnectivity client #12783

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Api.Projects do
end

@doc """
Query PSC propagation status the status of a Network Connectivity Center hub.
Query the Private Service Connect propagation status of a Network Connectivity Center hub.

## Parameters

Expand All @@ -802,9 +802,9 @@ defmodule GoogleApi.NetworkConnectivity.V1.Api.Projects do
* `: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.
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
* `: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
* `: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
* `: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.
* `: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`
* `: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`
* `: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.
* `:pageSize` (*type:* `integer()`) - Optional. The maximum number of results to return per page.
* `:pageToken` (*type:* `String.t`) - Optional. The page token.
* `opts` (*type:* `keyword()`) - Call options
Expand Down Expand Up @@ -2734,7 +2734,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Api.Projects do
end

@doc """
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`.
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`.

## Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.NetworkConnectivity.V1 do
API client metadata for GoogleApi.NetworkConnectivity.V1.
"""

@discovery_revision "20241112"
@discovery_revision "20250101"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.AutoAccept do

## Attributes

* `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.
* `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.
"""

use GoogleApi.Gax.ModelBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.GoogleRpcErrorInfo do
## Attributes

* `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".
* `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.
* `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.
* `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.
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.Hub do
## Attributes

* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the hub was created.
* `description` (*type:* `String.t`, *default:* `nil`) - An optional description of the hub.
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. An optional description of the hub.
* `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.
* `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).
* `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}`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

defmodule GoogleApi.NetworkConnectivity.V1.Model.HubStatusEntry do
@moduledoc """
The hub status entry.
A hub status entry represents the status of a set of propagated Private Service Connect connections grouped by certain fields.

## Attributes

* `count` (*type:* `integer()`, *default:* `nil`) - The number of status. If group_by is not set in the request, the default is 1.
* `groupBy` (*type:* `String.t`, *default:* `nil`) - The same group_by field from the request.
* `pscPropagationStatus` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.PscPropagationStatus.t`, *default:* `nil`) - The PSC propagation status.
* `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.
* `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.
* `pscPropagationStatus` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.PscPropagationStatus.t`, *default:* `nil`) - The Private Service Connect propagation status.
"""

use GoogleApi.Gax.ModelBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.NetworkConnectivity.V1.Model.InternalRange do
@moduledoc """
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.
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.

## Attributes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

defmodule GoogleApi.NetworkConnectivity.V1.Model.PscPropagationStatus do
@moduledoc """
The PSC propagation status in a hub.
The status of one or more propagated Private Service Connect connections in a hub.

## Attributes

* `code` (*type:* `String.t`, *default:* `nil`) - The propagation status.
* `message` (*type:* `String.t`, *default:* `nil`) - The human-readable summary of the PSC connection propagation status.
* `message` (*type:* `String.t`, *default:* `nil`) - The human-readable summary of the Private Service Connect connection propagation status.
* `sourceForwardingRule` (*type:* `String.t`, *default:* `nil`) - The name of the forwarding rule exported to the hub.
* `sourceGroup` (*type:* `String.t`, *default:* `nil`) - The name of the group that the source spoke belongs to.
* `sourceSpoke` (*type:* `String.t`, *default:* `nil`) - The name of the spoke that the source forwarding rule belongs to.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.ServiceConnectionMap do
* `producerPscConfigs` (*type:* `list(GoogleApi.NetworkConnectivity.V1.Model.ProducerPscConfig.t)`, *default:* `nil`) - The PSC configurations on producer side.
* `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.
* `serviceClassUri` (*type:* `String.t`, *default:* `nil`) - Output only. The service class uri this ServiceConnectionMap is for.
* `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.
* `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.
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Time when the ServiceConnectionMap was updated.
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.Spoke do
## Attributes

* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the spoke was created.
* `description` (*type:* `String.t`, *default:* `nil`) - An optional description of the spoke.
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. An optional description of the spoke.
* `group` (*type:* `String.t`, *default:* `nil`) - Optional. The name of the group that this spoke is associated with.
* `hub` (*type:* `String.t`, *default:* `nil`) - Immutable. The name of the hub that this spoke is attached to.
* `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).
* `linkedInterconnectAttachments` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedInterconnectAttachments.t`, *default:* `nil`) - VLAN attachments that are associated with the spoke.
* `linkedInterconnectAttachments` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedInterconnectAttachments.t`, *default:* `nil`) - Optional. VLAN attachments that are associated with the spoke.
* `linkedProducerVpcNetwork` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedProducerVpcNetwork.t`, *default:* `nil`) - Optional. The linked producer VPC that is associated with the spoke.
* `linkedRouterApplianceInstances` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedRouterApplianceInstances.t`, *default:* `nil`) - Router appliance instances that are associated with the spoke.
* `linkedRouterApplianceInstances` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedRouterApplianceInstances.t`, *default:* `nil`) - Optional. Router appliance instances that are associated with the spoke.
* `linkedVpcNetwork` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedVpcNetwork.t`, *default:* `nil`) - Optional. VPC network that is associated with the spoke.
* `linkedVpnTunnels` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedVpnTunnels.t`, *default:* `nil`) - VPN tunnels that are associated with the spoke.
* `linkedVpnTunnels` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.LinkedVpnTunnels.t`, *default:* `nil`) - Optional. VPN tunnels that are associated with the spoke.
* `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}`
* `reasons` (*type:* `list(GoogleApi.NetworkConnectivity.V1.Model.StateReason.t)`, *default:* `nil`) - Output only. The reasons for current state of the spoke.
* `spokeType` (*type:* `String.t`, *default:* `nil`) - Output only. The type of resource associated with the spoke.
Expand Down
2 changes: 1 addition & 1 deletion clients/network_connectivity/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.NetworkConnectivity.Mixfile do
use Mix.Project

@version "0.11.1"
@version "0.11.2"

def project() do
[
Expand Down
Loading