Skip to content

Commit fd7f971

Browse files
feat: Automated regeneration of redis v1beta1 client (googleapis#23518)
Auto-created at 2025-06-22 10:39:09 +0000 using the toys pull request generator.
1 parent 8499112 commit fd7f971

File tree

5 files changed

+28
-4
lines changed

5 files changed

+28
-4
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311746,6 +311746,7 @@
311746311746
"/redis:v1beta1/Cluster/redisConfigs/redis_config": redis_config
311747311747
"/redis:v1beta1/Cluster/replicaCount": replica_count
311748311748
"/redis:v1beta1/Cluster/shardCount": shard_count
311749+
"/redis:v1beta1/Cluster/simulateMaintenanceEvent": simulate_maintenance_event
311749311750
"/redis:v1beta1/Cluster/sizeGb": size_gb
311750311751
"/redis:v1beta1/Cluster/slots": slots
311751311752
"/redis:v1beta1/Cluster/slots/slot": slot
@@ -312014,6 +312015,8 @@
312014312015
"/redis:v1beta1/Instance/statusMessage": status_message
312015312016
"/redis:v1beta1/Instance/suspensionReasons": suspension_reasons
312016312017
"/redis:v1beta1/Instance/suspensionReasons/suspension_reason": suspension_reason
312018+
"/redis:v1beta1/Instance/tags": tags
312019+
"/redis:v1beta1/Instance/tags/tag": tag
312017312020
"/redis:v1beta1/Instance/tier": tier
312018312021
"/redis:v1beta1/Instance/transitEncryptionMode": transit_encryption_mode
312019312022
"/redis:v1beta1/InstanceAuthString": instance_auth_string

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.64.0 (2025-06-22)
4+
5+
* Regenerated from discovery document revision 20250617
6+
37
### v0.63.0 (2025-06-15)
48

59
* Regenerated from discovery document revision 20250609

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

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,12 @@ class Cluster
612612
# @return [Fixnum]
613613
attr_accessor :shard_count
614614

615+
# Optional. Input only. Simulate a maintenance event.
616+
# Corresponds to the JSON property `simulateMaintenanceEvent`
617+
# @return [Boolean]
618+
attr_accessor :simulate_maintenance_event
619+
alias_method :simulate_maintenance_event?, :simulate_maintenance_event
620+
615621
# Output only. Redis memory size in GB for the entire cluster rounded up to the
616622
# next integer.
617623
# Corresponds to the JSON property `sizeGb`
@@ -677,6 +683,7 @@ def update!(**args)
677683
@redis_configs = args[:redis_configs] if args.key?(:redis_configs)
678684
@replica_count = args[:replica_count] if args.key?(:replica_count)
679685
@shard_count = args[:shard_count] if args.key?(:shard_count)
686+
@simulate_maintenance_event = args[:simulate_maintenance_event] if args.key?(:simulate_maintenance_event)
680687
@size_gb = args[:size_gb] if args.key?(:size_gb)
681688
@state = args[:state] if args.key?(:state)
682689
@state_info = args[:state_info] if args.key?(:state_info)
@@ -1140,8 +1147,8 @@ class DatabaseResourceId
11401147
# googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance compute.
11411148
# googleapis.com/Instance firestore.googleapis.com/Database, redis.googleapis.
11421149
# com/Instance, redis.googleapis.com/Cluster, oracledatabase.googleapis.com/
1143-
# cloudExadataInfrastructures oracledatabase.googleapis.com/cloudVmClusters
1144-
# oracledatabase.googleapis.com/autonomousDatabases spanner.googleapis.com/
1150+
# CloudExadataInfrastructure oracledatabase.googleapis.com/CloudVmCluster
1151+
# oracledatabase.googleapis.com/AutonomousDatabase spanner.googleapis.com/
11451152
# Instance, spanner.googleapis.com/Database, sqladmin.googleapis.com/Instance,
11461153
# go/keep-sorted end REQUIRED Please refer go/condor-common-datamodel
11471154
# Corresponds to the JSON property `resourceType`
@@ -2055,6 +2062,13 @@ class Instance
20552062
# @return [Array<String>]
20562063
attr_accessor :suspension_reasons
20572064

2065+
# Optional. Input only. Immutable. Tag keys/values directly bound to this
2066+
# resource. For example: "123/environment": "production", "123/costCenter": "
2067+
# marketing"
2068+
# Corresponds to the JSON property `tags`
2069+
# @return [Hash<String,String>]
2070+
attr_accessor :tags
2071+
20582072
# Required. The service tier of the instance.
20592073
# Corresponds to the JSON property `tier`
20602074
# @return [String]
@@ -2107,6 +2121,7 @@ def update!(**args)
21072121
@state = args[:state] if args.key?(:state)
21082122
@status_message = args[:status_message] if args.key?(:status_message)
21092123
@suspension_reasons = args[:suspension_reasons] if args.key?(:suspension_reasons)
2124+
@tags = args[:tags] if args.key?(:tags)
21102125
@tier = args[:tier] if args.key?(:tier)
21112126
@transit_encryption_mode = args[:transit_encryption_mode] if args.key?(:transit_encryption_mode)
21122127
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.63.0"
19+
GEM_VERSION = "0.64.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 = "20250609"
25+
REVISION = "20250617"
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
@@ -709,6 +709,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
709709
hash :redis_configs, as: 'redisConfigs'
710710
property :replica_count, as: 'replicaCount'
711711
property :shard_count, as: 'shardCount'
712+
property :simulate_maintenance_event, as: 'simulateMaintenanceEvent'
712713
property :size_gb, as: 'sizeGb'
713714
property :state, as: 'state'
714715
property :state_info, as: 'stateInfo', class: Google::Apis::RedisV1beta1::StateInfo, decorator: Google::Apis::RedisV1beta1::StateInfo::Representation
@@ -1089,6 +1090,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
10891090
property :state, as: 'state'
10901091
property :status_message, as: 'statusMessage'
10911092
collection :suspension_reasons, as: 'suspensionReasons'
1093+
hash :tags, as: 'tags'
10921094
property :tier, as: 'tier'
10931095
property :transit_encryption_mode, as: 'transitEncryptionMode'
10941096
end

0 commit comments

Comments
 (0)