Skip to content

Commit 5039fb5

Browse files
feat: Automated regeneration of redis v1beta1 client (googleapis#22321)
Auto-created at 2025-03-30 10:44:35 +0000 using the toys pull request generator.
1 parent aaa5059 commit 5039fb5

File tree

4 files changed

+23
-14
lines changed

4 files changed

+23
-14
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303776,6 +303776,7 @@
303776303776
"/redis:v1beta1/redis.projects.locations.instances.upgrade": upgrade_instance
303777303777
"/redis:v1beta1/redis.projects.locations.instances.upgrade/name": name
303778303778
"/redis:v1beta1/redis.projects.locations.list": list_project_locations
303779+
"/redis:v1beta1/redis.projects.locations.list/extraLocationTypes": extra_location_types
303779303780
"/redis:v1beta1/redis.projects.locations.list/filter": filter
303780303781
"/redis:v1beta1/redis.projects.locations.list/name": name
303781303782
"/redis:v1beta1/redis.projects.locations.list/pageSize": page_size

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.60.0 (2025-03-30)
4+
5+
* Regenerated from discovery document revision 20250320
6+
37
### v0.59.0 (2025-03-09)
48

59
* Regenerated from discovery document revision 20250303

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.59.0"
19+
GEM_VERSION = "0.60.0"
2020

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

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

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

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8484
# Lists information about the supported locations for this service.
8585
# @param [String] name
8686
# The resource that owns the locations collection, if applicable.
87+
# @param [Array<String>, String] extra_location_types
88+
# Optional. A list of extra location types that should be used as conditions for
89+
# controlling the visibility of the locations.
8790
# @param [String] filter
8891
# A filter to narrow down results to a preferred subset. The filtering language
8992
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -111,11 +114,12 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
111114
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112115
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113116
# @raise [Google::Apis::AuthorizationError] Authorization is required
114-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
117+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
115118
command = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
116119
command.response_representation = Google::Apis::RedisV1beta1::ListLocationsResponse::Representation
117120
command.response_class = Google::Apis::RedisV1beta1::ListLocationsResponse
118121
command.params['name'] = name unless name.nil?
122+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
119123
command.query['filter'] = filter unless filter.nil?
120124
command.query['pageSize'] = page_size unless page_size.nil?
121125
command.query['pageToken'] = page_token unless page_token.nil?
@@ -128,7 +132,7 @@ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, f
128132
# @param [String] name
129133
# Required. Redis backupCollection resource name using the form: `projects/`
130134
# project_id`/locations/`location_id`/backupCollections/`backup_collection_id``
131-
# where `location_id` refers to a GCP region.
135+
# where `location_id` refers to a Google Cloud region.
132136
# @param [String] fields
133137
# Selector specifying which fields to include in a partial response.
134138
# @param [String] quota_user
@@ -163,7 +167,7 @@ def get_project_location_backup_collection(name, fields: nil, quota_user: nil, o
163167
# @param [String] parent
164168
# Required. The resource name of the backupCollection location using the form: `
165169
# projects/`project_id`/locations/`location_id`` where `location_id` refers to a
166-
# GCP region.
170+
# Google Cloud region.
167171
# @param [Fixnum] page_size
168172
# Optional. The maximum number of items to return. If not specified, a default
169173
# value of 1000 will be used by the service. Regardless of the page_size value,
@@ -360,7 +364,7 @@ def list_project_location_backup_collection_backups(parent, page_size: nil, page
360364
# @param [String] name
361365
# Required. Redis cluster resource name using the form: `projects/`project_id`/
362366
# locations/`location_id`/clusters/`cluster_id`` where `location_id` refers to a
363-
# GCP region.
367+
# Google Cloud region.
364368
# @param [Google::Apis::RedisV1beta1::BackupClusterRequest] backup_cluster_request_object
365369
# @param [String] fields
366370
# Selector specifying which fields to include in a partial response.
@@ -399,8 +403,8 @@ def backup_cluster(name, backup_cluster_request_object = nil, fields: nil, quota
399403
# after a few hours, so there is no need to call DeleteOperation.
400404
# @param [String] parent
401405
# Required. The resource name of the cluster location using the form: `projects/`
402-
# project_id`/locations/`location_id`` where `location_id` refers to a GCP
403-
# region.
406+
# project_id`/locations/`location_id`` where `location_id` refers to a Google
407+
# Cloud region.
404408
# @param [Google::Apis::RedisV1beta1::Cluster] cluster_object
405409
# @param [String] cluster_id
406410
# Required. The logical name of the Redis cluster in the customer project with
@@ -445,7 +449,7 @@ def create_project_location_cluster(parent, cluster_object = nil, cluster_id: ni
445449
# @param [String] name
446450
# Required. Redis cluster resource name using the form: `projects/`project_id`/
447451
# locations/`location_id`/clusters/`cluster_id`` where `location_id` refers to a
448-
# GCP region.
452+
# Google Cloud region.
449453
# @param [String] request_id
450454
# Optional. Idempotent request UUID.
451455
# @param [String] fields
@@ -480,7 +484,7 @@ def delete_project_location_cluster(name, request_id: nil, fields: nil, quota_us
480484
# @param [String] name
481485
# Required. Redis cluster resource name using the form: `projects/`project_id`/
482486
# locations/`location_id`/clusters/`cluster_id`` where `location_id` refers to a
483-
# GCP region.
487+
# Google Cloud region.
484488
# @param [String] fields
485489
# Selector specifying which fields to include in a partial response.
486490
# @param [String] quota_user
@@ -512,7 +516,7 @@ def get_project_location_cluster(name, fields: nil, quota_user: nil, options: ni
512516
# @param [String] name
513517
# Required. Redis cluster certificate authority resource name using the form: `
514518
# projects/`project_id`/locations/`location_id`/clusters/`cluster_id`/
515-
# certificateAuthority` where `location_id` refers to a GCP region.
519+
# certificateAuthority` where `location_id` refers to a Google Cloud region.
516520
# @param [String] fields
517521
# Selector specifying which fields to include in a partial response.
518522
# @param [String] quota_user
@@ -547,8 +551,8 @@ def get_project_location_cluster_certificate_authority(name, fields: nil, quota_
547551
# the results are aggregated.
548552
# @param [String] parent
549553
# Required. The resource name of the cluster location using the form: `projects/`
550-
# project_id`/locations/`location_id`` where `location_id` refers to a GCP
551-
# region.
554+
# project_id`/locations/`location_id`` where `location_id` refers to a Google
555+
# Cloud region.
552556
# @param [Fixnum] page_size
553557
# The maximum number of items to return. If not specified, a default value of
554558
# 1000 will be used by the service. Regardless of the page_size value, the
@@ -636,7 +640,7 @@ def patch_project_location_cluster(name, cluster_object = nil, request_id: nil,
636640
# @param [String] name
637641
# Required. Redis Cluster instance resource name using the form: `projects/`
638642
# project_id`/locations/`location_id`/clusters/`cluster_id`` where `location_id`
639-
# refers to a GCP region.
643+
# refers to a Google Cloud region.
640644
# @param [Google::Apis::RedisV1beta1::RescheduleClusterMaintenanceRequest] reschedule_cluster_maintenance_request_object
641645
# @param [String] fields
642646
# Selector specifying which fields to include in a partial response.

0 commit comments

Comments
 (0)