Skip to content

Commit fc8a6c3

Browse files
feat: Automated regeneration of redis v1 client (googleapis#23786)
Auto-created at 2025-07-27 10:14:55 +0000 using the toys pull request generator.
1 parent 446eef3 commit fc8a6c3

File tree

5 files changed

+72
-4
lines changed

5 files changed

+72
-4
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313036,6 +313036,8 @@
313036313036
"/redis:v1/BackupConfiguration/automatedBackupEnabled": automated_backup_enabled
313037313037
"/redis:v1/BackupConfiguration/backupRetentionSettings": backup_retention_settings
313038313038
"/redis:v1/BackupConfiguration/pointInTimeRecoveryEnabled": point_in_time_recovery_enabled
313039+
"/redis:v1/BackupDRConfiguration": backup_dr_configuration
313040+
"/redis:v1/BackupDRConfiguration/backupdrManaged": backupdr_managed
313039313041
"/redis:v1/BackupFile": backup_file
313040313042
"/redis:v1/BackupFile/createTime": create_time
313041313043
"/redis:v1/BackupFile/fileName": file_name
@@ -313100,6 +313102,8 @@
313100313102
"/redis:v1/Cluster/redisConfigs": redis_configs
313101313103
"/redis:v1/Cluster/redisConfigs/redis_config": redis_config
313102313104
"/redis:v1/Cluster/replicaCount": replica_count
313105+
"/redis:v1/Cluster/satisfiesPzi": satisfies_pzi
313106+
"/redis:v1/Cluster/satisfiesPzs": satisfies_pzs
313103313107
"/redis:v1/Cluster/shardCount": shard_count
313104313108
"/redis:v1/Cluster/simulateMaintenanceEvent": simulate_maintenance_event
313105313109
"/redis:v1/Cluster/sizeGb": size_gb
@@ -313202,6 +313206,7 @@
313202313206
"/redis:v1/DatabaseResourceMetadata/availabilityConfiguration": availability_configuration
313203313207
"/redis:v1/DatabaseResourceMetadata/backupConfiguration": backup_configuration
313204313208
"/redis:v1/DatabaseResourceMetadata/backupRun": backup_run
313209+
"/redis:v1/DatabaseResourceMetadata/backupdrConfiguration": backupdr_configuration
313205313210
"/redis:v1/DatabaseResourceMetadata/creationTime": creation_time
313206313211
"/redis:v1/DatabaseResourceMetadata/currentState": current_state
313207313212
"/redis:v1/DatabaseResourceMetadata/customMetadata": custom_metadata

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.74.0 (2025-07-27)
4+
5+
* Regenerated from discovery document revision 20250718
6+
37
### v0.73.0 (2025-07-13)
48

59
* Regenerated from discovery document revision 20250701

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

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,27 @@ def update!(**args)
347347
end
348348
end
349349

350+
# BackupDRConfiguration to capture the backup and disaster recovery details of
351+
# database resource.
352+
class BackupDrConfiguration
353+
include Google::Apis::Core::Hashable
354+
355+
# Indicates if the resource is managed by BackupDR.
356+
# Corresponds to the JSON property `backupdrManaged`
357+
# @return [Boolean]
358+
attr_accessor :backupdr_managed
359+
alias_method :backupdr_managed?, :backupdr_managed
360+
361+
def initialize(**args)
362+
update!(**args)
363+
end
364+
365+
# Update properties of this object
366+
def update!(**args)
367+
@backupdr_managed = args[:backupdr_managed] if args.key?(:backupdr_managed)
368+
end
369+
end
370+
350371
# Backup is consisted of multiple backup files.
351372
class BackupFile
352373
include Google::Apis::Core::Hashable
@@ -616,6 +637,18 @@ class Cluster
616637
# @return [Fixnum]
617638
attr_accessor :replica_count
618639

640+
# Optional. Output only. Reserved for future use.
641+
# Corresponds to the JSON property `satisfiesPzi`
642+
# @return [Boolean]
643+
attr_accessor :satisfies_pzi
644+
alias_method :satisfies_pzi?, :satisfies_pzi
645+
646+
# Optional. Output only. Reserved for future use.
647+
# Corresponds to the JSON property `satisfiesPzs`
648+
# @return [Boolean]
649+
attr_accessor :satisfies_pzs
650+
alias_method :satisfies_pzs?, :satisfies_pzs
651+
619652
# Optional. Number of shards for the Redis cluster.
620653
# Corresponds to the JSON property `shardCount`
621654
# @return [Fixnum]
@@ -692,6 +725,8 @@ def update!(**args)
692725
@psc_service_attachments = args[:psc_service_attachments] if args.key?(:psc_service_attachments)
693726
@redis_configs = args[:redis_configs] if args.key?(:redis_configs)
694727
@replica_count = args[:replica_count] if args.key?(:replica_count)
728+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
729+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
695730
@shard_count = args[:shard_count] if args.key?(:shard_count)
696731
@simulate_maintenance_event = args[:simulate_maintenance_event] if args.key?(:simulate_maintenance_event)
697732
@size_gb = args[:size_gb] if args.key?(:size_gb)
@@ -1053,7 +1088,7 @@ class DatabaseResourceFeed
10531088
# @return [Google::Apis::RedisV1::DatabaseResourceId]
10541089
attr_accessor :resource_id
10551090

1056-
# Common model for database resource instance metadata. Next ID: 25
1091+
# Common model for database resource instance metadata. Next ID: 26
10571092
# Corresponds to the JSON property `resourceMetadata`
10581093
# @return [Google::Apis::RedisV1::DatabaseResourceMetadata]
10591094
attr_accessor :resource_metadata
@@ -1238,7 +1273,7 @@ def update!(**args)
12381273
end
12391274
end
12401275

1241-
# Common model for database resource instance metadata. Next ID: 25
1276+
# Common model for database resource instance metadata. Next ID: 26
12421277
class DatabaseResourceMetadata
12431278
include Google::Apis::Core::Hashable
12441279

@@ -1257,6 +1292,12 @@ class DatabaseResourceMetadata
12571292
# @return [Google::Apis::RedisV1::BackupRun]
12581293
attr_accessor :backup_run
12591294

1295+
# BackupDRConfiguration to capture the backup and disaster recovery details of
1296+
# database resource.
1297+
# Corresponds to the JSON property `backupdrConfiguration`
1298+
# @return [Google::Apis::RedisV1::BackupDrConfiguration]
1299+
attr_accessor :backupdr_configuration
1300+
12601301
# The creation time of the resource, i.e. the time when resource is created and
12611302
# recorded in partner service.
12621303
# Corresponds to the JSON property `creationTime`
@@ -1385,6 +1426,7 @@ def update!(**args)
13851426
@availability_configuration = args[:availability_configuration] if args.key?(:availability_configuration)
13861427
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
13871428
@backup_run = args[:backup_run] if args.key?(:backup_run)
1429+
@backupdr_configuration = args[:backupdr_configuration] if args.key?(:backupdr_configuration)
13881430
@creation_time = args[:creation_time] if args.key?(:creation_time)
13891431
@current_state = args[:current_state] if args.key?(:current_state)
13901432
@custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)

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.73.0"
19+
GEM_VERSION = "0.74.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 = "20250701"
25+
REVISION = "20250718"
2626
end
2727
end
2828
end

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
6464
include Google::Apis::Core::JsonObjectSupport
6565
end
6666

67+
class BackupDrConfiguration
68+
class Representation < Google::Apis::Core::JsonRepresentation; end
69+
70+
include Google::Apis::Core::JsonObjectSupport
71+
end
72+
6773
class BackupFile
6874
class Representation < Google::Apis::Core::JsonRepresentation; end
6975

@@ -637,6 +643,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
637643
end
638644
end
639645

646+
class BackupDrConfiguration
647+
# @private
648+
class Representation < Google::Apis::Core::JsonRepresentation
649+
property :backupdr_managed, as: 'backupdrManaged'
650+
end
651+
end
652+
640653
class BackupFile
641654
# @private
642655
class Representation < Google::Apis::Core::JsonRepresentation
@@ -715,6 +728,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
715728

716729
hash :redis_configs, as: 'redisConfigs'
717730
property :replica_count, as: 'replicaCount'
731+
property :satisfies_pzi, as: 'satisfiesPzi'
732+
property :satisfies_pzs, as: 'satisfiesPzs'
718733
property :shard_count, as: 'shardCount'
719734
property :simulate_maintenance_event, as: 'simulateMaintenanceEvent'
720735
property :size_gb, as: 'sizeGb'
@@ -887,6 +902,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
887902

888903
property :backup_run, as: 'backupRun', class: Google::Apis::RedisV1::BackupRun, decorator: Google::Apis::RedisV1::BackupRun::Representation
889904

905+
property :backupdr_configuration, as: 'backupdrConfiguration', class: Google::Apis::RedisV1::BackupDrConfiguration, decorator: Google::Apis::RedisV1::BackupDrConfiguration::Representation
906+
890907
property :creation_time, as: 'creationTime'
891908
property :current_state, as: 'currentState'
892909
property :custom_metadata, as: 'customMetadata', class: Google::Apis::RedisV1::CustomMetadataData, decorator: Google::Apis::RedisV1::CustomMetadataData::Representation

0 commit comments

Comments
 (0)