diff --git a/clients/redis/README.md b/clients/redis/README.md index 9cffc9d9db..8f18e65dba 100644 --- a/clients/redis/README.md +++ b/clients/redis/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_redis, "~> 0.49"}] + [{:google_api_redis, "~> 0.50"}] end ``` diff --git a/clients/redis/lib/google_api/redis/v1/api/projects.ex b/clients/redis/lib/google_api/redis/v1/api/projects.ex index 7d3e75933e..147ae858b3 100644 --- a/clients/redis/lib/google_api/redis/v1/api/projects.ex +++ b/clients/redis/lib/google_api/redis/v1/api/projects.ex @@ -586,7 +586,7 @@ defmodule GoogleApi.Redis.V1.Api.Projects do end @doc """ - Backup Redis Cluster. If this is the first time a backup is being created, a backup collection will be created at the backend, and this backup belongs to this collection. Both collection and backup will have a resource name. Backup will be executed for each shard. A replica (primary if nonHA) will be selected to perform the execution. Backup call will be rejected if there is an ongoing backup or update operation. + Backup Redis Cluster. If this is the first time a backup is being created, a backup collection will be created at the backend, and this backup belongs to this collection. Both collection and backup will have a resource name. Backup will be executed for each shard. A replica (primary if nonHA) will be selected to perform the execution. Backup call will be rejected if there is an ongoing backup or update operation. Be aware that during preview, if the cluster's internal software version is too old, critical update will be performed before actual backup. Once the internal software version is updated to the minimum version required by the backup feature, subsequent backups will not require critical update. After preview, there will be no critical update needed for backup. ## Parameters diff --git a/clients/redis/lib/google_api/redis/v1/metadata.ex b/clients/redis/lib/google_api/redis/v1/metadata.ex index 4c1423ed1e..6b555f0b65 100644 --- a/clients/redis/lib/google_api/redis/v1/metadata.ex +++ b/clients/redis/lib/google_api/redis/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Redis.V1 do API client metadata for GoogleApi.Redis.V1. """ - @discovery_revision "20241114" + @discovery_revision "20241203" def discovery_revision(), do: @discovery_revision end diff --git a/clients/redis/lib/google_api/redis/v1/model/automated_backup_config.ex b/clients/redis/lib/google_api/redis/v1/model/automated_backup_config.ex index d45fd53456..5941bcc303 100644 --- a/clients/redis/lib/google_api/redis/v1/model/automated_backup_config.ex +++ b/clients/redis/lib/google_api/redis/v1/model/automated_backup_config.ex @@ -23,7 +23,7 @@ defmodule GoogleApi.Redis.V1.Model.AutomatedBackupConfig do * `automatedBackupMode` (*type:* `String.t`, *default:* `nil`) - Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored. * `fixedFrequencySchedule` (*type:* `GoogleApi.Redis.V1.Model.FixedFrequencySchedule.t`, *default:* `nil`) - Optional. Trigger automated backups at a fixed frequency. - * `retention` (*type:* `String.t`, *default:* `nil`) - Optional. How long to keep automated backups before the backups are deleted. If not specified, the default value is 100 years which is also the maximum value supported. The minimum value is 1 day. + * `retention` (*type:* `String.t`, *default:* `nil`) - Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days. """ use GoogleApi.Gax.ModelBase diff --git a/clients/redis/lib/google_api/redis/v1/model/backup.ex b/clients/redis/lib/google_api/redis/v1/model/backup.ex index 2d4c68b8b3..ddcc35c9bd 100644 --- a/clients/redis/lib/google_api/redis/v1/model/backup.ex +++ b/clients/redis/lib/google_api/redis/v1/model/backup.ex @@ -34,6 +34,7 @@ defmodule GoogleApi.Redis.V1.Model.Backup do * `shardCount` (*type:* `integer()`, *default:* `nil`) - Output only. Number of shards for the cluster. * `state` (*type:* `String.t`, *default:* `nil`) - Output only. State of the backup. * `totalSizeBytes` (*type:* `String.t`, *default:* `nil`) - Output only. Total size of the backup in bytes. + * `uid` (*type:* `String.t`, *default:* `nil`) - Output only. System assigned unique identifier of the backup. """ use GoogleApi.Gax.ModelBase @@ -51,7 +52,8 @@ defmodule GoogleApi.Redis.V1.Model.Backup do :replicaCount => integer() | nil, :shardCount => integer() | nil, :state => String.t() | nil, - :totalSizeBytes => String.t() | nil + :totalSizeBytes => String.t() | nil, + :uid => String.t() | nil } field(:backupFiles, as: GoogleApi.Redis.V1.Model.BackupFile, type: :list) @@ -67,6 +69,7 @@ defmodule GoogleApi.Redis.V1.Model.Backup do field(:shardCount) field(:state) field(:totalSizeBytes) + field(:uid) end defimpl Poison.Decoder, for: GoogleApi.Redis.V1.Model.Backup do diff --git a/clients/redis/lib/google_api/redis/v1/model/backup_collection.ex b/clients/redis/lib/google_api/redis/v1/model/backup_collection.ex index 1efe338fd9..2523d97650 100644 --- a/clients/redis/lib/google_api/redis/v1/model/backup_collection.ex +++ b/clients/redis/lib/google_api/redis/v1/model/backup_collection.ex @@ -24,6 +24,7 @@ defmodule GoogleApi.Redis.V1.Model.BackupCollection do * `cluster` (*type:* `String.t`, *default:* `nil`) - Output only. The full resource path of the cluster the backup collection belongs to. Example: projects/{project}/locations/{location}/clusters/{cluster} * `clusterUid` (*type:* `String.t`, *default:* `nil`) - Output only. The cluster uid of the backup collection. * `name` (*type:* `String.t`, *default:* `nil`) - Identifier. Full resource path of the backup collection. + * `uid` (*type:* `String.t`, *default:* `nil`) - Output only. System assigned unique identifier of the backup collection. """ use GoogleApi.Gax.ModelBase @@ -31,12 +32,14 @@ defmodule GoogleApi.Redis.V1.Model.BackupCollection do @type t :: %__MODULE__{ :cluster => String.t() | nil, :clusterUid => String.t() | nil, - :name => String.t() | nil + :name => String.t() | nil, + :uid => String.t() | nil } field(:cluster) field(:clusterUid) field(:name) + field(:uid) end defimpl Poison.Decoder, for: GoogleApi.Redis.V1.Model.BackupCollection do diff --git a/clients/redis/lib/google_api/redis/v1/model/connection_detail.ex b/clients/redis/lib/google_api/redis/v1/model/connection_detail.ex index 082c674acc..1b368077e3 100644 --- a/clients/redis/lib/google_api/redis/v1/model/connection_detail.ex +++ b/clients/redis/lib/google_api/redis/v1/model/connection_detail.ex @@ -21,15 +21,18 @@ defmodule GoogleApi.Redis.V1.Model.ConnectionDetail do ## Attributes + * `pscAutoConnection` (*type:* `GoogleApi.Redis.V1.Model.PscAutoConnection.t`, *default:* `nil`) - Detailed information of a PSC connection that is created through service connectivity automation. * `pscConnection` (*type:* `GoogleApi.Redis.V1.Model.PscConnection.t`, *default:* `nil`) - Detailed information of a PSC connection that is created by the customer who owns the cluster. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :pscAutoConnection => GoogleApi.Redis.V1.Model.PscAutoConnection.t() | nil, :pscConnection => GoogleApi.Redis.V1.Model.PscConnection.t() | nil } + field(:pscAutoConnection, as: GoogleApi.Redis.V1.Model.PscAutoConnection) field(:pscConnection, as: GoogleApi.Redis.V1.Model.PscConnection) end diff --git a/clients/redis/lib/google_api/redis/v1/model/fixed_frequency_schedule.ex b/clients/redis/lib/google_api/redis/v1/model/fixed_frequency_schedule.ex index ce2cc0b904..b33dc64082 100644 --- a/clients/redis/lib/google_api/redis/v1/model/fixed_frequency_schedule.ex +++ b/clients/redis/lib/google_api/redis/v1/model/fixed_frequency_schedule.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.Redis.V1.Model.FixedFrequencySchedule do ## Attributes - * `startTime` (*type:* `GoogleApi.Redis.V1.Model.TimeOfDay.t`, *default:* `nil`) - Optional. The start time of every automated backup in UTC. It must be set to the start of an hour. If not specified, the default value is the start of the hour when the automated backup config is enabled. For example, if the automated backup config is enabled at 10:13 AM UTC without specifying start_time, the default start time is 10:00 AM UTC. + * `startTime` (*type:* `GoogleApi.Redis.V1.Model.TimeOfDay.t`, *default:* `nil`) - Required. The start time of every automated backup in UTC. It must be set to the start of an hour. This field is required. """ use GoogleApi.Gax.ModelBase diff --git a/clients/redis/lib/google_api/redis/v1/model/psc_auto_connection.ex b/clients/redis/lib/google_api/redis/v1/model/psc_auto_connection.ex new file mode 100644 index 0000000000..cf908839f7 --- /dev/null +++ b/clients/redis/lib/google_api/redis/v1/model/psc_auto_connection.ex @@ -0,0 +1,67 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.Redis.V1.Model.PscAutoConnection do + @moduledoc """ + Details of consumer resources in a PSC connection that is created through Service Connectivity Automation. + + ## Attributes + + * `address` (*type:* `String.t`, *default:* `nil`) - Output only. The IP allocated on the consumer network for the PSC forwarding rule. + * `connectionType` (*type:* `String.t`, *default:* `nil`) - Output only. Type of the PSC connection. + * `forwardingRule` (*type:* `String.t`, *default:* `nil`) - Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}. + * `network` (*type:* `String.t`, *default:* `nil`) - Required. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}. + * `projectId` (*type:* `String.t`, *default:* `nil`) - Required. The consumer project_id where the forwarding rule is created from. + * `pscConnectionId` (*type:* `String.t`, *default:* `nil`) - Output only. The PSC connection id of the forwarding rule connected to the service attachment. + * `pscConnectionStatus` (*type:* `String.t`, *default:* `nil`) - Output only. The status of the PSC connection. Please note that this value is updated periodically. Please use Private Service Connect APIs for the latest status. + * `serviceAttachment` (*type:* `String.t`, *default:* `nil`) - Output only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :address => String.t() | nil, + :connectionType => String.t() | nil, + :forwardingRule => String.t() | nil, + :network => String.t() | nil, + :projectId => String.t() | nil, + :pscConnectionId => String.t() | nil, + :pscConnectionStatus => String.t() | nil, + :serviceAttachment => String.t() | nil + } + + field(:address) + field(:connectionType) + field(:forwardingRule) + field(:network) + field(:projectId) + field(:pscConnectionId) + field(:pscConnectionStatus) + field(:serviceAttachment) +end + +defimpl Poison.Decoder, for: GoogleApi.Redis.V1.Model.PscAutoConnection do + def decode(value, options) do + GoogleApi.Redis.V1.Model.PscAutoConnection.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.Redis.V1.Model.PscAutoConnection do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/redis/lib/google_api/redis/v1beta1/api/projects.ex b/clients/redis/lib/google_api/redis/v1beta1/api/projects.ex index 42cdcc78f2..c3752d1e52 100644 --- a/clients/redis/lib/google_api/redis/v1beta1/api/projects.ex +++ b/clients/redis/lib/google_api/redis/v1beta1/api/projects.ex @@ -586,7 +586,7 @@ defmodule GoogleApi.Redis.V1beta1.Api.Projects do end @doc """ - Backup Redis Cluster. If this is the first time a backup is being created, a backup collection will be created at the backend, and this backup belongs to this collection. Both collection and backup will have a resource name. Backup will be executed for each shard. A replica (primary if nonHA) will be selected to perform the execution. Backup call will be rejected if there is an ongoing backup or update operation. + Backup Redis Cluster. If this is the first time a backup is being created, a backup collection will be created at the backend, and this backup belongs to this collection. Both collection and backup will have a resource name. Backup will be executed for each shard. A replica (primary if nonHA) will be selected to perform the execution. Backup call will be rejected if there is an ongoing backup or update operation. Be aware that during preview, if the cluster's internal software version is too old, critical update will be performed before actual backup. Once the internal software version is updated to the minimum version required by the backup feature, subsequent backups will not require critical update. After preview, there will be no critical update needed for backup. ## Parameters diff --git a/clients/redis/lib/google_api/redis/v1beta1/metadata.ex b/clients/redis/lib/google_api/redis/v1beta1/metadata.ex index 7e445aaf43..6c802f7385 100644 --- a/clients/redis/lib/google_api/redis/v1beta1/metadata.ex +++ b/clients/redis/lib/google_api/redis/v1beta1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Redis.V1beta1 do API client metadata for GoogleApi.Redis.V1beta1. """ - @discovery_revision "20241114" + @discovery_revision "20241203" def discovery_revision(), do: @discovery_revision end diff --git a/clients/redis/lib/google_api/redis/v1beta1/model/automated_backup_config.ex b/clients/redis/lib/google_api/redis/v1beta1/model/automated_backup_config.ex index 7784d9fe9a..36a94965f7 100644 --- a/clients/redis/lib/google_api/redis/v1beta1/model/automated_backup_config.ex +++ b/clients/redis/lib/google_api/redis/v1beta1/model/automated_backup_config.ex @@ -23,7 +23,7 @@ defmodule GoogleApi.Redis.V1beta1.Model.AutomatedBackupConfig do * `automatedBackupMode` (*type:* `String.t`, *default:* `nil`) - Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored. * `fixedFrequencySchedule` (*type:* `GoogleApi.Redis.V1beta1.Model.FixedFrequencySchedule.t`, *default:* `nil`) - Optional. Trigger automated backups at a fixed frequency. - * `retention` (*type:* `String.t`, *default:* `nil`) - Optional. How long to keep automated backups before the backups are deleted. If not specified, the default value is 100 years which is also the maximum value supported. The minimum value is 1 day. + * `retention` (*type:* `String.t`, *default:* `nil`) - Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days. """ use GoogleApi.Gax.ModelBase diff --git a/clients/redis/lib/google_api/redis/v1beta1/model/backup.ex b/clients/redis/lib/google_api/redis/v1beta1/model/backup.ex index f7351611c5..4c18ad02c1 100644 --- a/clients/redis/lib/google_api/redis/v1beta1/model/backup.ex +++ b/clients/redis/lib/google_api/redis/v1beta1/model/backup.ex @@ -34,6 +34,7 @@ defmodule GoogleApi.Redis.V1beta1.Model.Backup do * `shardCount` (*type:* `integer()`, *default:* `nil`) - Output only. Number of shards for the cluster. * `state` (*type:* `String.t`, *default:* `nil`) - Output only. State of the backup. * `totalSizeBytes` (*type:* `String.t`, *default:* `nil`) - Output only. Total size of the backup in bytes. + * `uid` (*type:* `String.t`, *default:* `nil`) - Output only. System assigned unique identifier of the backup. """ use GoogleApi.Gax.ModelBase @@ -51,7 +52,8 @@ defmodule GoogleApi.Redis.V1beta1.Model.Backup do :replicaCount => integer() | nil, :shardCount => integer() | nil, :state => String.t() | nil, - :totalSizeBytes => String.t() | nil + :totalSizeBytes => String.t() | nil, + :uid => String.t() | nil } field(:backupFiles, as: GoogleApi.Redis.V1beta1.Model.BackupFile, type: :list) @@ -67,6 +69,7 @@ defmodule GoogleApi.Redis.V1beta1.Model.Backup do field(:shardCount) field(:state) field(:totalSizeBytes) + field(:uid) end defimpl Poison.Decoder, for: GoogleApi.Redis.V1beta1.Model.Backup do diff --git a/clients/redis/lib/google_api/redis/v1beta1/model/backup_collection.ex b/clients/redis/lib/google_api/redis/v1beta1/model/backup_collection.ex index e3e6ee1dda..53e5b7aa8d 100644 --- a/clients/redis/lib/google_api/redis/v1beta1/model/backup_collection.ex +++ b/clients/redis/lib/google_api/redis/v1beta1/model/backup_collection.ex @@ -24,6 +24,7 @@ defmodule GoogleApi.Redis.V1beta1.Model.BackupCollection do * `cluster` (*type:* `String.t`, *default:* `nil`) - Output only. The full resource path of the cluster the backup collection belongs to. Example: projects/{project}/locations/{location}/clusters/{cluster} * `clusterUid` (*type:* `String.t`, *default:* `nil`) - Output only. The cluster uid of the backup collection. * `name` (*type:* `String.t`, *default:* `nil`) - Identifier. Full resource path of the backup collection. + * `uid` (*type:* `String.t`, *default:* `nil`) - Output only. System assigned unique identifier of the backup collection. """ use GoogleApi.Gax.ModelBase @@ -31,12 +32,14 @@ defmodule GoogleApi.Redis.V1beta1.Model.BackupCollection do @type t :: %__MODULE__{ :cluster => String.t() | nil, :clusterUid => String.t() | nil, - :name => String.t() | nil + :name => String.t() | nil, + :uid => String.t() | nil } field(:cluster) field(:clusterUid) field(:name) + field(:uid) end defimpl Poison.Decoder, for: GoogleApi.Redis.V1beta1.Model.BackupCollection do diff --git a/clients/redis/lib/google_api/redis/v1beta1/model/connection_detail.ex b/clients/redis/lib/google_api/redis/v1beta1/model/connection_detail.ex index 1578b36c5a..aebef7cfdf 100644 --- a/clients/redis/lib/google_api/redis/v1beta1/model/connection_detail.ex +++ b/clients/redis/lib/google_api/redis/v1beta1/model/connection_detail.ex @@ -21,15 +21,18 @@ defmodule GoogleApi.Redis.V1beta1.Model.ConnectionDetail do ## Attributes + * `pscAutoConnection` (*type:* `GoogleApi.Redis.V1beta1.Model.PscAutoConnection.t`, *default:* `nil`) - Detailed information of a PSC connection that is created through service connectivity automation. * `pscConnection` (*type:* `GoogleApi.Redis.V1beta1.Model.PscConnection.t`, *default:* `nil`) - Detailed information of a PSC connection that is created by the customer who owns the cluster. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :pscAutoConnection => GoogleApi.Redis.V1beta1.Model.PscAutoConnection.t() | nil, :pscConnection => GoogleApi.Redis.V1beta1.Model.PscConnection.t() | nil } + field(:pscAutoConnection, as: GoogleApi.Redis.V1beta1.Model.PscAutoConnection) field(:pscConnection, as: GoogleApi.Redis.V1beta1.Model.PscConnection) end diff --git a/clients/redis/lib/google_api/redis/v1beta1/model/fixed_frequency_schedule.ex b/clients/redis/lib/google_api/redis/v1beta1/model/fixed_frequency_schedule.ex index 32288f9bd0..490ba1979d 100644 --- a/clients/redis/lib/google_api/redis/v1beta1/model/fixed_frequency_schedule.ex +++ b/clients/redis/lib/google_api/redis/v1beta1/model/fixed_frequency_schedule.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.Redis.V1beta1.Model.FixedFrequencySchedule do ## Attributes - * `startTime` (*type:* `GoogleApi.Redis.V1beta1.Model.TimeOfDay.t`, *default:* `nil`) - Optional. The start time of every automated backup in UTC. It must be set to the start of an hour. If not specified, the default value is the start of the hour when the automated backup config is enabled. For example, if the automated backup config is enabled at 10:13 AM UTC without specifying start_time, the default start time is 10:00 AM UTC. + * `startTime` (*type:* `GoogleApi.Redis.V1beta1.Model.TimeOfDay.t`, *default:* `nil`) - Required. The start time of every automated backup in UTC. It must be set to the start of an hour. This field is required. """ use GoogleApi.Gax.ModelBase diff --git a/clients/redis/lib/google_api/redis/v1beta1/model/psc_auto_connection.ex b/clients/redis/lib/google_api/redis/v1beta1/model/psc_auto_connection.ex new file mode 100644 index 0000000000..c48d467c8f --- /dev/null +++ b/clients/redis/lib/google_api/redis/v1beta1/model/psc_auto_connection.ex @@ -0,0 +1,67 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.Redis.V1beta1.Model.PscAutoConnection do + @moduledoc """ + Details of consumer resources in a PSC connection that is created through Service Connectivity Automation. + + ## Attributes + + * `address` (*type:* `String.t`, *default:* `nil`) - Output only. The IP allocated on the consumer network for the PSC forwarding rule. + * `connectionType` (*type:* `String.t`, *default:* `nil`) - Output only. Type of the PSC connection. + * `forwardingRule` (*type:* `String.t`, *default:* `nil`) - Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}. + * `network` (*type:* `String.t`, *default:* `nil`) - Required. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}. + * `projectId` (*type:* `String.t`, *default:* `nil`) - Required. The consumer project_id where the forwarding rule is created from. + * `pscConnectionId` (*type:* `String.t`, *default:* `nil`) - Output only. The PSC connection id of the forwarding rule connected to the service attachment. + * `pscConnectionStatus` (*type:* `String.t`, *default:* `nil`) - Output only. The status of the PSC connection. Please note that this value is updated periodically. Please use Private Service Connect APIs for the latest status. + * `serviceAttachment` (*type:* `String.t`, *default:* `nil`) - Output only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :address => String.t() | nil, + :connectionType => String.t() | nil, + :forwardingRule => String.t() | nil, + :network => String.t() | nil, + :projectId => String.t() | nil, + :pscConnectionId => String.t() | nil, + :pscConnectionStatus => String.t() | nil, + :serviceAttachment => String.t() | nil + } + + field(:address) + field(:connectionType) + field(:forwardingRule) + field(:network) + field(:projectId) + field(:pscConnectionId) + field(:pscConnectionStatus) + field(:serviceAttachment) +end + +defimpl Poison.Decoder, for: GoogleApi.Redis.V1beta1.Model.PscAutoConnection do + def decode(value, options) do + GoogleApi.Redis.V1beta1.Model.PscAutoConnection.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.Redis.V1beta1.Model.PscAutoConnection do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/redis/mix.exs b/clients/redis/mix.exs index c2cadd5ad7..3eb3676fd0 100644 --- a/clients/redis/mix.exs +++ b/clients/redis/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.Redis.Mixfile do use Mix.Project - @version "0.49.0" + @version "0.50.0" def project() do [