Skip to content

Commit 3f82ff3

Browse files
feat: Automated regeneration of redis v1beta1 client (#27228)
Auto-created at 2026-07-05 10:26:32 +0000 using the toys pull request generator.
1 parent 12624b1 commit 3f82ff3

6 files changed

Lines changed: 35 additions & 22 deletions

File tree

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361040,6 +361040,8 @@
361040361040
"/redis:v1beta1/ZoneDistributionConfig": zone_distribution_config
361041361041
"/redis:v1beta1/ZoneDistributionConfig/mode": mode
361042361042
"/redis:v1beta1/ZoneDistributionConfig/zone": zone
361043+
"/redis:v1beta1/ZoneDistributionConfig/zones": zones
361044+
"/redis:v1beta1/ZoneDistributionConfig/zones/zone": zone
361043361045
"/redis:v1beta1/ZoneMetadata": zone_metadata
361044361046
"/redis:v1beta1/fields": fields
361045361047
"/redis:v1beta1/key": key

generated/google-apis-redis_v1beta1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-redis_v1beta1
22

3+
### v0.83.0 (2026-07-05)
4+
5+
* Regenerated from discovery document revision 20260616
6+
37
### v0.82.0 (2026-06-14)
48

59
* Regenerated from discovery document revision 20260526

generated/google-apis-redis_v1beta1/lib/google/apis/redis_v1beta1/classes.rb

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class AclPolicy
6565
# @return [String]
6666
attr_accessor :state
6767

68-
# Output only. The version of the ACL policy. Used in drift resolution.
68+
# Output only. Deprecated: Used in drift resolution.
6969
# Corresponds to the JSON property `version`
7070
# @return [Fixnum]
7171
attr_accessor :version
@@ -709,9 +709,8 @@ class Cluster
709709
# @return [String]
710710
attr_accessor :acl_policy
711711

712-
# Optional. Output only. Indicates whether the ACL rules applied to the cluster
713-
# are in sync with the latest ACL policy rules. This field is only applicable if
714-
# the ACL policy is set for the cluster.
712+
# Optional. Output only. Deprecated: Indicates whether the ACL rules applied to
713+
# the cluster are in sync.
715714
# Corresponds to the JSON property `aclPolicyInSync`
716715
# @return [Boolean]
717716
attr_accessor :acl_policy_in_sync
@@ -1360,7 +1359,7 @@ class DatabaseResourceFeed
13601359
# @return [String]
13611360
attr_accessor :feed_type
13621361

1363-
#
1362+
# Observability metric data.
13641363
# Corresponds to the JSON property `observabilityMetricData`
13651364
# @return [Google::Apis::RedisV1beta1::ObservabilityMetricData]
13661365
attr_accessor :observability_metric_data
@@ -1503,7 +1502,7 @@ class DatabaseResourceHealthSignalData
15031502
# @return [String]
15041503
attr_accessor :signal_type
15051504

1506-
#
1505+
# Required. The state of the signal, such as if it's ACTIVE or RESOLVED.
15071506
# Corresponds to the JSON property `state`
15081507
# @return [String]
15091508
attr_accessor :state
@@ -2818,7 +2817,7 @@ class ListAclPoliciesResponse
28182817
# @return [String]
28192818
attr_accessor :next_page_token
28202819

2821-
# Locations that could not be reached.
2820+
# Unordered list. Locations that could not be reached.
28222821
# Corresponds to the JSON property `unreachable`
28232822
# @return [Array<String>]
28242823
attr_accessor :unreachable
@@ -4257,7 +4256,7 @@ class RetentionSettings
42574256
# @return [String]
42584257
attr_accessor :duration_based_retention
42594258

4260-
#
4259+
# Quantity based retention period i.e. 7 backups
42614260
# Corresponds to the JSON property `quantityBasedRetention`
42624261
# @return [Fixnum]
42634262
attr_accessor :quantity_based_retention
@@ -4267,7 +4266,7 @@ class RetentionSettings
42674266
# @return [String]
42684267
attr_accessor :retention_unit
42694268

4270-
#
4269+
# Duration based retention period i.e. 172800 seconds (2 days)
42714270
# Corresponds to the JSON property `timeBasedRetention`
42724271
# @return [String]
42734272
attr_accessor :time_based_retention
@@ -4730,6 +4729,12 @@ class ZoneDistributionConfig
47304729
# @return [String]
47314730
attr_accessor :zone
47324731

4732+
# Optional. Specify the zones of a multi-zone cluster where Redis Cluster
4733+
# allocates resources. This flag isn't applicable for single-zone clusters.
4734+
# Corresponds to the JSON property `zones`
4735+
# @return [Array<String>]
4736+
attr_accessor :zones
4737+
47334738
def initialize(**args)
47344739
update!(**args)
47354740
end
@@ -4738,6 +4743,7 @@ def initialize(**args)
47384743
def update!(**args)
47394744
@mode = args[:mode] if args.key?(:mode)
47404745
@zone = args[:zone] if args.key?(:zone)
4746+
@zones = args[:zones] if args.key?(:zones)
47414747
end
47424748
end
47434749
end

generated/google-apis-redis_v1beta1/lib/google/apis/redis_v1beta1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module RedisV1beta1
1818
# Version of the google-apis-redis_v1beta1 gem
19-
GEM_VERSION = "0.82.0"
19+
GEM_VERSION = "0.83.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.19.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260526"
25+
REVISION = "20260616"
2626
end
2727
end
2828
end

generated/google-apis-redis_v1beta1/lib/google/apis/redis_v1beta1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,6 +1938,7 @@ class ZoneDistributionConfig
19381938
class Representation < Google::Apis::Core::JsonRepresentation
19391939
property :mode, as: 'mode'
19401940
property :zone, as: 'zone'
1941+
collection :zones, as: 'zones'
19411942
end
19421943
end
19431944
end

generated/google-apis-redis_v1beta1/lib/google/apis/redis_v1beta1/service.rb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,15 @@ def list_project_locations(name, extra_location_types: nil, filter: nil, page_si
171171
execute_or_queue_command(command, &block)
172172
end
173173

174-
# Creates an ACL Policy. The creation is executed synchronously and the policy
174+
# Creates an ACL policy. The creation is executed synchronously and the policy
175175
# is available for use immediately after the RPC returns.
176176
# @param [String] parent
177177
# Required. The resource name of the cluster location using the form: `projects/`
178178
# project_id`/locations/`location_id`` where `location_id` refers to a Google
179179
# Cloud region.
180180
# @param [Google::Apis::RedisV1beta1::AclPolicy] acl_policy_object
181181
# @param [String] acl_policy_id
182-
# Required. The logical name of the ACL Policy in the customer project with the
182+
# Required. The logical name of the ACL policy in the customer project with the
183183
# following restrictions: * Must contain only lowercase letters, numbers, and
184184
# hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must
185185
# end with a number or a letter. * Must be unique within the customer project /
@@ -217,11 +217,11 @@ def create_project_location_acl_policy(parent, acl_policy_object = nil, acl_poli
217217
execute_or_queue_command(command, &block)
218218
end
219219

220-
# Deletes a specific Acl Policy. This action will delete the Acl Policy and all
220+
# Deletes a specific ACL policy. This action will delete the ACL policy and all
221221
# the rules associated with it. An ACL policy cannot be deleted if it is
222222
# attached to a cluster.
223223
# @param [String] name
224-
# Required. Redis ACL Policy resource name using the form: `projects/`project_id`
224+
# Required. Redis ACL policy resource name using the form: `projects/`project_id`
225225
# /locations/`location_id`/aclPolicies/`acl_policy_id`` where `location_id`
226226
# refers to a GCP region.
227227
# @param [String] etag
@@ -258,9 +258,9 @@ def delete_project_location_acl_policy(name, etag: nil, request_id: nil, fields:
258258
execute_or_queue_command(command, &block)
259259
end
260260

261-
# Gets the details of a specific Redis Cluster ACL Policy.
261+
# Gets the details of a specific Redis Cluster ACL policy.
262262
# @param [String] name
263-
# Required. Redis ACL Policy resource name using the form: `projects/`project_id`
263+
# Required. Redis ACL policy resource name using the form: `projects/`project_id`
264264
# /locations/`location_id`/aclPolicies/`acl_policy_id`` where `location_id`
265265
# refers to a GCP region.
266266
# @param [String] fields
@@ -290,15 +290,15 @@ def get_project_location_acl_policy(name, fields: nil, quota_user: nil, options:
290290
execute_or_queue_command(command, &block)
291291
end
292292

293-
# Lists all ACL Policies owned by a project in either the specified location (
293+
# Lists all ACL policies owned by a project in either the specified location (
294294
# region) or all locations. The location should have the following format: * `
295295
# projects/`project_id`/locations/`location_id`` If `location_id` is specified
296296
# as `-` (wildcard), then all regions available to the project are queried, and
297297
# the results are aggregated.
298298
# @param [String] parent
299-
# Required. The resource name of the cluster location using the form: `projects/`
300-
# project_id`/locations/`location_id`` where `location_id` refers to a Google
301-
# Cloud region.
299+
# Required. The resource name of the ACL policy location using the form: `
300+
# projects/`project_id`/locations/`location_id`` where `location_id` refers to a
301+
# Google Cloud region.
302302
# @param [Fixnum] page_size
303303
# Optional. The maximum number of items to return. If not specified, a default
304304
# value of 1000 will be used by the service. Regardless of the page_size value,
@@ -343,7 +343,7 @@ def list_project_location_acl_policies(parent, page_size: nil, page_token: nil,
343343
# the operation returns a SUCCESS status. If Memorystore can't apply the policy
344344
# to all clusters, then to ensure eventual consistency, Memorystore uses
345345
# reconciliation to apply the policy to the failed clusters. Completed
346-
# longrunning.Operation will contain the new ACL Policy object in the response
346+
# longrunning.Operation will contain the new ACL policy object in the response
347347
# field.
348348
# @param [String] name
349349
# Identifier. Full resource path of the ACL policy.

0 commit comments

Comments
 (0)