Skip to content

Commit c6b76e6

Browse files
feat: Automated regeneration of redis v1beta1 client (#24650)
Auto-created at 2025-10-19 09:23:25 +0000 using the toys pull request generator.
1 parent dba93ae commit c6b76e6

File tree

6 files changed

+41
-4
lines changed

6 files changed

+41
-4
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326899,6 +326899,8 @@
326899326899
"/redis:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
326900326900
"/redis:v1beta1/ListOperationsResponse/operations": operations
326901326901
"/redis:v1beta1/ListOperationsResponse/operations/operation": operation
326902+
"/redis:v1beta1/ListOperationsResponse/unreachable": unreachable
326903+
"/redis:v1beta1/ListOperationsResponse/unreachable/unreachable": unreachable
326902326904
"/redis:v1beta1/Location": location
326903326905
"/redis:v1beta1/Location/displayName": display_name
326904326906
"/redis:v1beta1/Location/labels": labels
@@ -327035,6 +327037,7 @@
327035327037
"/redis:v1beta1/ResourceMaintenanceSchedule/day": day
327036327038
"/redis:v1beta1/ResourceMaintenanceSchedule/phase": phase
327037327039
"/redis:v1beta1/ResourceMaintenanceSchedule/time": time
327040+
"/redis:v1beta1/ResourceMaintenanceSchedule/week": week
327038327041
"/redis:v1beta1/RetentionSettings": retention_settings
327039327042
"/redis:v1beta1/RetentionSettings/durationBasedRetention": duration_based_retention
327040327043
"/redis:v1beta1/RetentionSettings/quantityBasedRetention": quantity_based_retention
@@ -327173,6 +327176,7 @@
327173327176
"/redis:v1beta1/redis.projects.locations.operations.list/name": name
327174327177
"/redis:v1beta1/redis.projects.locations.operations.list/pageSize": page_size
327175327178
"/redis:v1beta1/redis.projects.locations.operations.list/pageToken": page_token
327179+
"/redis:v1beta1/redis.projects.locations.operations.list/returnPartialSuccess": return_partial_success
327176327180
"/remotebuildexecution:v1/BuildBazelRemoteExecutionV2Action": build_bazel_remote_execution_v2_action
327177327181
"/remotebuildexecution:v1/BuildBazelRemoteExecutionV2Action/commandDigest": command_digest
327178327182
"/remotebuildexecution:v1/BuildBazelRemoteExecutionV2Action/doNotCache": do_not_cache

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.73.0 (2025-10-19)
4+
5+
* Regenerated from discovery document revision 20251009
6+
37
### v0.72.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251007

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

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2719,6 +2719,13 @@ class ListOperationsResponse
27192719
# @return [Array<Google::Apis::RedisV1beta1::Operation>]
27202720
attr_accessor :operations
27212721

2722+
# Unordered list. Unreachable resources. Populated when the request sets `
2723+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
2724+
# when attempting to list all resources across all supported locations.
2725+
# Corresponds to the JSON property `unreachable`
2726+
# @return [Array<String>]
2727+
attr_accessor :unreachable
2728+
27222729
def initialize(**args)
27232730
update!(**args)
27242731
end
@@ -2727,6 +2734,7 @@ def initialize(**args)
27272734
def update!(**args)
27282735
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
27292736
@operations = args[:operations] if args.key?(:operations)
2737+
@unreachable = args[:unreachable] if args.key?(:unreachable)
27302738
end
27312739
end
27322740

@@ -3729,7 +3737,8 @@ class ResourceMaintenanceSchedule
37293737
# maintenance. For example, for Cloud SQL resources, this can be used to capture
37303738
# if the maintenance window is in Week1, Week2, Week5, etc. Non production
37313739
# resources are usually part of early phase. For more details, refer to Cloud
3732-
# SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
3740+
# SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance Deprecated.
3741+
# Use phase instead.
37333742
# Corresponds to the JSON property `phase`
37343743
# @return [String]
37353744
attr_accessor :phase
@@ -3741,6 +3750,15 @@ class ResourceMaintenanceSchedule
37413750
# @return [Google::Apis::RedisV1beta1::TimeOfDay]
37423751
attr_accessor :time
37433752

3753+
# Optional. Phase of the maintenance window. This is to capture order of
3754+
# maintenance. For example, for Cloud SQL resources, this can be used to capture
3755+
# if the maintenance window is in Week1, Week2, Week5, etc. Non production
3756+
# resources are usually part of early phase. For more details, refer to Cloud
3757+
# SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
3758+
# Corresponds to the JSON property `week`
3759+
# @return [String]
3760+
attr_accessor :week
3761+
37443762
def initialize(**args)
37453763
update!(**args)
37463764
end
@@ -3750,6 +3768,7 @@ def update!(**args)
37503768
@day = args[:day] if args.key?(:day)
37513769
@phase = args[:phase] if args.key?(:phase)
37523770
@time = args[:time] if args.key?(:time)
3771+
@week = args[:week] if args.key?(:week)
37533772
end
37543773
end
37553774

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.72.0"
19+
GEM_VERSION = "0.73.0"
2020

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

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,6 +1301,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
13011301
property :next_page_token, as: 'nextPageToken'
13021302
collection :operations, as: 'operations', class: Google::Apis::RedisV1beta1::Operation, decorator: Google::Apis::RedisV1beta1::Operation::Representation
13031303

1304+
collection :unreachable, as: 'unreachable'
13041305
end
13051306
end
13061307

@@ -1567,6 +1568,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
15671568
property :phase, as: 'phase'
15681569
property :time, as: 'time', class: Google::Apis::RedisV1beta1::TimeOfDay, decorator: Google::Apis::RedisV1beta1::TimeOfDay::Representation
15691570

1571+
property :week, as: 'week'
15701572
end
15711573
end
15721574

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
12071207
# The standard list page size.
12081208
# @param [String] page_token
12091209
# The standard list page token.
1210+
# @param [Boolean] return_partial_success
1211+
# When set to `true`, operations that are reachable are returned as normal, and
1212+
# those that are unreachable are returned in the [ListOperationsResponse.
1213+
# unreachable] field. This can only be `true` when reading across collections e.
1214+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1215+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
1216+
# explicitly documented otherwise in service or product specific documentation.
12101217
# @param [String] fields
12111218
# Selector specifying which fields to include in a partial response.
12121219
# @param [String] quota_user
@@ -1224,14 +1231,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
12241231
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12251232
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12261233
# @raise [Google::Apis::AuthorizationError] Authorization is required
1227-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1234+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
12281235
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
12291236
command.response_representation = Google::Apis::RedisV1beta1::ListOperationsResponse::Representation
12301237
command.response_class = Google::Apis::RedisV1beta1::ListOperationsResponse
12311238
command.params['name'] = name unless name.nil?
12321239
command.query['filter'] = filter unless filter.nil?
12331240
command.query['pageSize'] = page_size unless page_size.nil?
12341241
command.query['pageToken'] = page_token unless page_token.nil?
1242+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
12351243
command.query['fields'] = fields unless fields.nil?
12361244
command.query['quotaUser'] = quota_user unless quota_user.nil?
12371245
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)