google-apis-redis_v1beta1 0.56.0 → 0.57.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: 9067d94c648863849ab39ee6bfd81fcef7f1bb187c71df415007556136b37628
4
- data.tar.gz: 40ff62bc2909793abfc299fd7b71571b1137bb4185cc1400d7d78f174451b404
3
+ metadata.gz: 11ebc6c7b6e950b55a413b6331ddd1b3a797ea7596cd10143686a9aeea373d4c
4
+ data.tar.gz: 5a4ac97338776cbb4f3fd0a07dcd1056dd2301a7dc3199d4ecd8335360fc861b
5
5
  SHA512:
6
- metadata.gz: 86e60a98ecae1a003a7ac70b5e0dd67d02f3e91a075bfc06ffc0ce3dfe1924bccef7328c10fc2bd72395da869b8f59d0146d3e768d5a6fec0c18551f572b8905
7
- data.tar.gz: d27bad1fde84f13ebe215683e0449ed360c441b0aa8a3509a493c185ff0fc0b977c9425742a9825cb5cb488bdf0bb4bc68a0dae182831bb0267cf83d6ed2f3f8
6
+ metadata.gz: a56c99ecdda302a5015753522a87fee5c1f865b9fecf14b08a330ed03e1ba41b5f7201a5e83f674f35dca588df449e0a8fdc777caa53d41033ebc9a6bacd3aff
7
+ data.tar.gz: 508e929c6a8cf41b7364bfe825ad285f96b3134a1f467cd7f0894bd97855f42aef71a6b27c456e9dab90f756d44113c310d1f5e12d6cb29f82afbf3c7aea8fd2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-redis_v1beta1
2
2
 
3
+ ### v0.57.0 (2025-01-12)
4
+
5
+ * Regenerated from discovery document revision 20250104
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.56.0 (2024-12-08)
4
9
 
5
10
  * Regenerated from discovery document revision 20241203
@@ -158,6 +158,11 @@ module Google
158
158
  # @return [String]
159
159
  attr_accessor :create_time
160
160
 
161
+ # EncryptionInfo describes the encryption information of a cluster or a backup.
162
+ # Corresponds to the JSON property `encryptionInfo`
163
+ # @return [Google::Apis::RedisV1beta1::EncryptionInfo]
164
+ attr_accessor :encryption_info
165
+
161
166
  # Output only. redis-7.2, valkey-7.5
162
167
  # Corresponds to the JSON property `engineVersion`
163
168
  # @return [String]
@@ -216,6 +221,7 @@ module Google
216
221
  @cluster = args[:cluster] if args.key?(:cluster)
217
222
  @cluster_uid = args[:cluster_uid] if args.key?(:cluster_uid)
218
223
  @create_time = args[:create_time] if args.key?(:create_time)
224
+ @encryption_info = args[:encryption_info] if args.key?(:encryption_info)
219
225
  @engine_version = args[:engine_version] if args.key?(:engine_version)
220
226
  @expire_time = args[:expire_time] if args.key?(:expire_time)
221
227
  @name = args[:name] if args.key?(:name)
@@ -270,6 +276,12 @@ module Google
270
276
  # @return [String]
271
277
  attr_accessor :cluster_uid
272
278
 
279
+ # Output only. The KMS key used to encrypt the backups under this backup
280
+ # collection.
281
+ # Corresponds to the JSON property `kmsKey`
282
+ # @return [String]
283
+ attr_accessor :kms_key
284
+
273
285
  # Identifier. Full resource path of the backup collection.
274
286
  # Corresponds to the JSON property `name`
275
287
  # @return [String]
@@ -288,6 +300,7 @@ module Google
288
300
  def update!(**args)
289
301
  @cluster = args[:cluster] if args.key?(:cluster)
290
302
  @cluster_uid = args[:cluster_uid] if args.key?(:cluster_uid)
303
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
291
304
  @name = args[:name] if args.key?(:name)
292
305
  @uid = args[:uid] if args.key?(:uid)
293
306
  end
@@ -490,12 +503,22 @@ module Google
490
503
  # @return [Array<Google::Apis::RedisV1beta1::DiscoveryEndpoint>]
491
504
  attr_accessor :discovery_endpoints
492
505
 
506
+ # EncryptionInfo describes the encryption information of a cluster or a backup.
507
+ # Corresponds to the JSON property `encryptionInfo`
508
+ # @return [Google::Apis::RedisV1beta1::EncryptionInfo]
509
+ attr_accessor :encryption_info
510
+
493
511
  # Backups stored in Cloud Storage buckets. The Cloud Storage buckets need to be
494
512
  # the same region as the clusters.
495
513
  # Corresponds to the JSON property `gcsSource`
496
514
  # @return [Google::Apis::RedisV1beta1::GcsBackupSource]
497
515
  attr_accessor :gcs_source
498
516
 
517
+ # Optional. The KMS key used to encrypt the at-rest data of the cluster.
518
+ # Corresponds to the JSON property `kmsKey`
519
+ # @return [String]
520
+ attr_accessor :kms_key
521
+
499
522
  # Maintenance policy per cluster.
500
523
  # Corresponds to the JSON property `maintenancePolicy`
501
524
  # @return [Google::Apis::RedisV1beta1::ClusterMaintenancePolicy]
@@ -614,7 +637,9 @@ module Google
614
637
  @cross_cluster_replication_config = args[:cross_cluster_replication_config] if args.key?(:cross_cluster_replication_config)
615
638
  @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
616
639
  @discovery_endpoints = args[:discovery_endpoints] if args.key?(:discovery_endpoints)
640
+ @encryption_info = args[:encryption_info] if args.key?(:encryption_info)
617
641
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
642
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
618
643
  @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
619
644
  @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
620
645
  @managed_backup_source = args[:managed_backup_source] if args.key?(:managed_backup_source)
@@ -1389,6 +1414,44 @@ module Google
1389
1414
  end
1390
1415
  end
1391
1416
 
1417
+ # EncryptionInfo describes the encryption information of a cluster or a backup.
1418
+ class EncryptionInfo
1419
+ include Google::Apis::Core::Hashable
1420
+
1421
+ # Output only. Type of encryption.
1422
+ # Corresponds to the JSON property `encryptionType`
1423
+ # @return [String]
1424
+ attr_accessor :encryption_type
1425
+
1426
+ # Output only. The state of the primary version of the KMS key perceived by the
1427
+ # system. This field is not populated in backups.
1428
+ # Corresponds to the JSON property `kmsKeyPrimaryState`
1429
+ # @return [String]
1430
+ attr_accessor :kms_key_primary_state
1431
+
1432
+ # Output only. KMS key versions that are being used to protect the data at-rest.
1433
+ # Corresponds to the JSON property `kmsKeyVersions`
1434
+ # @return [Array<String>]
1435
+ attr_accessor :kms_key_versions
1436
+
1437
+ # Output only. The most recent time when the encryption info was updated.
1438
+ # Corresponds to the JSON property `lastUpdateTime`
1439
+ # @return [String]
1440
+ attr_accessor :last_update_time
1441
+
1442
+ def initialize(**args)
1443
+ update!(**args)
1444
+ end
1445
+
1446
+ # Update properties of this object
1447
+ def update!(**args)
1448
+ @encryption_type = args[:encryption_type] if args.key?(:encryption_type)
1449
+ @kms_key_primary_state = args[:kms_key_primary_state] if args.key?(:kms_key_primary_state)
1450
+ @kms_key_versions = args[:kms_key_versions] if args.key?(:kms_key_versions)
1451
+ @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
1452
+ end
1453
+ end
1454
+
1392
1455
  # Proto representing the access that a user has to a specific feature/service.
1393
1456
  # NextId: 3.
1394
1457
  class Entitlement
@@ -2302,8 +2365,8 @@ module Google
2302
2365
  class MachineConfiguration
2303
2366
  include Google::Apis::Core::Hashable
2304
2367
 
2305
- # The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again
2306
- # after bug fix.
2368
+ # The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/
2369
+ # 342346271) add proto validations again after bug fix.
2307
2370
  # Corresponds to the JSON property `cpuCount`
2308
2371
  # @return [Fixnum]
2309
2372
  attr_accessor :cpu_count
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RedisV1beta1
18
18
  # Version of the google-apis-redis_v1beta1 gem
19
- GEM_VERSION = "0.56.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241203"
25
+ REVISION = "20250104"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class EncryptionInfo
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class Entitlement
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -575,6 +581,8 @@ module Google
575
581
  property :cluster, as: 'cluster'
576
582
  property :cluster_uid, as: 'clusterUid'
577
583
  property :create_time, as: 'createTime'
584
+ property :encryption_info, as: 'encryptionInfo', class: Google::Apis::RedisV1beta1::EncryptionInfo, decorator: Google::Apis::RedisV1beta1::EncryptionInfo::Representation
585
+
578
586
  property :engine_version, as: 'engineVersion'
579
587
  property :expire_time, as: 'expireTime'
580
588
  property :name, as: 'name'
@@ -600,6 +608,7 @@ module Google
600
608
  class Representation < Google::Apis::Core::JsonRepresentation
601
609
  property :cluster, as: 'cluster'
602
610
  property :cluster_uid, as: 'clusterUid'
611
+ property :kms_key, as: 'kmsKey'
603
612
  property :name, as: 'name'
604
613
  property :uid, as: 'uid'
605
614
  end
@@ -666,8 +675,11 @@ module Google
666
675
  property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
667
676
  collection :discovery_endpoints, as: 'discoveryEndpoints', class: Google::Apis::RedisV1beta1::DiscoveryEndpoint, decorator: Google::Apis::RedisV1beta1::DiscoveryEndpoint::Representation
668
677
 
678
+ property :encryption_info, as: 'encryptionInfo', class: Google::Apis::RedisV1beta1::EncryptionInfo, decorator: Google::Apis::RedisV1beta1::EncryptionInfo::Representation
679
+
669
680
  property :gcs_source, as: 'gcsSource', class: Google::Apis::RedisV1beta1::GcsBackupSource, decorator: Google::Apis::RedisV1beta1::GcsBackupSource::Representation
670
681
 
682
+ property :kms_key, as: 'kmsKey'
671
683
  property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::RedisV1beta1::ClusterMaintenancePolicy, decorator: Google::Apis::RedisV1beta1::ClusterMaintenancePolicy::Representation
672
684
 
673
685
  property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::RedisV1beta1::ClusterMaintenanceSchedule, decorator: Google::Apis::RedisV1beta1::ClusterMaintenanceSchedule::Representation
@@ -902,6 +914,16 @@ module Google
902
914
  end
903
915
  end
904
916
 
917
+ class EncryptionInfo
918
+ # @private
919
+ class Representation < Google::Apis::Core::JsonRepresentation
920
+ property :encryption_type, as: 'encryptionType'
921
+ property :kms_key_primary_state, as: 'kmsKeyPrimaryState'
922
+ collection :kms_key_versions, as: 'kmsKeyVersions'
923
+ property :last_update_time, as: 'lastUpdateTime'
924
+ end
925
+ end
926
+
905
927
  class Entitlement
906
928
  # @private
907
929
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-redis_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-08 00:00:00.000000000 Z
10
+ date: 2025-01-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -59,9 +58,8 @@ licenses:
59
58
  metadata:
60
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
61
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1beta1/CHANGELOG.md
62
- documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1beta1/v0.56.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1beta1/v0.57.0
63
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1beta1
64
- post_install_message:
65
63
  rdoc_options: []
66
64
  require_paths:
67
65
  - lib
@@ -76,8 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
74
  - !ruby/object:Gem::Version
77
75
  version: '0'
78
76
  requirements: []
79
- rubygems_version: 3.5.23
80
- signing_key:
77
+ rubygems_version: 3.6.2
81
78
  specification_version: 4
82
79
  summary: Simple REST client for Google Cloud Memorystore for Redis API V1beta1
83
80
  test_files: []