google-apis-redis_v1beta1 0.55.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: 1fd1a30e69d135016e9810d3fbd1c3e1e7b6ace019072313307279887d9d3824
4
- data.tar.gz: 812edb1770530f625c333d4adcb2aac22613be9f86c8f6b2bbef8aede3cffb77
3
+ metadata.gz: 11ebc6c7b6e950b55a413b6331ddd1b3a797ea7596cd10143686a9aeea373d4c
4
+ data.tar.gz: 5a4ac97338776cbb4f3fd0a07dcd1056dd2301a7dc3199d4ecd8335360fc861b
5
5
  SHA512:
6
- metadata.gz: 819dc52deddc4f7145c66f4491c8eb740fa0cf3d222d98f7e48e002ec2c01d6099b775adef155079f02aec0f5226296bfede6e5e0dc0afda5294abc41512c7f1
7
- data.tar.gz: 0ed328302ae94d654d1569efdedcfa46c3ec38c124d383fcb1da658c286a6cb53c8a78c82dad173078ef9494a81a767552ace8baccb6b90b8e7360c9bce3807e
6
+ metadata.gz: a56c99ecdda302a5015753522a87fee5c1f865b9fecf14b08a330ed03e1ba41b5f7201a5e83f674f35dca588df449e0a8fdc777caa53d41033ebc9a6bacd3aff
7
+ data.tar.gz: 508e929c6a8cf41b7364bfe825ad285f96b3134a1f467cd7f0894bd97855f42aef71a6b27c456e9dab90f756d44113c310d1f5e12d6cb29f82afbf3c7aea8fd2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.56.0 (2024-12-08)
9
+
10
+ * Regenerated from discovery document revision 20241203
11
+
3
12
  ### v0.55.0 (2024-12-02)
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::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]
@@ -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::RedisV1beta1::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::RedisV1beta1::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::RedisV1beta1::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::RedisV1beta1::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::RedisV1beta1::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::RedisV1beta1::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
@@ -2283,8 +2365,8 @@ module Google
2283
2365
  class MachineConfiguration
2284
2366
  include Google::Apis::Core::Hashable
2285
2367
 
2286
- # The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again
2287
- # 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.
2288
2370
  # Corresponds to the JSON property `cpuCount`
2289
2371
  # @return [Fixnum]
2290
2372
  attr_accessor :cpu_count
@@ -2793,6 +2875,76 @@ module Google
2793
2875
  end
2794
2876
  end
2795
2877
 
2878
+ # Details of consumer resources in a PSC connection that is created through
2879
+ # Service Connectivity Automation.
2880
+ class PscAutoConnection
2881
+ include Google::Apis::Core::Hashable
2882
+
2883
+ # Output only. The IP allocated on the consumer network for the PSC forwarding
2884
+ # rule.
2885
+ # Corresponds to the JSON property `address`
2886
+ # @return [String]
2887
+ attr_accessor :address
2888
+
2889
+ # Output only. Type of the PSC connection.
2890
+ # Corresponds to the JSON property `connectionType`
2891
+ # @return [String]
2892
+ attr_accessor :connection_type
2893
+
2894
+ # Output only. The URI of the consumer side forwarding rule. Example: projects/`
2895
+ # projectNumOrId`/regions/us-east1/forwardingRules/`resourceId`.
2896
+ # Corresponds to the JSON property `forwardingRule`
2897
+ # @return [String]
2898
+ attr_accessor :forwarding_rule
2899
+
2900
+ # Required. The consumer network where the IP address resides, in the form of
2901
+ # projects/`project_id`/global/networks/`network_id`.
2902
+ # Corresponds to the JSON property `network`
2903
+ # @return [String]
2904
+ attr_accessor :network
2905
+
2906
+ # Required. The consumer project_id where the forwarding rule is created from.
2907
+ # Corresponds to the JSON property `projectId`
2908
+ # @return [String]
2909
+ attr_accessor :project_id
2910
+
2911
+ # Output only. The PSC connection id of the forwarding rule connected to the
2912
+ # service attachment.
2913
+ # Corresponds to the JSON property `pscConnectionId`
2914
+ # @return [String]
2915
+ attr_accessor :psc_connection_id
2916
+
2917
+ # Output only. The status of the PSC connection. Please note that this value is
2918
+ # updated periodically. Please use Private Service Connect APIs for the latest
2919
+ # status.
2920
+ # Corresponds to the JSON property `pscConnectionStatus`
2921
+ # @return [String]
2922
+ attr_accessor :psc_connection_status
2923
+
2924
+ # Output only. The service attachment which is the target of the PSC connection,
2925
+ # in the form of projects/`project-id`/regions/`region`/serviceAttachments/`
2926
+ # service-attachment-id`.
2927
+ # Corresponds to the JSON property `serviceAttachment`
2928
+ # @return [String]
2929
+ attr_accessor :service_attachment
2930
+
2931
+ def initialize(**args)
2932
+ update!(**args)
2933
+ end
2934
+
2935
+ # Update properties of this object
2936
+ def update!(**args)
2937
+ @address = args[:address] if args.key?(:address)
2938
+ @connection_type = args[:connection_type] if args.key?(:connection_type)
2939
+ @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
2940
+ @network = args[:network] if args.key?(:network)
2941
+ @project_id = args[:project_id] if args.key?(:project_id)
2942
+ @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
2943
+ @psc_connection_status = args[:psc_connection_status] if args.key?(:psc_connection_status)
2944
+ @service_attachment = args[:service_attachment] if args.key?(:service_attachment)
2945
+ end
2946
+ end
2947
+
2796
2948
  #
2797
2949
  class PscConfig
2798
2950
  include Google::Apis::Core::Hashable
@@ -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.55.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 = "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::RedisV1beta1::EncryptionInfo, decorator: Google::Apis::RedisV1beta1::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::RedisV1beta1::DiscoveryEndpoint, decorator: Google::Apis::RedisV1beta1::DiscoveryEndpoint::Representation
660
677
 
678
+ property :encryption_info, as: 'encryptionInfo', class: Google::Apis::RedisV1beta1::EncryptionInfo, decorator: Google::Apis::RedisV1beta1::EncryptionInfo::Representation
679
+
661
680
  property :gcs_source, as: 'gcsSource', class: Google::Apis::RedisV1beta1::GcsBackupSource, decorator: Google::Apis::RedisV1beta1::GcsBackupSource::Representation
662
681
 
682
+ property :kms_key, as: 'kmsKey'
663
683
  property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::RedisV1beta1::ClusterMaintenancePolicy, decorator: Google::Apis::RedisV1beta1::ClusterMaintenancePolicy::Representation
664
684
 
665
685
  property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::RedisV1beta1::ClusterMaintenanceSchedule, decorator: Google::Apis::RedisV1beta1::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::RedisV1beta1::PscAutoConnection, decorator: Google::Apis::RedisV1beta1::PscAutoConnection::Representation
772
+
751
773
  property :psc_connection, as: 'pscConnection', class: Google::Apis::RedisV1beta1::PscConnection, decorator: Google::Apis::RedisV1beta1::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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.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-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
@@ -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.55.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.22
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: []