Skip to content

Commit 384db7d

Browse files
feat: Automated regeneration of NetworkConnectivity client (googleapis#12360)
Auto-created at 2024-10-18 13:16:06 +0000 using the toys pull request generator.
1 parent 1bb4d93 commit 384db7d

File tree

7 files changed

+13
-4
lines changed

7 files changed

+13
-4
lines changed

clients/network_connectivity/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_network_connectivity, "~> 0.9"}]
14+
[{:google_api_network_connectivity, "~> 0.10"}]
1515
end
1616
```
1717

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 "20240923"
23+
@discovery_revision "20241009"
2424

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

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.ConsumerPscConfig do
2323
2424
* `consumerInstanceProject` (*type:* `String.t`, *default:* `nil`) - Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who's created a producer instance, this is the project of the producer instance. Format: 'projects/' Eg. 'projects/consumer-project' or 'projects/1234'
2525
* `disableGlobalAccess` (*type:* `boolean()`, *default:* `nil`) - This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
26+
* `ipVersion` (*type:* `String.t`, *default:* `nil`) - The requested IP version for the PSC connection.
2627
* `network` (*type:* `String.t`, *default:* `nil`) - The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
2728
* `producerInstanceId` (*type:* `String.t`, *default:* `nil`) - Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.
2829
* `producerInstanceMetadata` (*type:* `map()`, *default:* `nil`) - Immutable. An immutable map for the producer instance metadata.
@@ -36,6 +37,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.ConsumerPscConfig do
3637
@type t :: %__MODULE__{
3738
:consumerInstanceProject => String.t() | nil,
3839
:disableGlobalAccess => boolean() | nil,
40+
:ipVersion => String.t() | nil,
3941
:network => String.t() | nil,
4042
:producerInstanceId => String.t() | nil,
4143
:producerInstanceMetadata => map() | nil,
@@ -46,6 +48,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.ConsumerPscConfig do
4648

4749
field(:consumerInstanceProject)
4850
field(:disableGlobalAccess)
51+
field(:ipVersion)
4952
field(:network)
5053
field(:producerInstanceId)
5154
field(:producerInstanceMetadata, type: :map)

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.ConsumerPscConnection do
2727
* `forwardingRule` (*type:* `String.t`, *default:* `nil`) - The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.
2828
* `gceOperation` (*type:* `String.t`, *default:* `nil`) - The last Compute Engine operation to setup PSC connection.
2929
* `ip` (*type:* `String.t`, *default:* `nil`) - The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.
30+
* `ipVersion` (*type:* `String.t`, *default:* `nil`) - The requested IP version for the PSC connection.
3031
* `network` (*type:* `String.t`, *default:* `nil`) - The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).
3132
* `producerInstanceId` (*type:* `String.t`, *default:* `nil`) - Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.
3233
* `producerInstanceMetadata` (*type:* `map()`, *default:* `nil`) - Immutable. An immutable map for the producer instance metadata.
@@ -46,6 +47,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.ConsumerPscConnection do
4647
:forwardingRule => String.t() | nil,
4748
:gceOperation => String.t() | nil,
4849
:ip => String.t() | nil,
50+
:ipVersion => String.t() | nil,
4951
:network => String.t() | nil,
5052
:producerInstanceId => String.t() | nil,
5153
:producerInstanceMetadata => map() | nil,
@@ -62,6 +64,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.ConsumerPscConnection do
6264
field(:forwardingRule)
6365
field(:gceOperation)
6466
field(:ip)
67+
field(:ipVersion)
6568
field(:network)
6669
field(:producerInstanceId)
6770
field(:producerInstanceMetadata, type: :map)

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
@@ -25,7 +25,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.InternalRange do
2525
* `description` (*type:* `String.t`, *default:* `nil`) - A description of this resource.
2626
* `ipCidrRange` (*type:* `String.t`, *default:* `nil`) - 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.
2727
* `labels` (*type:* `map()`, *default:* `nil`) - User-defined labels.
28-
* `migration` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.Migration.t`, *default:* `nil`) - Optional. Should be present if usage is set to FOR_MIGRATION.
28+
* `migration` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.Migration.t`, *default:* `nil`) - Optional. Must be present if usage is set to FOR_MIGRATION. This field is for internal use.
2929
* `name` (*type:* `String.t`, *default:* `nil`) - 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
3030
* `network` (*type:* `String.t`, *default:* `nil`) - 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. For example: https://www.googleapis.com/compute/v1/projects/{project}/locations/global/networks/{network} projects/{project}/locations/global/networks/{network} {network}
3131
* `overlaps` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Types of resources that are allowed to overlap with the current internal range.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.PscConnection do
2828
* `errorInfo` (*type:* `GoogleApi.NetworkConnectivity.V1.Model.GoogleRpcErrorInfo.t`, *default:* `nil`) - Output only. The error info for the latest error during operating this connection.
2929
* `errorType` (*type:* `String.t`, *default:* `nil`) - The error type indicates whether the error is consumer facing, producer facing or system internal.
3030
* `gceOperation` (*type:* `String.t`, *default:* `nil`) - The last Compute Engine operation to setup PSC connection.
31+
* `ipVersion` (*type:* `String.t`, *default:* `nil`) - The requested IP version for the PSC connection.
3132
* `producerInstanceId` (*type:* `String.t`, *default:* `nil`) - Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.
3233
* `producerInstanceMetadata` (*type:* `map()`, *default:* `nil`) - Immutable. An immutable map for the producer instance metadata.
3334
* `pscConnectionId` (*type:* `String.t`, *default:* `nil`) - The PSC connection id of the PSC forwarding rule.
@@ -46,6 +47,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.PscConnection do
4647
:errorInfo => GoogleApi.NetworkConnectivity.V1.Model.GoogleRpcErrorInfo.t() | nil,
4748
:errorType => String.t() | nil,
4849
:gceOperation => String.t() | nil,
50+
:ipVersion => String.t() | nil,
4951
:producerInstanceId => String.t() | nil,
5052
:producerInstanceMetadata => map() | nil,
5153
:pscConnectionId => String.t() | nil,
@@ -61,6 +63,7 @@ defmodule GoogleApi.NetworkConnectivity.V1.Model.PscConnection do
6163
field(:errorInfo, as: GoogleApi.NetworkConnectivity.V1.Model.GoogleRpcErrorInfo)
6264
field(:errorType)
6365
field(:gceOperation)
66+
field(:ipVersion)
6467
field(:producerInstanceId)
6568
field(:producerInstanceMetadata, type: :map)
6669
field(:pscConnectionId)

clients/network_connectivity/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.NetworkConnectivity.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.9.0"
21+
@version "0.10.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)