Skip to content

Commit

Permalink
feat: Automated regeneration of Redis client (#11241)
Browse files Browse the repository at this point in the history
Auto-created at 2024-04-01 13:12:05 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Apr 1, 2024
1 parent 7933065 commit 014beb3
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion clients/redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
2 changes: 1 addition & 1 deletion clients/redis/lib/google_api/redis/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions clients/redis/lib/google_api/redis/v1/model/cluster.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion clients/redis/lib/google_api/redis/v1beta1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions clients/redis/lib/google_api/redis/v1beta1/model/cluster.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion clients/redis/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Redis.Mixfile do
use Mix.Project

@version "0.36.0"
@version "0.37.0"

def project() do
[
Expand Down

0 comments on commit 014beb3

Please sign in to comment.