google-apis-redis_v1 0.65.0 → 0.66.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e81c41ce07cd4bdab46c16a91c43916d0434f76d61be430e20bc9b6a1263c41
4
- data.tar.gz: 8bbdcd7c4e230fc607d7e5657a8d1694a6a00bf8223d6c4e12fc48c2d1583ab7
3
+ metadata.gz: 73150ad16a2a6ddd60c8ebcd2c5b6156cfc4f922269d6e4a57b33a4ac42db5f4
4
+ data.tar.gz: e38f54d2791d1b2bc3f491f5b40bf01ef84e07f2e9a886afc05c78ac3b509e45
5
5
  SHA512:
6
- metadata.gz: 50730f176dccd0b6cf78fce3722e5a006dcfdf3d320be94f8b6574e53606bf53044e4d708d278582fa5edd2f98e2c42bfd47812954bfccf2be20f99df1472875
7
- data.tar.gz: 93081ae42c7a26924ce7b569497bb952e53be5be0d81ad2615f82fe60d2e0d8ef7b3be97b194689933127bd6cfb9f2b11200edf9de9eb8040f48247c96a7fe31
6
+ metadata.gz: 150960bbea1083042a950c60a0977b5f766cd8601d6a76a64fd5e274acabc3baa8cbbe9313fd5c8758c55964b879cf685a965dc42d73b77840e6e18e8d95d36d
7
+ data.tar.gz: 89fa7b3d0c3c8d7a07509f606633e3c32d992fce4cb9a4eafd5e63ff1fc7e7c2d9d103d48fb9e2abf1dc17f34007070e0d6d1db732ca656459fb72f712fab2a8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-redis_v1
2
2
 
3
+ ### v0.66.0 (2025-01-12)
4
+
5
+ * Regenerated from discovery document revision 20250104
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.65.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::RedisV1::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::RedisV1::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::RedisV1::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::RedisV1::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::RedisV1::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
@@ -2299,8 +2362,8 @@ module Google
2299
2362
  class MachineConfiguration
2300
2363
  include Google::Apis::Core::Hashable
2301
2364
 
2302
- # The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again
2303
- # after bug fix.
2365
+ # The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/
2366
+ # 342346271) add proto validations again after bug fix.
2304
2367
  # Corresponds to the JSON property `cpuCount`
2305
2368
  # @return [Fixnum]
2306
2369
  attr_accessor :cpu_count
@@ -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.65.0"
19
+ GEM_VERSION = "0.66.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::RedisV1::EncryptionInfo, decorator: Google::Apis::RedisV1::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::RedisV1::DiscoveryEndpoint, decorator: Google::Apis::RedisV1::DiscoveryEndpoint::Representation
668
677
 
678
+ property :encryption_info, as: 'encryptionInfo', class: Google::Apis::RedisV1::EncryptionInfo, decorator: Google::Apis::RedisV1::EncryptionInfo::Representation
679
+
669
680
  property :gcs_source, as: 'gcsSource', class: Google::Apis::RedisV1::GcsBackupSource, decorator: Google::Apis::RedisV1::GcsBackupSource::Representation
670
681
 
682
+ property :kms_key, as: 'kmsKey'
671
683
  property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::RedisV1::ClusterMaintenancePolicy, decorator: Google::Apis::RedisV1::ClusterMaintenancePolicy::Representation
672
684
 
673
685
  property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::RedisV1::ClusterMaintenanceSchedule, decorator: Google::Apis::RedisV1::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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.65.0
4
+ version: 0.66.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
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.65.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.66.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.2
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Google Cloud Memorystore for Redis API V1
82
79
  test_files: []