Skip to content

Commit 93ad1ab

Browse files
feat: Automated regeneration of Redis client (googleapis#12184)
Auto-created at 2024-09-21 13:09:51 +0000 using the toys pull request generator.
1 parent ab8726c commit 93ad1ab

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

clients/redis/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_redis, "~> 0.43"}]
14+
[{:google_api_redis, "~> 0.44"}]
1515
end
1616
```
1717

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 "20240904"
23+
@discovery_revision "20240918"
2424

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ defmodule GoogleApi.Redis.V1beta1.Model.Cluster do
3333
* `persistenceConfig` (*type:* `GoogleApi.Redis.V1beta1.Model.ClusterPersistenceConfig.t`, *default:* `nil`) - Optional. Persistence config (RDB, AOF) for the cluster.
3434
* `preciseSizeGb` (*type:* `float()`, *default:* `nil`) - Output only. Precise value of redis memory size in GB for the entire cluster.
3535
* `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.
36-
* `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.
36+
* `pscConnections` (*type:* `list(GoogleApi.Redis.V1beta1.Model.PscConnection.t)`, *default:* `nil`) - Output only. The list of PSC connections that are auto-created through service connectivity automation.
3737
* `redisConfigs` (*type:* `map()`, *default:* `nil`) - Optional. Key/Value pairs of customer overrides for mutable Redis Configs
3838
* `replicaCount` (*type:* `integer()`, *default:* `nil`) - Optional. The number of replica nodes per shard.
3939
* `shardCount` (*type:* `integer()`, *default:* `nil`) - Optional. Number of shards for the Redis cluster.

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,17 @@ defmodule GoogleApi.Redis.V1beta1.Model.ClusterMaintenanceSchedule do
2222
## Attributes
2323
2424
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The end time of any upcoming scheduled maintenance for this instance.
25-
* `scheduleDeadlineTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule.
2625
* `startTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The start time of any upcoming scheduled maintenance for this instance.
2726
"""
2827

2928
use GoogleApi.Gax.ModelBase
3029

3130
@type t :: %__MODULE__{
3231
:endTime => DateTime.t() | nil,
33-
:scheduleDeadlineTime => DateTime.t() | nil,
3432
:startTime => DateTime.t() | nil
3533
}
3634

3735
field(:endTime, as: DateTime)
38-
field(:scheduleDeadlineTime, as: DateTime)
3936
field(:startTime, as: DateTime)
4037
end
4138

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,17 @@ defmodule GoogleApi.Redis.V1beta1.Model.ClusterWeeklyMaintenanceWindow do
2222
## Attributes
2323
2424
* `day` (*type:* `String.t`, *default:* `nil`) - Allows to define schedule that runs specified day of the week.
25-
* `duration` (*type:* `String.t`, *default:* `nil`) - Duration of the time window.
2625
* `startTime` (*type:* `GoogleApi.Redis.V1beta1.Model.TimeOfDay.t`, *default:* `nil`) - Start time of the window in UTC.
2726
"""
2827

2928
use GoogleApi.Gax.ModelBase
3029

3130
@type t :: %__MODULE__{
3231
:day => String.t() | nil,
33-
:duration => String.t() | nil,
3432
:startTime => GoogleApi.Redis.V1beta1.Model.TimeOfDay.t() | nil
3533
}
3634

3735
field(:day)
38-
field(:duration)
3936
field(:startTime, as: GoogleApi.Redis.V1beta1.Model.TimeOfDay)
4037
end
4138

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,20 @@ defmodule GoogleApi.Redis.V1beta1.Model.MachineConfiguration do
2323
2424
* `cpuCount` (*type:* `integer()`, *default:* `nil`) - The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
2525
* `memorySizeInBytes` (*type:* `String.t`, *default:* `nil`) - Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
26+
* `shardCount` (*type:* `integer()`, *default:* `nil`) - Optional. Number of shards (if applicable).
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:cpuCount => integer() | nil,
32-
:memorySizeInBytes => String.t() | nil
33+
:memorySizeInBytes => String.t() | nil,
34+
:shardCount => integer() | nil
3335
}
3436

3537
field(:cpuCount)
3638
field(:memorySizeInBytes)
39+
field(:shardCount)
3740
end
3841

3942
defimpl Poison.Decoder, for: GoogleApi.Redis.V1beta1.Model.MachineConfiguration do

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ defmodule GoogleApi.Redis.V1beta1.Model.PscConnection do
2121
2222
## Attributes
2323
24-
* `address` (*type:* `String.t`, *default:* `nil`) - Output only. The IP allocated on the consumer network for the PSC forwarding rule.
25-
* `forwardingRule` (*type:* `String.t`, *default:* `nil`) - Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
26-
* `network` (*type:* `String.t`, *default:* `nil`) - The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.
27-
* `projectId` (*type:* `String.t`, *default:* `nil`) - Output only. The consumer project_id where the forwarding rule is created from.
28-
* `pscConnectionId` (*type:* `String.t`, *default:* `nil`) - Output only. The PSC connection id of the forwarding rule connected to the service attachment.
24+
* `address` (*type:* `String.t`, *default:* `nil`) - Required. The IP allocated on the consumer network for the PSC forwarding rule.
25+
* `forwardingRule` (*type:* `String.t`, *default:* `nil`) - Required. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
26+
* `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}.
27+
* `projectId` (*type:* `String.t`, *default:* `nil`) - Optional. Project ID of the consumer project where the forwarding rule is created in.
28+
* `pscConnectionId` (*type:* `String.t`, *default:* `nil`) - Optional. The PSC connection id of the forwarding rule connected to the service attachment.
29+
* `serviceAttachment` (*type:* `String.t`, *default:* `nil`) - Required. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
2930
"""
3031

3132
use GoogleApi.Gax.ModelBase
@@ -35,14 +36,16 @@ defmodule GoogleApi.Redis.V1beta1.Model.PscConnection do
3536
:forwardingRule => String.t() | nil,
3637
:network => String.t() | nil,
3738
:projectId => String.t() | nil,
38-
:pscConnectionId => String.t() | nil
39+
:pscConnectionId => String.t() | nil,
40+
:serviceAttachment => String.t() | nil
3941
}
4042

4143
field(:address)
4244
field(:forwardingRule)
4345
field(:network)
4446
field(:projectId)
4547
field(:pscConnectionId)
48+
field(:serviceAttachment)
4649
end
4750

4851
defimpl Poison.Decoder, for: GoogleApi.Redis.V1beta1.Model.PscConnection do

clients/redis/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Redis.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.43.0"
21+
@version "0.44.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)