google-apis-redis_v1 0.64.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: b3581cfb863ce6874b63839850301f2e0ac9f40a3154dad84b3971c01cc7df0f
4
- data.tar.gz: 2e658cdd234f6103503ea8dd14faae08ac3cc818d29ff1c770f4ce3bf4c67f76
3
+ metadata.gz: 73150ad16a2a6ddd60c8ebcd2c5b6156cfc4f922269d6e4a57b33a4ac42db5f4
4
+ data.tar.gz: e38f54d2791d1b2bc3f491f5b40bf01ef84e07f2e9a886afc05c78ac3b509e45
5
5
  SHA512:
6
- metadata.gz: 743aa3d75ae81e75b7e6af1aa98512c37eb178d8cd068b4deae107f666f4edd6cabe9b9667f99c6ac5fd5592a09dc45060c700e61e7306f97d036fcb9fa38258
7
- data.tar.gz: e4b7e6e32a53e3afea815ee4f36d0d785a22e87cb92575d9aa6a09f885fcf4a5a81c1d6ddf6ce567dd476c97f2004ce6c1a4a3da51d991fd24385e53075192d4
6
+ metadata.gz: 150960bbea1083042a950c60a0977b5f766cd8601d6a76a64fd5e274acabc3baa8cbbe9313fd5c8758c55964b879cf685a965dc42d73b77840e6e18e8d95d36d
7
+ data.tar.gz: 89fa7b3d0c3c8d7a07509f606633e3c32d992fce4cb9a4eafd5e63ff1fc7e7c2d9d103d48fb9e2abf1dc17f34007070e0d6d1db732ca656459fb72f712fab2a8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.65.0 (2024-12-08)
9
+
10
+ * Regenerated from discovery document revision 20241203
11
+
3
12
  ### v0.64.0 (2024-11-24)
4
13
 
5
14
  * Regenerated from discovery document revision 20241114
@@ -58,8 +58,8 @@ module Google
58
58
  attr_accessor :fixed_frequency_schedule
59
59
 
60
60
  # Optional. How long to keep automated backups before the backups are deleted.
61
- # If not specified, the default value is 100 years which is also the maximum
62
- # value supported. The minimum value is 1 day.
61
+ # The value should be between 1 day and 365 days. If not specified, the default
62
+ # value is 35 days.
63
63
  # Corresponds to the JSON property `retention`
64
64
  # @return [String]
65
65
  attr_accessor :retention
@@ -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]
@@ -200,6 +205,11 @@ module Google
200
205
  # @return [Fixnum]
201
206
  attr_accessor :total_size_bytes
202
207
 
208
+ # Output only. System assigned unique identifier of the backup.
209
+ # Corresponds to the JSON property `uid`
210
+ # @return [String]
211
+ attr_accessor :uid
212
+
203
213
  def initialize(**args)
204
214
  update!(**args)
205
215
  end
@@ -211,6 +221,7 @@ module Google
211
221
  @cluster = args[:cluster] if args.key?(:cluster)
212
222
  @cluster_uid = args[:cluster_uid] if args.key?(:cluster_uid)
213
223
  @create_time = args[:create_time] if args.key?(:create_time)
224
+ @encryption_info = args[:encryption_info] if args.key?(:encryption_info)
214
225
  @engine_version = args[:engine_version] if args.key?(:engine_version)
215
226
  @expire_time = args[:expire_time] if args.key?(:expire_time)
216
227
  @name = args[:name] if args.key?(:name)
@@ -219,6 +230,7 @@ module Google
219
230
  @shard_count = args[:shard_count] if args.key?(:shard_count)
220
231
  @state = args[:state] if args.key?(:state)
221
232
  @total_size_bytes = args[:total_size_bytes] if args.key?(:total_size_bytes)
233
+ @uid = args[:uid] if args.key?(:uid)
222
234
  end
223
235
  end
224
236
 
@@ -264,11 +276,22 @@ module Google
264
276
  # @return [String]
265
277
  attr_accessor :cluster_uid
266
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
+
267
285
  # Identifier. Full resource path of the backup collection.
268
286
  # Corresponds to the JSON property `name`
269
287
  # @return [String]
270
288
  attr_accessor :name
271
289
 
290
+ # Output only. System assigned unique identifier of the backup collection.
291
+ # Corresponds to the JSON property `uid`
292
+ # @return [String]
293
+ attr_accessor :uid
294
+
272
295
  def initialize(**args)
273
296
  update!(**args)
274
297
  end
@@ -277,7 +300,9 @@ module Google
277
300
  def update!(**args)
278
301
  @cluster = args[:cluster] if args.key?(:cluster)
279
302
  @cluster_uid = args[:cluster_uid] if args.key?(:cluster_uid)
303
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
280
304
  @name = args[:name] if args.key?(:name)
305
+ @uid = args[:uid] if args.key?(:uid)
281
306
  end
282
307
  end
283
308
 
@@ -478,12 +503,22 @@ module Google
478
503
  # @return [Array<Google::Apis::RedisV1::DiscoveryEndpoint>]
479
504
  attr_accessor :discovery_endpoints
480
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
+
481
511
  # Backups stored in Cloud Storage buckets. The Cloud Storage buckets need to be
482
512
  # the same region as the clusters.
483
513
  # Corresponds to the JSON property `gcsSource`
484
514
  # @return [Google::Apis::RedisV1::GcsBackupSource]
485
515
  attr_accessor :gcs_source
486
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
+
487
522
  # Maintenance policy per cluster.
488
523
  # Corresponds to the JSON property `maintenancePolicy`
489
524
  # @return [Google::Apis::RedisV1::ClusterMaintenancePolicy]
@@ -602,7 +637,9 @@ module Google
602
637
  @cross_cluster_replication_config = args[:cross_cluster_replication_config] if args.key?(:cross_cluster_replication_config)
603
638
  @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
604
639
  @discovery_endpoints = args[:discovery_endpoints] if args.key?(:discovery_endpoints)
640
+ @encryption_info = args[:encryption_info] if args.key?(:encryption_info)
605
641
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
642
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
606
643
  @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
607
644
  @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
608
645
  @managed_backup_source = args[:managed_backup_source] if args.key?(:managed_backup_source)
@@ -797,6 +834,12 @@ module Google
797
834
  class ConnectionDetail
798
835
  include Google::Apis::Core::Hashable
799
836
 
837
+ # Details of consumer resources in a PSC connection that is created through
838
+ # Service Connectivity Automation.
839
+ # Corresponds to the JSON property `pscAutoConnection`
840
+ # @return [Google::Apis::RedisV1::PscAutoConnection]
841
+ attr_accessor :psc_auto_connection
842
+
800
843
  # Details of consumer resources in a PSC connection.
801
844
  # Corresponds to the JSON property `pscConnection`
802
845
  # @return [Google::Apis::RedisV1::PscConnection]
@@ -808,6 +851,7 @@ module Google
808
851
 
809
852
  # Update properties of this object
810
853
  def update!(**args)
854
+ @psc_auto_connection = args[:psc_auto_connection] if args.key?(:psc_auto_connection)
811
855
  @psc_connection = args[:psc_connection] if args.key?(:psc_connection)
812
856
  end
813
857
  end
@@ -1370,6 +1414,44 @@ module Google
1370
1414
  end
1371
1415
  end
1372
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
+
1373
1455
  # Proto representing the access that a user has to a specific feature/service.
1374
1456
  # NextId: 3.
1375
1457
  class Entitlement
@@ -2280,8 +2362,8 @@ module Google
2280
2362
  class MachineConfiguration
2281
2363
  include Google::Apis::Core::Hashable
2282
2364
 
2283
- # The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again
2284
- # 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.
2285
2367
  # Corresponds to the JSON property `cpuCount`
2286
2368
  # @return [Fixnum]
2287
2369
  attr_accessor :cpu_count
@@ -2790,6 +2872,76 @@ module Google
2790
2872
  end
2791
2873
  end
2792
2874
 
2875
+ # Details of consumer resources in a PSC connection that is created through
2876
+ # Service Connectivity Automation.
2877
+ class PscAutoConnection
2878
+ include Google::Apis::Core::Hashable
2879
+
2880
+ # Output only. The IP allocated on the consumer network for the PSC forwarding
2881
+ # rule.
2882
+ # Corresponds to the JSON property `address`
2883
+ # @return [String]
2884
+ attr_accessor :address
2885
+
2886
+ # Output only. Type of the PSC connection.
2887
+ # Corresponds to the JSON property `connectionType`
2888
+ # @return [String]
2889
+ attr_accessor :connection_type
2890
+
2891
+ # Output only. The URI of the consumer side forwarding rule. Example: projects/`
2892
+ # projectNumOrId`/regions/us-east1/forwardingRules/`resourceId`.
2893
+ # Corresponds to the JSON property `forwardingRule`
2894
+ # @return [String]
2895
+ attr_accessor :forwarding_rule
2896
+
2897
+ # Required. The consumer network where the IP address resides, in the form of
2898
+ # projects/`project_id`/global/networks/`network_id`.
2899
+ # Corresponds to the JSON property `network`
2900
+ # @return [String]
2901
+ attr_accessor :network
2902
+
2903
+ # Required. The consumer project_id where the forwarding rule is created from.
2904
+ # Corresponds to the JSON property `projectId`
2905
+ # @return [String]
2906
+ attr_accessor :project_id
2907
+
2908
+ # Output only. The PSC connection id of the forwarding rule connected to the
2909
+ # service attachment.
2910
+ # Corresponds to the JSON property `pscConnectionId`
2911
+ # @return [String]
2912
+ attr_accessor :psc_connection_id
2913
+
2914
+ # Output only. The status of the PSC connection. Please note that this value is
2915
+ # updated periodically. Please use Private Service Connect APIs for the latest
2916
+ # status.
2917
+ # Corresponds to the JSON property `pscConnectionStatus`
2918
+ # @return [String]
2919
+ attr_accessor :psc_connection_status
2920
+
2921
+ # Output only. The service attachment which is the target of the PSC connection,
2922
+ # in the form of projects/`project-id`/regions/`region`/serviceAttachments/`
2923
+ # service-attachment-id`.
2924
+ # Corresponds to the JSON property `serviceAttachment`
2925
+ # @return [String]
2926
+ attr_accessor :service_attachment
2927
+
2928
+ def initialize(**args)
2929
+ update!(**args)
2930
+ end
2931
+
2932
+ # Update properties of this object
2933
+ def update!(**args)
2934
+ @address = args[:address] if args.key?(:address)
2935
+ @connection_type = args[:connection_type] if args.key?(:connection_type)
2936
+ @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
2937
+ @network = args[:network] if args.key?(:network)
2938
+ @project_id = args[:project_id] if args.key?(:project_id)
2939
+ @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
2940
+ @psc_connection_status = args[:psc_connection_status] if args.key?(:psc_connection_status)
2941
+ @service_attachment = args[:service_attachment] if args.key?(:service_attachment)
2942
+ end
2943
+ end
2944
+
2793
2945
  #
2794
2946
  class PscConfig
2795
2947
  include Google::Apis::Core::Hashable
@@ -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.64.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 = "20241114"
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
 
@@ -412,6 +418,12 @@ module Google
412
418
  include Google::Apis::Core::JsonObjectSupport
413
419
  end
414
420
 
421
+ class PscAutoConnection
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
415
427
  class PscConfig
416
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
429
 
@@ -569,6 +581,8 @@ module Google
569
581
  property :cluster, as: 'cluster'
570
582
  property :cluster_uid, as: 'clusterUid'
571
583
  property :create_time, as: 'createTime'
584
+ property :encryption_info, as: 'encryptionInfo', class: Google::Apis::RedisV1::EncryptionInfo, decorator: Google::Apis::RedisV1::EncryptionInfo::Representation
585
+
572
586
  property :engine_version, as: 'engineVersion'
573
587
  property :expire_time, as: 'expireTime'
574
588
  property :name, as: 'name'
@@ -577,6 +591,7 @@ module Google
577
591
  property :shard_count, as: 'shardCount'
578
592
  property :state, as: 'state'
579
593
  property :total_size_bytes, :numeric_string => true, as: 'totalSizeBytes'
594
+ property :uid, as: 'uid'
580
595
  end
581
596
  end
582
597
 
@@ -593,7 +608,9 @@ module Google
593
608
  class Representation < Google::Apis::Core::JsonRepresentation
594
609
  property :cluster, as: 'cluster'
595
610
  property :cluster_uid, as: 'clusterUid'
611
+ property :kms_key, as: 'kmsKey'
596
612
  property :name, as: 'name'
613
+ property :uid, as: 'uid'
597
614
  end
598
615
  end
599
616
 
@@ -658,8 +675,11 @@ module Google
658
675
  property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
659
676
  collection :discovery_endpoints, as: 'discoveryEndpoints', class: Google::Apis::RedisV1::DiscoveryEndpoint, decorator: Google::Apis::RedisV1::DiscoveryEndpoint::Representation
660
677
 
678
+ property :encryption_info, as: 'encryptionInfo', class: Google::Apis::RedisV1::EncryptionInfo, decorator: Google::Apis::RedisV1::EncryptionInfo::Representation
679
+
661
680
  property :gcs_source, as: 'gcsSource', class: Google::Apis::RedisV1::GcsBackupSource, decorator: Google::Apis::RedisV1::GcsBackupSource::Representation
662
681
 
682
+ property :kms_key, as: 'kmsKey'
663
683
  property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::RedisV1::ClusterMaintenancePolicy, decorator: Google::Apis::RedisV1::ClusterMaintenancePolicy::Representation
664
684
 
665
685
  property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::RedisV1::ClusterMaintenanceSchedule, decorator: Google::Apis::RedisV1::ClusterMaintenanceSchedule::Representation
@@ -748,6 +768,8 @@ module Google
748
768
  class ConnectionDetail
749
769
  # @private
750
770
  class Representation < Google::Apis::Core::JsonRepresentation
771
+ property :psc_auto_connection, as: 'pscAutoConnection', class: Google::Apis::RedisV1::PscAutoConnection, decorator: Google::Apis::RedisV1::PscAutoConnection::Representation
772
+
751
773
  property :psc_connection, as: 'pscConnection', class: Google::Apis::RedisV1::PscConnection, decorator: Google::Apis::RedisV1::PscConnection::Representation
752
774
 
753
775
  end
@@ -892,6 +914,16 @@ module Google
892
914
  end
893
915
  end
894
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
+
895
927
  class Entitlement
896
928
  # @private
897
929
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1270,6 +1302,20 @@ module Google
1270
1302
  end
1271
1303
  end
1272
1304
 
1305
+ class PscAutoConnection
1306
+ # @private
1307
+ class Representation < Google::Apis::Core::JsonRepresentation
1308
+ property :address, as: 'address'
1309
+ property :connection_type, as: 'connectionType'
1310
+ property :forwarding_rule, as: 'forwardingRule'
1311
+ property :network, as: 'network'
1312
+ property :project_id, as: 'projectId'
1313
+ property :psc_connection_id, as: 'pscConnectionId'
1314
+ property :psc_connection_status, as: 'pscConnectionStatus'
1315
+ property :service_attachment, as: 'serviceAttachment'
1316
+ end
1317
+ end
1318
+
1273
1319
  class PscConfig
1274
1320
  # @private
1275
1321
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -351,7 +351,12 @@ module Google
351
351
  # this collection. Both collection and backup will have a resource name. Backup
352
352
  # will be executed for each shard. A replica (primary if nonHA) will be selected
353
353
  # to perform the execution. Backup call will be rejected if there is an ongoing
354
- # backup or update operation.
354
+ # backup or update operation. Be aware that during preview, if the cluster's
355
+ # internal software version is too old, critical update will be performed before
356
+ # actual backup. Once the internal software version is updated to the minimum
357
+ # version required by the backup feature, subsequent backups will not require
358
+ # critical update. After preview, there will be no critical update needed for
359
+ # backup.
355
360
  # @param [String] name
356
361
  # Required. Redis cluster resource name using the form: `projects/`project_id`/
357
362
  # locations/`location_id`/clusters/`cluster_id`` where `location_id` refers to a
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.64.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-04 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.64.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.22
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: []