Skip to content

Commit 545a346

Browse files
feat: Automated regeneration of redis v1 client (#24663)
Auto-created at 2025-10-19 09:48:50 +0000 using the toys pull request generator.
1 parent 2ff7df7 commit 545a346

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
@@ -326198,6 +326198,8 @@
326198326198
"/redis:v1/ListOperationsResponse/nextPageToken": next_page_token
326199326199
"/redis:v1/ListOperationsResponse/operations": operations
326200326200
"/redis:v1/ListOperationsResponse/operations/operation": operation
326201+
"/redis:v1/ListOperationsResponse/unreachable": unreachable
326202+
"/redis:v1/ListOperationsResponse/unreachable/unreachable": unreachable
326201326203
"/redis:v1/Location": location
326202326204
"/redis:v1/Location/displayName": display_name
326203326205
"/redis:v1/Location/labels": labels
@@ -326346,6 +326348,7 @@
326346326348
"/redis:v1/ResourceMaintenanceSchedule/day": day
326347326349
"/redis:v1/ResourceMaintenanceSchedule/phase": phase
326348326350
"/redis:v1/ResourceMaintenanceSchedule/time": time
326351+
"/redis:v1/ResourceMaintenanceSchedule/week": week
326349326352
"/redis:v1/RetentionSettings": retention_settings
326350326353
"/redis:v1/RetentionSettings/durationBasedRetention": duration_based_retention
326351326354
"/redis:v1/RetentionSettings/quantityBasedRetention": quantity_based_retention
@@ -326493,6 +326496,7 @@
326493326496
"/redis:v1/redis.projects.locations.operations.list/name": name
326494326497
"/redis:v1/redis.projects.locations.operations.list/pageSize": page_size
326495326498
"/redis:v1/redis.projects.locations.operations.list/pageToken": page_token
326499+
"/redis:v1/redis.projects.locations.operations.list/returnPartialSuccess": return_partial_success
326496326500
"/redis:v1beta1/AOFConfig": aof_config
326497326501
"/redis:v1beta1/AOFConfig/appendFsync": append_fsync
326498326502
"/redis:v1beta1/AutomatedBackupConfig": automated_backup_config

generated/google-apis-redis_v1/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_v1
22

3+
### v0.82.0 (2025-10-19)
4+
5+
* Regenerated from discovery document revision 20251009
6+
37
### v0.81.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251007

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

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

2720+
# Unordered list. Unreachable resources. Populated when the request sets `
2721+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
2722+
# when attempting to list all resources across all supported locations.
2723+
# Corresponds to the JSON property `unreachable`
2724+
# @return [Array<String>]
2725+
attr_accessor :unreachable
2726+
27202727
def initialize(**args)
27212728
update!(**args)
27222729
end
@@ -2725,6 +2732,7 @@ def initialize(**args)
27252732
def update!(**args)
27262733
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
27272734
@operations = args[:operations] if args.key?(:operations)
2735+
@unreachable = args[:unreachable] if args.key?(:unreachable)
27282736
end
27292737
end
27302738

@@ -3727,7 +3735,8 @@ class ResourceMaintenanceSchedule
37273735
# maintenance. For example, for Cloud SQL resources, this can be used to capture
37283736
# if the maintenance window is in Week1, Week2, Week5, etc. Non production
37293737
# resources are usually part of early phase. For more details, refer to Cloud
3730-
# SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
3738+
# SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance Deprecated.
3739+
# Use phase instead.
37313740
# Corresponds to the JSON property `phase`
37323741
# @return [String]
37333742
attr_accessor :phase
@@ -3739,6 +3748,15 @@ class ResourceMaintenanceSchedule
37393748
# @return [Google::Apis::RedisV1::TimeOfDay]
37403749
attr_accessor :time
37413750

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

generated/google-apis-redis_v1/lib/google/apis/redis_v1/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 RedisV1
1818
# Version of the google-apis-redis_v1 gem
19-
GEM_VERSION = "0.81.0"
19+
GEM_VERSION = "0.82.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_v1/lib/google/apis/redis_v1/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::RedisV1::Operation, decorator: Google::Apis::RedisV1::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::RedisV1::TimeOfDay, decorator: Google::Apis::RedisV1::TimeOfDay::Representation
15691570

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

generated/google-apis-redis_v1/lib/google/apis/redis_v1/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, 'v1/{+name}/operations', options)
12291236
command.response_representation = Google::Apis::RedisV1::ListOperationsResponse::Representation
12301237
command.response_class = Google::Apis::RedisV1::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)