google-apis-redis_v1 0.74.0 → 0.76.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0efb62c0ce391c04529a1ada0d8c08040d07f39c261d8308590c2e0899c2c1f
4
- data.tar.gz: f935fc4f5ff063057b57629fb2bd4a0499c426807bc09989c354bab0d53cc0b4
3
+ metadata.gz: f66493d5231d6e0d4055d721c59937693e8ca202fba17fb901ead8af20510f4a
4
+ data.tar.gz: 803f0e72201daff52772c2b94c69389f2a41aebc2439973b08dfe1e588a101ec
5
5
  SHA512:
6
- metadata.gz: a4574ff9c3655218e168ac57546fc2d4a5e43c30ead853f5b68f903a8acd5e2542d3b06b567d4263a8cb7a9393b3a7dbb8f6601ac766856695ae2020e314ce9b
7
- data.tar.gz: e0d29d7af34cf22cb3c9c5a3d53c83d840d6e3a030d6bfed29715de7b0e190a01c5e204082f54e886d7cd6920e0a96c04076c725a64a915309ddea14c2331e3d
6
+ metadata.gz: 45961a2a628b821da611ab2ac6fba9f9d16a729784efc79b308ca7fd1e77c09e3c4261339d8d34f18962d64a2082748aec00680a60f508269adcd9632f91c68f
7
+ data.tar.gz: a1bd394ca60ea772db517d1638583e7701e1e93877525f5435a6e8cc6b9672d8be84934d158d6d59655d39367a6dc1d879526056bebfdec60a2bcd29446f817b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-redis_v1
2
2
 
3
+ ### v0.76.0 (2025-08-24)
4
+
5
+ * Regenerated from discovery document revision 20250819
6
+
7
+ ### v0.75.0 (2025-08-03)
8
+
9
+ * Regenerated from discovery document revision 20250729
10
+
3
11
  ### v0.74.0 (2025-07-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20250718
@@ -287,11 +287,26 @@ module Google
287
287
  # @return [String]
288
288
  attr_accessor :kms_key
289
289
 
290
+ # Output only. The last time a backup was created in the backup collection.
291
+ # Corresponds to the JSON property `lastBackupTime`
292
+ # @return [String]
293
+ attr_accessor :last_backup_time
294
+
290
295
  # Identifier. Full resource path of the backup collection.
291
296
  # Corresponds to the JSON property `name`
292
297
  # @return [String]
293
298
  attr_accessor :name
294
299
 
300
+ # Output only. Total number of backups in the backup collection.
301
+ # Corresponds to the JSON property `totalBackupCount`
302
+ # @return [Fixnum]
303
+ attr_accessor :total_backup_count
304
+
305
+ # Output only. Total size of all backups in the backup collection.
306
+ # Corresponds to the JSON property `totalBackupSizeBytes`
307
+ # @return [Fixnum]
308
+ attr_accessor :total_backup_size_bytes
309
+
295
310
  # Output only. System assigned unique identifier of the backup collection.
296
311
  # Corresponds to the JSON property `uid`
297
312
  # @return [String]
@@ -307,7 +322,10 @@ module Google
307
322
  @cluster_uid = args[:cluster_uid] if args.key?(:cluster_uid)
308
323
  @create_time = args[:create_time] if args.key?(:create_time)
309
324
  @kms_key = args[:kms_key] if args.key?(:kms_key)
325
+ @last_backup_time = args[:last_backup_time] if args.key?(:last_backup_time)
310
326
  @name = args[:name] if args.key?(:name)
327
+ @total_backup_count = args[:total_backup_count] if args.key?(:total_backup_count)
328
+ @total_backup_size_bytes = args[:total_backup_size_bytes] if args.key?(:total_backup_size_bytes)
311
329
  @uid = args[:uid] if args.key?(:uid)
312
330
  end
313
331
  end
@@ -368,6 +386,57 @@ module Google
368
386
  end
369
387
  end
370
388
 
389
+ # BackupDRMetadata contains information about the backup and disaster recovery
390
+ # metadata of a database resource.
391
+ class BackupDrMetadata
392
+ include Google::Apis::Core::Hashable
393
+
394
+ # Configuration for automatic backups
395
+ # Corresponds to the JSON property `backupConfiguration`
396
+ # @return [Google::Apis::RedisV1::BackupConfiguration]
397
+ attr_accessor :backup_configuration
398
+
399
+ # A backup run.
400
+ # Corresponds to the JSON property `backupRun`
401
+ # @return [Google::Apis::RedisV1::BackupRun]
402
+ attr_accessor :backup_run
403
+
404
+ # BackupDRConfiguration to capture the backup and disaster recovery details of
405
+ # database resource.
406
+ # Corresponds to the JSON property `backupdrConfiguration`
407
+ # @return [Google::Apis::RedisV1::BackupDrConfiguration]
408
+ attr_accessor :backupdr_configuration
409
+
410
+ # Required. Full resource name of this instance.
411
+ # Corresponds to the JSON property `fullResourceName`
412
+ # @return [String]
413
+ attr_accessor :full_resource_name
414
+
415
+ # Required. Last time backup configuration was refreshed.
416
+ # Corresponds to the JSON property `lastRefreshTime`
417
+ # @return [String]
418
+ attr_accessor :last_refresh_time
419
+
420
+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
421
+ # Corresponds to the JSON property `resourceId`
422
+ # @return [Google::Apis::RedisV1::DatabaseResourceId]
423
+ attr_accessor :resource_id
424
+
425
+ def initialize(**args)
426
+ update!(**args)
427
+ end
428
+
429
+ # Update properties of this object
430
+ def update!(**args)
431
+ @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
432
+ @backup_run = args[:backup_run] if args.key?(:backup_run)
433
+ @backupdr_configuration = args[:backupdr_configuration] if args.key?(:backupdr_configuration)
434
+ @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
435
+ @last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
436
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
437
+ end
438
+ end
439
+
371
440
  # Backup is consisted of multiple backup files.
372
441
  class BackupFile
373
442
  include Google::Apis::Core::Hashable
@@ -1047,10 +1116,16 @@ module Google
1047
1116
  end
1048
1117
 
1049
1118
  # DatabaseResourceFeed is the top level proto to be used to ingest different
1050
- # database resource level events into Condor platform. Next ID: 9
1119
+ # database resource level events into Condor platform. Next ID: 11
1051
1120
  class DatabaseResourceFeed
1052
1121
  include Google::Apis::Core::Hashable
1053
1122
 
1123
+ # BackupDRMetadata contains information about the backup and disaster recovery
1124
+ # metadata of a database resource.
1125
+ # Corresponds to the JSON property `backupdrMetadata`
1126
+ # @return [Google::Apis::RedisV1::BackupDrMetadata]
1127
+ attr_accessor :backupdr_metadata
1128
+
1054
1129
  # Config based signal data. This is used to send signals to Condor which are
1055
1130
  # based on the DB level configurations. These will be used to send signals for
1056
1131
  # self managed databases.
@@ -1093,12 +1168,23 @@ module Google
1093
1168
  # @return [Google::Apis::RedisV1::DatabaseResourceMetadata]
1094
1169
  attr_accessor :resource_metadata
1095
1170
 
1171
+ # Optional. If true, the feed won't be ingested by DB Center. This indicates
1172
+ # that the feed is intentionally skipped. For example, BackupDR feeds are only
1173
+ # needed for resources integrated with DB Center (e.g., CloudSQL, AlloyDB).
1174
+ # Feeds for non-integrated resources (e.g., Compute Engine, Persistent Disk) can
1175
+ # be skipped.
1176
+ # Corresponds to the JSON property `skipIngestion`
1177
+ # @return [Boolean]
1178
+ attr_accessor :skip_ingestion
1179
+ alias_method :skip_ingestion?, :skip_ingestion
1180
+
1096
1181
  def initialize(**args)
1097
1182
  update!(**args)
1098
1183
  end
1099
1184
 
1100
1185
  # Update properties of this object
1101
1186
  def update!(**args)
1187
+ @backupdr_metadata = args[:backupdr_metadata] if args.key?(:backupdr_metadata)
1102
1188
  @config_based_signal_data = args[:config_based_signal_data] if args.key?(:config_based_signal_data)
1103
1189
  @feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
1104
1190
  @feed_type = args[:feed_type] if args.key?(:feed_type)
@@ -1107,6 +1193,7 @@ module Google
1107
1193
  @resource_health_signal_data = args[:resource_health_signal_data] if args.key?(:resource_health_signal_data)
1108
1194
  @resource_id = args[:resource_id] if args.key?(:resource_id)
1109
1195
  @resource_metadata = args[:resource_metadata] if args.key?(:resource_metadata)
1196
+ @skip_ingestion = args[:skip_ingestion] if args.key?(:skip_ingestion)
1110
1197
  end
1111
1198
  end
1112
1199
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RedisV1
18
18
  # Version of the google-apis-redis_v1 gem
19
- GEM_VERSION = "0.74.0"
19
+ GEM_VERSION = "0.76.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250718"
25
+ REVISION = "20250819"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class BackupDrMetadata
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class BackupFile
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -628,7 +634,10 @@ module Google
628
634
  property :cluster_uid, as: 'clusterUid'
629
635
  property :create_time, as: 'createTime'
630
636
  property :kms_key, as: 'kmsKey'
637
+ property :last_backup_time, as: 'lastBackupTime'
631
638
  property :name, as: 'name'
639
+ property :total_backup_count, :numeric_string => true, as: 'totalBackupCount'
640
+ property :total_backup_size_bytes, :numeric_string => true, as: 'totalBackupSizeBytes'
632
641
  property :uid, as: 'uid'
633
642
  end
634
643
  end
@@ -650,6 +659,22 @@ module Google
650
659
  end
651
660
  end
652
661
 
662
+ class BackupDrMetadata
663
+ # @private
664
+ class Representation < Google::Apis::Core::JsonRepresentation
665
+ property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::RedisV1::BackupConfiguration, decorator: Google::Apis::RedisV1::BackupConfiguration::Representation
666
+
667
+ property :backup_run, as: 'backupRun', class: Google::Apis::RedisV1::BackupRun, decorator: Google::Apis::RedisV1::BackupRun::Representation
668
+
669
+ property :backupdr_configuration, as: 'backupdrConfiguration', class: Google::Apis::RedisV1::BackupDrConfiguration, decorator: Google::Apis::RedisV1::BackupDrConfiguration::Representation
670
+
671
+ property :full_resource_name, as: 'fullResourceName'
672
+ property :last_refresh_time, as: 'lastRefreshTime'
673
+ property :resource_id, as: 'resourceId', class: Google::Apis::RedisV1::DatabaseResourceId, decorator: Google::Apis::RedisV1::DatabaseResourceId::Representation
674
+
675
+ end
676
+ end
677
+
653
678
  class BackupFile
654
679
  # @private
655
680
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -844,6 +869,8 @@ module Google
844
869
  class DatabaseResourceFeed
845
870
  # @private
846
871
  class Representation < Google::Apis::Core::JsonRepresentation
872
+ property :backupdr_metadata, as: 'backupdrMetadata', class: Google::Apis::RedisV1::BackupDrMetadata, decorator: Google::Apis::RedisV1::BackupDrMetadata::Representation
873
+
847
874
  property :config_based_signal_data, as: 'configBasedSignalData', class: Google::Apis::RedisV1::ConfigBasedSignalData, decorator: Google::Apis::RedisV1::ConfigBasedSignalData::Representation
848
875
 
849
876
  property :feed_timestamp, as: 'feedTimestamp'
@@ -858,6 +885,7 @@ module Google
858
885
 
859
886
  property :resource_metadata, as: 'resourceMetadata', class: Google::Apis::RedisV1::DatabaseResourceMetadata, decorator: Google::Apis::RedisV1::DatabaseResourceMetadata::Representation
860
887
 
888
+ property :skip_ingestion, as: 'skipIngestion'
861
889
  end
862
890
  end
863
891
 
@@ -85,8 +85,8 @@ module Google
85
85
  # @param [String] name
86
86
  # The resource that owns the locations collection, if applicable.
87
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.
88
+ # Optional. Do not use this field. It is unsupported and is ignored unless
89
+ # explicitly documented otherwise. This is primarily for internal usage.
90
90
  # @param [String] filter
91
91
  # A filter to narrow down results to a preferred subset. The filtering language
92
92
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-redis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.74.0
4
+ version: 0.76.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.74.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.76.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1
62
62
  rdoc_options: []
63
63
  require_paths: