Skip to content

Commit 3c6de90

Browse files
feat: Automated regeneration of Redis client (googleapis#13119)
Auto-created at 2025-03-08 13:10:46 +0000 using the toys pull request generator.
1 parent ffe54d2 commit 3c6de90

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

clients/redis/lib/google_api/redis/v1beta1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Redis.V1beta1 do
2020
API client metadata for GoogleApi.Redis.V1beta1.
2121
"""
2222

23-
@discovery_revision "20250213"
23+
@discovery_revision "20250303"
2424

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

clients/redis/lib/google_api/redis/v1beta1/model/cluster.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ defmodule GoogleApi.Redis.V1beta1.Model.Cluster do
3838
* `managedBackupSource` (*type:* `GoogleApi.Redis.V1beta1.Model.ManagedBackupSource.t`, *default:* `nil`) - Optional. Backups generated and managed by memorystore service.
3939
* `name` (*type:* `String.t`, *default:* `nil`) - Required. Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
4040
* `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.
41+
* `ondemandMaintenance` (*type:* `boolean()`, *default:* `nil`) - Optional. Input only. Ondemand maintenance for the cluster. This field can be used to trigger ondemand critical update on the cluster.
4142
* `persistenceConfig` (*type:* `GoogleApi.Redis.V1beta1.Model.ClusterPersistenceConfig.t`, *default:* `nil`) - Optional. Persistence config (RDB, AOF) for the cluster.
4243
* `preciseSizeGb` (*type:* `float()`, *default:* `nil`) - Output only. Precise value of redis memory size in GB for the entire cluster.
4344
* `pscConfigs` (*type:* `list(GoogleApi.Redis.V1beta1.Model.PscConfig.t)`, *default:* `nil`) - Optional. 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.
@@ -76,6 +77,7 @@ defmodule GoogleApi.Redis.V1beta1.Model.Cluster do
7677
:managedBackupSource => GoogleApi.Redis.V1beta1.Model.ManagedBackupSource.t() | nil,
7778
:name => String.t() | nil,
7879
:nodeType => String.t() | nil,
80+
:ondemandMaintenance => boolean() | nil,
7981
:persistenceConfig => GoogleApi.Redis.V1beta1.Model.ClusterPersistenceConfig.t() | nil,
8082
:preciseSizeGb => float() | nil,
8183
:pscConfigs => list(GoogleApi.Redis.V1beta1.Model.PscConfig.t()) | nil,
@@ -115,6 +117,7 @@ defmodule GoogleApi.Redis.V1beta1.Model.Cluster do
115117
field(:managedBackupSource, as: GoogleApi.Redis.V1beta1.Model.ManagedBackupSource)
116118
field(:name)
117119
field(:nodeType)
120+
field(:ondemandMaintenance)
118121
field(:persistenceConfig, as: GoogleApi.Redis.V1beta1.Model.ClusterPersistenceConfig)
119122
field(:preciseSizeGb)
120123
field(:pscConfigs, as: GoogleApi.Redis.V1beta1.Model.PscConfig, type: :list)

clients/redis/lib/google_api/redis/v1beta1/model/machine_configuration.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ defmodule GoogleApi.Redis.V1beta1.Model.MachineConfiguration do
2121
2222
## Attributes
2323
24-
* `cpuCount` (*type:* `integer()`, *default:* `nil`) - The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
25-
* `memorySizeInBytes` (*type:* `String.t`, *default:* `nil`) - Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
24+
* `cpuCount` (*type:* `integer()`, *default:* `nil`) - The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.
25+
* `memorySizeInBytes` (*type:* `String.t`, *default:* `nil`) - Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.
2626
* `shardCount` (*type:* `integer()`, *default:* `nil`) - Optional. Number of shards (if applicable).
27-
* `vcpuCount` (*type:* `float()`, *default:* `nil`) - Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
27+
* `vcpuCount` (*type:* `float()`, *default:* `nil`) - Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.
2828
"""
2929

3030
use GoogleApi.Gax.ModelBase

0 commit comments

Comments
 (0)