Skip to content

Commit

Permalink
feat: Automated regeneration of Redis client (#12841)
Browse files Browse the repository at this point in the history
Auto-created at 2025-01-19 13:09:14 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Jan 19, 2025
1 parent 301c360 commit 26f2dbf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clients/redis/lib/google_api/redis/v1/api/projects.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ defmodule GoogleApi.Redis.V1.Api.Projects do
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
* `:requestId` (*type:* `String.t`) - Idempotent request UUID.
* `:updateMask` (*type:* `String.t`) - Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Cluster: * `size_gb` * `replica_count`
* `:updateMask` (*type:* `String.t`) - Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Cluster: * `size_gb` * `replica_count` * `cluster_endpoints`
* `:body` (*type:* `GoogleApi.Redis.V1.Model.Cluster.t`) -
* `opts` (*type:* `keyword()`) - Call options
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 "20250104"
@discovery_revision "20250115"

def discovery_revision(), do: @discovery_revision
end
3 changes: 3 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 @@ -21,6 +21,7 @@ defmodule GoogleApi.Redis.V1.Model.Cluster do
## Attributes
* `asyncClusterEndpointsDeletionEnabled` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, cluster endpoints that are created and registered by customers can be deleted asynchronously. That is, such a cluster endpoint can be de-registered before the forwarding rules in the cluster endpoint are deleted.
* `authorizationMode` (*type:* `String.t`, *default:* `nil`) - Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
* `automatedBackupConfig` (*type:* `GoogleApi.Redis.V1.Model.AutomatedBackupConfig.t`, *default:* `nil`) - Optional. The automated backup config for the cluster.
* `backupCollection` (*type:* `String.t`, *default:* `nil`) - Optional. Output only. The backup collection full resource name. Example: projects/{project}/locations/{location}/backupCollections/{collection}
Expand Down Expand Up @@ -56,6 +57,7 @@ defmodule GoogleApi.Redis.V1.Model.Cluster do
use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:asyncClusterEndpointsDeletionEnabled => boolean() | nil,
:authorizationMode => String.t() | nil,
:automatedBackupConfig => GoogleApi.Redis.V1.Model.AutomatedBackupConfig.t() | nil,
:backupCollection => String.t() | nil,
Expand Down Expand Up @@ -89,6 +91,7 @@ defmodule GoogleApi.Redis.V1.Model.Cluster do
:zoneDistributionConfig => GoogleApi.Redis.V1.Model.ZoneDistributionConfig.t() | nil
}

field(:asyncClusterEndpointsDeletionEnabled)
field(:authorizationMode)
field(:automatedBackupConfig, as: GoogleApi.Redis.V1.Model.AutomatedBackupConfig)
field(:backupCollection)
Expand Down

0 comments on commit 26f2dbf

Please sign in to comment.