From 014beb316eecbcd526d21c65622cc5a3992e2abb Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Mon, 1 Apr 2024 06:18:41 -0700 Subject: [PATCH] feat: Automated regeneration of Redis client (#11241) Auto-created at 2024-04-01 13:12:05 +0000 using the toys pull request generator. --- clients/redis/README.md | 2 +- clients/redis/lib/google_api/redis/v1/metadata.ex | 2 +- clients/redis/lib/google_api/redis/v1/model/cluster.ex | 6 ++++++ clients/redis/lib/google_api/redis/v1beta1/metadata.ex | 2 +- clients/redis/lib/google_api/redis/v1beta1/model/cluster.ex | 6 ++++++ clients/redis/mix.exs | 2 +- 6 files changed, 16 insertions(+), 4 deletions(-) diff --git a/clients/redis/README.md b/clients/redis/README.md index 3cc344f995..378bef288e 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.36"}] + [{:google_api_redis, "~> 0.37"}] end ``` diff --git a/clients/redis/lib/google_api/redis/v1/metadata.ex b/clients/redis/lib/google_api/redis/v1/metadata.ex index c558c7155d..20c191e549 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 "20240319" + @discovery_revision "20240327" def discovery_revision(), do: @discovery_revision end diff --git a/clients/redis/lib/google_api/redis/v1/model/cluster.ex b/clients/redis/lib/google_api/redis/v1/model/cluster.ex index 0e2ea04706..bcdd116005 100644 --- a/clients/redis/lib/google_api/redis/v1/model/cluster.ex +++ b/clients/redis/lib/google_api/redis/v1/model/cluster.ex @@ -25,7 +25,9 @@ defmodule GoogleApi.Redis.V1.Model.Cluster do * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The timestamp associated with the cluster creation request. * `discoveryEndpoints` (*type:* `list(GoogleApi.Redis.V1.Model.DiscoveryEndpoint.t)`, *default:* `nil`) - Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported. * `name` (*type:* `String.t`, *default:* `nil`) - Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` + * `nodeType` (*type:* `String.t`, *default:* `nil`) - Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node. * `persistenceConfig` (*type:* `GoogleApi.Redis.V1.Model.ClusterPersistenceConfig.t`, *default:* `nil`) - Optional. Persistence config (RDB, AOF) for the cluster. + * `preciseSizeGb` (*type:* `float()`, *default:* `nil`) - Output only. Precise value of redis memory size in GB for the entire cluster. * `pscConfigs` (*type:* `list(GoogleApi.Redis.V1.Model.PscConfig.t)`, *default:* `nil`) - Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported. * `pscConnections` (*type:* `list(GoogleApi.Redis.V1.Model.PscConnection.t)`, *default:* `nil`) - Output only. PSC connections for discovery of the cluster topology and accessing the cluster. * `redisConfigs` (*type:* `map()`, *default:* `nil`) - Optional. Key/Value pairs of customer overrides for mutable Redis Configs @@ -45,7 +47,9 @@ defmodule GoogleApi.Redis.V1.Model.Cluster do :createTime => DateTime.t() | nil, :discoveryEndpoints => list(GoogleApi.Redis.V1.Model.DiscoveryEndpoint.t()) | nil, :name => String.t() | nil, + :nodeType => String.t() | nil, :persistenceConfig => GoogleApi.Redis.V1.Model.ClusterPersistenceConfig.t() | nil, + :preciseSizeGb => float() | nil, :pscConfigs => list(GoogleApi.Redis.V1.Model.PscConfig.t()) | nil, :pscConnections => list(GoogleApi.Redis.V1.Model.PscConnection.t()) | nil, :redisConfigs => map() | nil, @@ -62,7 +66,9 @@ defmodule GoogleApi.Redis.V1.Model.Cluster do field(:createTime, as: DateTime) field(:discoveryEndpoints, as: GoogleApi.Redis.V1.Model.DiscoveryEndpoint, type: :list) field(:name) + field(:nodeType) field(:persistenceConfig, as: GoogleApi.Redis.V1.Model.ClusterPersistenceConfig) + field(:preciseSizeGb) field(:pscConfigs, as: GoogleApi.Redis.V1.Model.PscConfig, type: :list) field(:pscConnections, as: GoogleApi.Redis.V1.Model.PscConnection, type: :list) field(:redisConfigs, type: :map) diff --git a/clients/redis/lib/google_api/redis/v1beta1/metadata.ex b/clients/redis/lib/google_api/redis/v1beta1/metadata.ex index b6c95d73d3..fa448d1485 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 "20240319" + @discovery_revision "20240327" def discovery_revision(), do: @discovery_revision end diff --git a/clients/redis/lib/google_api/redis/v1beta1/model/cluster.ex b/clients/redis/lib/google_api/redis/v1beta1/model/cluster.ex index c64e8b17ed..454b60853f 100644 --- a/clients/redis/lib/google_api/redis/v1beta1/model/cluster.ex +++ b/clients/redis/lib/google_api/redis/v1beta1/model/cluster.ex @@ -25,7 +25,9 @@ defmodule GoogleApi.Redis.V1beta1.Model.Cluster do * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The timestamp associated with the cluster creation request. * `discoveryEndpoints` (*type:* `list(GoogleApi.Redis.V1beta1.Model.DiscoveryEndpoint.t)`, *default:* `nil`) - Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported. * `name` (*type:* `String.t`, *default:* `nil`) - Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` + * `nodeType` (*type:* `String.t`, *default:* `nil`) - Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node. * `persistenceConfig` (*type:* `GoogleApi.Redis.V1beta1.Model.ClusterPersistenceConfig.t`, *default:* `nil`) - Optional. Persistence config (RDB, AOF) for the cluster. + * `preciseSizeGb` (*type:* `float()`, *default:* `nil`) - Output only. Precise value of redis memory size in GB for the entire cluster. * `pscConfigs` (*type:* `list(GoogleApi.Redis.V1beta1.Model.PscConfig.t)`, *default:* `nil`) - Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported. * `pscConnections` (*type:* `list(GoogleApi.Redis.V1beta1.Model.PscConnection.t)`, *default:* `nil`) - Output only. PSC connections for discovery of the cluster topology and accessing the cluster. * `redisConfigs` (*type:* `map()`, *default:* `nil`) - Optional. Key/Value pairs of customer overrides for mutable Redis Configs @@ -45,7 +47,9 @@ defmodule GoogleApi.Redis.V1beta1.Model.Cluster do :createTime => DateTime.t() | nil, :discoveryEndpoints => list(GoogleApi.Redis.V1beta1.Model.DiscoveryEndpoint.t()) | nil, :name => String.t() | nil, + :nodeType => String.t() | nil, :persistenceConfig => GoogleApi.Redis.V1beta1.Model.ClusterPersistenceConfig.t() | nil, + :preciseSizeGb => float() | nil, :pscConfigs => list(GoogleApi.Redis.V1beta1.Model.PscConfig.t()) | nil, :pscConnections => list(GoogleApi.Redis.V1beta1.Model.PscConnection.t()) | nil, :redisConfigs => map() | nil, @@ -62,7 +66,9 @@ defmodule GoogleApi.Redis.V1beta1.Model.Cluster do field(:createTime, as: DateTime) field(:discoveryEndpoints, as: GoogleApi.Redis.V1beta1.Model.DiscoveryEndpoint, type: :list) field(:name) + field(:nodeType) field(:persistenceConfig, as: GoogleApi.Redis.V1beta1.Model.ClusterPersistenceConfig) + field(:preciseSizeGb) field(:pscConfigs, as: GoogleApi.Redis.V1beta1.Model.PscConfig, type: :list) field(:pscConnections, as: GoogleApi.Redis.V1beta1.Model.PscConnection, type: :list) field(:redisConfigs, type: :map) diff --git a/clients/redis/mix.exs b/clients/redis/mix.exs index a748c3d625..c5e45d8b34 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.36.0" + @version "0.37.0" def project() do [