google-apis-redis_v1 0.57.0 → 0.59.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: ca9cab30ec72e89002bcb8a553069286e3b196d5132b51a624f4a7d2510ce6b4
4
- data.tar.gz: '060368b0dc2459ae5adb39b201993f559b1646037d96d638cf2121d46edee50b'
3
+ metadata.gz: d123cd8d149c897db5ab9155581a36cc792ecc4fa049467fbd572e8165e7fa3b
4
+ data.tar.gz: 4721fffb74ec5dcbd77fb8a7490d932ced5852b197f1ad779356cd7cd61a0097
5
5
  SHA512:
6
- metadata.gz: 7ece1e2851e2745944a4ad8ff9ccd126c399f027a094a105d640e0e1c172d13603dc942e5369bb21a58248e1cb761650e5678178daf8ab118881271f48034ee8
7
- data.tar.gz: cf4df4f765a105f2b5a45d6a44581831ff0f4b7f32ae3b1efd660a63530f5223bd4b487db2229af5d7bf4a29e658ccb9d3695fae515945df05b69ddb3751e546
6
+ metadata.gz: e01e843f47761ee0271b1cc0ba8409f6c46be7fa5ca3959a08bb38676fa9488dae828c0702c4f08f9bf50836616eb1a51964264e53f9f1ea1e2b6a0e1700340d
7
+ data.tar.gz: 42fdfa09693e4e844b37055fff667428e54e1d3a2f87d095ff48fef89f74bac2c988ae125ac076e2ffd6605e724fb440fc4a742c59cd19a86c97b32320ce5815
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-redis_v1
2
2
 
3
+ ### v0.59.0 (2024-09-01)
4
+
5
+ * Regenerated from discovery document revision 20240822
6
+
7
+ ### v0.58.0 (2024-08-18)
8
+
9
+ * Regenerated from discovery document revision 20240812
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.57.0 (2024-07-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240711
@@ -45,6 +45,14 @@ module Google
45
45
  class AvailabilityConfiguration
46
46
  include Google::Apis::Core::Hashable
47
47
 
48
+ # Checks for existence of (multi-cluster) routing configuration that allows
49
+ # automatic failover to a different zone/region in case of an outage. Applicable
50
+ # to Bigtable resources.
51
+ # Corresponds to the JSON property `automaticFailoverRoutingConfigured`
52
+ # @return [Boolean]
53
+ attr_accessor :automatic_failover_routing_configured
54
+ alias_method :automatic_failover_routing_configured?, :automatic_failover_routing_configured
55
+
48
56
  # Availability type. Potential values: * `ZONAL`: The instance serves data from
49
57
  # only one zone. Outages in that zone affect data accessibility. * `REGIONAL`:
50
58
  # The instance can serve data from more than one zone in a region (it is highly
@@ -78,6 +86,7 @@ module Google
78
86
 
79
87
  # Update properties of this object
80
88
  def update!(**args)
89
+ @automatic_failover_routing_configured = args[:automatic_failover_routing_configured] if args.key?(:automatic_failover_routing_configured)
81
90
  @availability_type = args[:availability_type] if args.key?(:availability_type)
82
91
  @cross_region_replica_configured = args[:cross_region_replica_configured] if args.key?(:cross_region_replica_configured)
83
92
  @external_replica_configured = args[:external_replica_configured] if args.key?(:external_replica_configured)
@@ -218,6 +227,11 @@ module Google
218
227
  # @return [String]
219
228
  attr_accessor :create_time
220
229
 
230
+ # Cross cluster replication config.
231
+ # Corresponds to the JSON property `crossClusterReplicationConfig`
232
+ # @return [Google::Apis::RedisV1::CrossClusterReplicationConfig]
233
+ attr_accessor :cross_cluster_replication_config
234
+
221
235
  # Optional. The delete operation will fail when the value is set to true.
222
236
  # Corresponds to the JSON property `deletionProtectionEnabled`
223
237
  # @return [Boolean]
@@ -230,6 +244,16 @@ module Google
230
244
  # @return [Array<Google::Apis::RedisV1::DiscoveryEndpoint>]
231
245
  attr_accessor :discovery_endpoints
232
246
 
247
+ # Maintenance policy per cluster.
248
+ # Corresponds to the JSON property `maintenancePolicy`
249
+ # @return [Google::Apis::RedisV1::ClusterMaintenancePolicy]
250
+ attr_accessor :maintenance_policy
251
+
252
+ # Upcoming maitenance schedule.
253
+ # Corresponds to the JSON property `maintenanceSchedule`
254
+ # @return [Google::Apis::RedisV1::ClusterMaintenanceSchedule]
255
+ attr_accessor :maintenance_schedule
256
+
233
257
  # Required. Identifier. Unique name of the resource in this scope including
234
258
  # project and location using the form: `projects/`project_id`/locations/`
235
259
  # location_id`/clusters/`cluster_id``
@@ -276,7 +300,7 @@ module Google
276
300
  # @return [Fixnum]
277
301
  attr_accessor :replica_count
278
302
 
279
- # Required. Number of shards for the Redis cluster.
303
+ # Optional. Number of shards for the Redis cluster.
280
304
  # Corresponds to the JSON property `shardCount`
281
305
  # @return [Fixnum]
282
306
  attr_accessor :shard_count
@@ -322,8 +346,11 @@ module Google
322
346
  def update!(**args)
323
347
  @authorization_mode = args[:authorization_mode] if args.key?(:authorization_mode)
324
348
  @create_time = args[:create_time] if args.key?(:create_time)
349
+ @cross_cluster_replication_config = args[:cross_cluster_replication_config] if args.key?(:cross_cluster_replication_config)
325
350
  @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
326
351
  @discovery_endpoints = args[:discovery_endpoints] if args.key?(:discovery_endpoints)
352
+ @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
353
+ @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
327
354
  @name = args[:name] if args.key?(:name)
328
355
  @node_type = args[:node_type] if args.key?(:node_type)
329
356
  @persistence_config = args[:persistence_config] if args.key?(:persistence_config)
@@ -342,6 +369,75 @@ module Google
342
369
  end
343
370
  end
344
371
 
372
+ # Maintenance policy per cluster.
373
+ class ClusterMaintenancePolicy
374
+ include Google::Apis::Core::Hashable
375
+
376
+ # Output only. The time when the policy was created i.e. Maintenance Window or
377
+ # Deny Period was assigned.
378
+ # Corresponds to the JSON property `createTime`
379
+ # @return [String]
380
+ attr_accessor :create_time
381
+
382
+ # Output only. The time when the policy was updated i.e. Maintenance Window or
383
+ # Deny Period was updated.
384
+ # Corresponds to the JSON property `updateTime`
385
+ # @return [String]
386
+ attr_accessor :update_time
387
+
388
+ # Optional. Maintenance window that is applied to resources covered by this
389
+ # policy. Minimum 1. For the current version, the maximum number of
390
+ # weekly_maintenance_window is expected to be one.
391
+ # Corresponds to the JSON property `weeklyMaintenanceWindow`
392
+ # @return [Array<Google::Apis::RedisV1::ClusterWeeklyMaintenanceWindow>]
393
+ attr_accessor :weekly_maintenance_window
394
+
395
+ def initialize(**args)
396
+ update!(**args)
397
+ end
398
+
399
+ # Update properties of this object
400
+ def update!(**args)
401
+ @create_time = args[:create_time] if args.key?(:create_time)
402
+ @update_time = args[:update_time] if args.key?(:update_time)
403
+ @weekly_maintenance_window = args[:weekly_maintenance_window] if args.key?(:weekly_maintenance_window)
404
+ end
405
+ end
406
+
407
+ # Upcoming maitenance schedule.
408
+ class ClusterMaintenanceSchedule
409
+ include Google::Apis::Core::Hashable
410
+
411
+ # Output only. The end time of any upcoming scheduled maintenance for this
412
+ # instance.
413
+ # Corresponds to the JSON property `endTime`
414
+ # @return [String]
415
+ attr_accessor :end_time
416
+
417
+ # Output only. The deadline that the maintenance schedule start time can not go
418
+ # beyond, including reschedule.
419
+ # Corresponds to the JSON property `scheduleDeadlineTime`
420
+ # @return [String]
421
+ attr_accessor :schedule_deadline_time
422
+
423
+ # Output only. The start time of any upcoming scheduled maintenance for this
424
+ # instance.
425
+ # Corresponds to the JSON property `startTime`
426
+ # @return [String]
427
+ attr_accessor :start_time
428
+
429
+ def initialize(**args)
430
+ update!(**args)
431
+ end
432
+
433
+ # Update properties of this object
434
+ def update!(**args)
435
+ @end_time = args[:end_time] if args.key?(:end_time)
436
+ @schedule_deadline_time = args[:schedule_deadline_time] if args.key?(:schedule_deadline_time)
437
+ @start_time = args[:start_time] if args.key?(:start_time)
438
+ end
439
+ end
440
+
345
441
  # Configuration of the persistence functionality.
346
442
  class ClusterPersistenceConfig
347
443
  include Google::Apis::Core::Hashable
@@ -373,6 +469,39 @@ module Google
373
469
  end
374
470
  end
375
471
 
472
+ # Time window specified for weekly operations.
473
+ class ClusterWeeklyMaintenanceWindow
474
+ include Google::Apis::Core::Hashable
475
+
476
+ # Allows to define schedule that runs specified day of the week.
477
+ # Corresponds to the JSON property `day`
478
+ # @return [String]
479
+ attr_accessor :day
480
+
481
+ # Duration of the time window.
482
+ # Corresponds to the JSON property `duration`
483
+ # @return [String]
484
+ attr_accessor :duration
485
+
486
+ # Represents a time of day. The date and time zone are either not significant or
487
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
488
+ # types are google.type.Date and `google.protobuf.Timestamp`.
489
+ # Corresponds to the JSON property `startTime`
490
+ # @return [Google::Apis::RedisV1::TimeOfDay]
491
+ attr_accessor :start_time
492
+
493
+ def initialize(**args)
494
+ update!(**args)
495
+ end
496
+
497
+ # Update properties of this object
498
+ def update!(**args)
499
+ @day = args[:day] if args.key?(:day)
500
+ @duration = args[:duration] if args.key?(:duration)
501
+ @start_time = args[:start_time] if args.key?(:start_time)
502
+ end
503
+ end
504
+
376
505
  # Contains compliance information about a security standard indicating unmet
377
506
  # recommendations.
378
507
  class Compliance
@@ -399,16 +528,37 @@ module Google
399
528
  end
400
529
  end
401
530
 
402
- # Any custom metadata associated with the resource. i.e. A spanner instance can
403
- # have multiple databases with its own unique metadata. Information for these
404
- # individual databases can be captured in custom metadata data
405
- class CustomMetadataData
531
+ # Cross cluster replication config.
532
+ class CrossClusterReplicationConfig
406
533
  include Google::Apis::Core::Hashable
407
534
 
408
- #
409
- # Corresponds to the JSON property `databaseMetadata`
410
- # @return [Array<Google::Apis::RedisV1::DatabaseMetadata>]
411
- attr_accessor :database_metadata
535
+ # The role of the cluster in cross cluster replication.
536
+ # Corresponds to the JSON property `clusterRole`
537
+ # @return [String]
538
+ attr_accessor :cluster_role
539
+
540
+ # An output only view of all the member clusters participating in the cross
541
+ # cluster replication.
542
+ # Corresponds to the JSON property `membership`
543
+ # @return [Google::Apis::RedisV1::Membership]
544
+ attr_accessor :membership
545
+
546
+ # Details of the remote cluster associated with this cluster in a cross cluster
547
+ # replication setup.
548
+ # Corresponds to the JSON property `primaryCluster`
549
+ # @return [Google::Apis::RedisV1::RemoteCluster]
550
+ attr_accessor :primary_cluster
551
+
552
+ # List of secondary clusters that are replicating from this primary cluster.
553
+ # This field is only set for a primary cluster.
554
+ # Corresponds to the JSON property `secondaryClusters`
555
+ # @return [Array<Google::Apis::RedisV1::RemoteCluster>]
556
+ attr_accessor :secondary_clusters
557
+
558
+ # Output only. The last time cross cluster replication config was updated.
559
+ # Corresponds to the JSON property `updateTime`
560
+ # @return [String]
561
+ attr_accessor :update_time
412
562
 
413
563
  def initialize(**args)
414
564
  update!(**args)
@@ -416,40 +566,25 @@ module Google
416
566
 
417
567
  # Update properties of this object
418
568
  def update!(**args)
419
- @database_metadata = args[:database_metadata] if args.key?(:database_metadata)
569
+ @cluster_role = args[:cluster_role] if args.key?(:cluster_role)
570
+ @membership = args[:membership] if args.key?(:membership)
571
+ @primary_cluster = args[:primary_cluster] if args.key?(:primary_cluster)
572
+ @secondary_clusters = args[:secondary_clusters] if args.key?(:secondary_clusters)
573
+ @update_time = args[:update_time] if args.key?(:update_time)
420
574
  end
421
575
  end
422
576
 
423
- # Metadata for individual databases created in an instance. i.e. spanner
424
- # instance can have multiple databases with unique configuration settings.
425
- class DatabaseMetadata
577
+ # Any custom metadata associated with the resource. e.g. A spanner instance can
578
+ # have multiple databases with its own unique metadata. Information for these
579
+ # individual databases can be captured in custom metadata data
580
+ class CustomMetadataData
426
581
  include Google::Apis::Core::Hashable
427
582
 
428
- # Configuration for automatic backups
429
- # Corresponds to the JSON property `backupConfiguration`
430
- # @return [Google::Apis::RedisV1::BackupConfiguration]
431
- attr_accessor :backup_configuration
432
-
433
- # A backup run.
434
- # Corresponds to the JSON property `backupRun`
435
- # @return [Google::Apis::RedisV1::BackupRun]
436
- attr_accessor :backup_run
437
-
438
- # Product specification for Condor resources.
439
- # Corresponds to the JSON property `product`
440
- # @return [Google::Apis::RedisV1::Product]
441
- attr_accessor :product
442
-
443
- # DatabaseResourceId will serve as primary key for any resource ingestion event.
444
- # Corresponds to the JSON property `resourceId`
445
- # @return [Google::Apis::RedisV1::DatabaseResourceId]
446
- attr_accessor :resource_id
447
-
448
- # Required. Database name. Resource name to follow CAIS resource_name format as
449
- # noted here go/condor-common-datamodel
450
- # Corresponds to the JSON property `resourceName`
451
- # @return [String]
452
- attr_accessor :resource_name
583
+ # Metadata for individual internal resources in an instance. e.g. spanner
584
+ # instance can have multiple databases with unique configuration.
585
+ # Corresponds to the JSON property `internalResourceMetadata`
586
+ # @return [Array<Google::Apis::RedisV1::InternalResourceMetadata>]
587
+ attr_accessor :internal_resource_metadata
453
588
 
454
589
  def initialize(**args)
455
590
  update!(**args)
@@ -457,11 +592,7 @@ module Google
457
592
 
458
593
  # Update properties of this object
459
594
  def update!(**args)
460
- @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
461
- @backup_run = args[:backup_run] if args.key?(:backup_run)
462
- @product = args[:product] if args.key?(:product)
463
- @resource_id = args[:resource_id] if args.key?(:resource_id)
464
- @resource_name = args[:resource_name] if args.key?(:resource_name)
595
+ @internal_resource_metadata = args[:internal_resource_metadata] if args.key?(:internal_resource_metadata)
465
596
  end
466
597
  end
467
598
 
@@ -593,6 +724,11 @@ module Google
593
724
  # @return [String]
594
725
  attr_accessor :signal_id
595
726
 
727
+ # The severity of the signal, such as if it's a HIGH or LOW severity.
728
+ # Corresponds to the JSON property `signalSeverity`
729
+ # @return [String]
730
+ attr_accessor :signal_severity
731
+
596
732
  # Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `
597
733
  # LOGGING_MOST_ERRORS`, etc.
598
734
  # Corresponds to the JSON property `signalType`
@@ -621,6 +757,7 @@ module Google
621
757
  @resource_name = args[:resource_name] if args.key?(:resource_name)
622
758
  @signal_class = args[:signal_class] if args.key?(:signal_class)
623
759
  @signal_id = args[:signal_id] if args.key?(:signal_id)
760
+ @signal_severity = args[:signal_severity] if args.key?(:signal_severity)
624
761
  @signal_type = args[:signal_type] if args.key?(:signal_type)
625
762
  @state = args[:state] if args.key?(:state)
626
763
  end
@@ -642,8 +779,10 @@ module Google
642
779
 
643
780
  # Required. The type of resource this ID is identifying. Ex redis.googleapis.com/
644
781
  # Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster,
645
- # alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED
646
- # Please refer go/condor-common-datamodel
782
+ # alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance, spanner.
783
+ # googleapis.com/Database, firestore.googleapis.com/Database, sqladmin.
784
+ # googleapis.com/Instance, bigtableadmin.googleapis.com/Cluster, bigtableadmin.
785
+ # googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel
647
786
  # Corresponds to the JSON property `resourceType`
648
787
  # @return [String]
649
788
  attr_accessor :resource_type
@@ -697,7 +836,7 @@ module Google
697
836
  # @return [String]
698
837
  attr_accessor :current_state
699
838
 
700
- # Any custom metadata associated with the resource. i.e. A spanner instance can
839
+ # Any custom metadata associated with the resource. e.g. A spanner instance can
701
840
  # have multiple databases with its own unique metadata. Information for these
702
841
  # individual databases can be captured in custom metadata data
703
842
  # Corresponds to the JSON property `customMetadata`
@@ -1473,6 +1612,52 @@ module Google
1473
1612
  end
1474
1613
  end
1475
1614
 
1615
+ # Metadata for individual internal resources in an instance. e.g. spanner
1616
+ # instance can have multiple databases with unique configuration settings.
1617
+ # Similarly bigtable can have multiple clusters within same bigtable instance.
1618
+ class InternalResourceMetadata
1619
+ include Google::Apis::Core::Hashable
1620
+
1621
+ # Configuration for automatic backups
1622
+ # Corresponds to the JSON property `backupConfiguration`
1623
+ # @return [Google::Apis::RedisV1::BackupConfiguration]
1624
+ attr_accessor :backup_configuration
1625
+
1626
+ # A backup run.
1627
+ # Corresponds to the JSON property `backupRun`
1628
+ # @return [Google::Apis::RedisV1::BackupRun]
1629
+ attr_accessor :backup_run
1630
+
1631
+ # Product specification for Condor resources.
1632
+ # Corresponds to the JSON property `product`
1633
+ # @return [Google::Apis::RedisV1::Product]
1634
+ attr_accessor :product
1635
+
1636
+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
1637
+ # Corresponds to the JSON property `resourceId`
1638
+ # @return [Google::Apis::RedisV1::DatabaseResourceId]
1639
+ attr_accessor :resource_id
1640
+
1641
+ # Required. internal resource name for spanner this will be database name e.g."
1642
+ # spanner.googleapis.com/projects/123/abc/instances/inst1/databases/db1"
1643
+ # Corresponds to the JSON property `resourceName`
1644
+ # @return [String]
1645
+ attr_accessor :resource_name
1646
+
1647
+ def initialize(**args)
1648
+ update!(**args)
1649
+ end
1650
+
1651
+ # Update properties of this object
1652
+ def update!(**args)
1653
+ @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
1654
+ @backup_run = args[:backup_run] if args.key?(:backup_run)
1655
+ @product = args[:product] if args.key?(:product)
1656
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
1657
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
1658
+ end
1659
+ end
1660
+
1476
1661
  # Response for ListClusters.
1477
1662
  class ListClustersResponse
1478
1663
  include Google::Apis::Core::Hashable
@@ -1779,6 +1964,34 @@ module Google
1779
1964
  end
1780
1965
  end
1781
1966
 
1967
+ # An output only view of all the member clusters participating in the cross
1968
+ # cluster replication.
1969
+ class Membership
1970
+ include Google::Apis::Core::Hashable
1971
+
1972
+ # Details of the remote cluster associated with this cluster in a cross cluster
1973
+ # replication setup.
1974
+ # Corresponds to the JSON property `primaryCluster`
1975
+ # @return [Google::Apis::RedisV1::RemoteCluster]
1976
+ attr_accessor :primary_cluster
1977
+
1978
+ # Output only. The list of secondary clusters replicating from the primary
1979
+ # cluster.
1980
+ # Corresponds to the JSON property `secondaryClusters`
1981
+ # @return [Array<Google::Apis::RedisV1::RemoteCluster>]
1982
+ attr_accessor :secondary_clusters
1983
+
1984
+ def initialize(**args)
1985
+ update!(**args)
1986
+ end
1987
+
1988
+ # Update properties of this object
1989
+ def update!(**args)
1990
+ @primary_cluster = args[:primary_cluster] if args.key?(:primary_cluster)
1991
+ @secondary_clusters = args[:secondary_clusters] if args.key?(:secondary_clusters)
1992
+ end
1993
+ end
1994
+
1782
1995
  # Node specific properties.
1783
1996
  class NodeInfo
1784
1997
  include Google::Apis::Core::Hashable
@@ -2222,6 +2435,61 @@ module Google
2222
2435
  end
2223
2436
  end
2224
2437
 
2438
+ # Details of the remote cluster associated with this cluster in a cross cluster
2439
+ # replication setup.
2440
+ class RemoteCluster
2441
+ include Google::Apis::Core::Hashable
2442
+
2443
+ # The full resource path of the remote cluster in the format: projects//
2444
+ # locations//clusters/
2445
+ # Corresponds to the JSON property `cluster`
2446
+ # @return [String]
2447
+ attr_accessor :cluster
2448
+
2449
+ # Output only. The unique identifier of the remote cluster.
2450
+ # Corresponds to the JSON property `uid`
2451
+ # @return [String]
2452
+ attr_accessor :uid
2453
+
2454
+ def initialize(**args)
2455
+ update!(**args)
2456
+ end
2457
+
2458
+ # Update properties of this object
2459
+ def update!(**args)
2460
+ @cluster = args[:cluster] if args.key?(:cluster)
2461
+ @uid = args[:uid] if args.key?(:uid)
2462
+ end
2463
+ end
2464
+
2465
+ # Request for rescheduling a cluster maintenance.
2466
+ class RescheduleClusterMaintenanceRequest
2467
+ include Google::Apis::Core::Hashable
2468
+
2469
+ # Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as
2470
+ # well.
2471
+ # Corresponds to the JSON property `rescheduleType`
2472
+ # @return [String]
2473
+ attr_accessor :reschedule_type
2474
+
2475
+ # Optional. Timestamp when the maintenance shall be rescheduled to if
2476
+ # reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:
2477
+ # 19:00.094Z`.
2478
+ # Corresponds to the JSON property `scheduleTime`
2479
+ # @return [String]
2480
+ attr_accessor :schedule_time
2481
+
2482
+ def initialize(**args)
2483
+ update!(**args)
2484
+ end
2485
+
2486
+ # Update properties of this object
2487
+ def update!(**args)
2488
+ @reschedule_type = args[:reschedule_type] if args.key?(:reschedule_type)
2489
+ @schedule_time = args[:schedule_time] if args.key?(:schedule_time)
2490
+ end
2491
+ end
2492
+
2225
2493
  # Request for RescheduleMaintenance.
2226
2494
  class RescheduleMaintenanceRequest
2227
2495
  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.57.0"
19
+ GEM_VERSION = "0.59.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240711"
25
+ REVISION = "20240822"
26
26
  end
27
27
  end
28
28
  end
@@ -64,25 +64,43 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class ClusterMaintenancePolicy
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ClusterMaintenanceSchedule
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
67
79
  class ClusterPersistenceConfig
68
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
81
 
70
82
  include Google::Apis::Core::JsonObjectSupport
71
83
  end
72
84
 
85
+ class ClusterWeeklyMaintenanceWindow
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
73
91
  class Compliance
74
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
93
 
76
94
  include Google::Apis::Core::JsonObjectSupport
77
95
  end
78
96
 
79
- class CustomMetadataData
97
+ class CrossClusterReplicationConfig
80
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
99
 
82
100
  include Google::Apis::Core::JsonObjectSupport
83
101
  end
84
102
 
85
- class DatabaseMetadata
103
+ class CustomMetadataData
86
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
105
 
88
106
  include Google::Apis::Core::JsonObjectSupport
@@ -202,6 +220,12 @@ module Google
202
220
  include Google::Apis::Core::JsonObjectSupport
203
221
  end
204
222
 
223
+ class InternalResourceMetadata
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
205
229
  class ListClustersResponse
206
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
231
 
@@ -256,6 +280,12 @@ module Google
256
280
  include Google::Apis::Core::JsonObjectSupport
257
281
  end
258
282
 
283
+ class Membership
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
259
289
  class NodeInfo
260
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
291
 
@@ -328,6 +358,18 @@ module Google
328
358
  include Google::Apis::Core::JsonObjectSupport
329
359
  end
330
360
 
361
+ class RemoteCluster
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class RescheduleClusterMaintenanceRequest
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
331
373
  class RescheduleMaintenanceRequest
332
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
375
 
@@ -410,6 +452,7 @@ module Google
410
452
  class AvailabilityConfiguration
411
453
  # @private
412
454
  class Representation < Google::Apis::Core::JsonRepresentation
455
+ property :automatic_failover_routing_configured, as: 'automaticFailoverRoutingConfigured'
413
456
  property :availability_type, as: 'availabilityType'
414
457
  property :cross_region_replica_configured, as: 'crossRegionReplicaConfigured'
415
458
  property :external_replica_configured, as: 'externalReplicaConfigured'
@@ -459,9 +502,15 @@ module Google
459
502
  class Representation < Google::Apis::Core::JsonRepresentation
460
503
  property :authorization_mode, as: 'authorizationMode'
461
504
  property :create_time, as: 'createTime'
505
+ property :cross_cluster_replication_config, as: 'crossClusterReplicationConfig', class: Google::Apis::RedisV1::CrossClusterReplicationConfig, decorator: Google::Apis::RedisV1::CrossClusterReplicationConfig::Representation
506
+
462
507
  property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
463
508
  collection :discovery_endpoints, as: 'discoveryEndpoints', class: Google::Apis::RedisV1::DiscoveryEndpoint, decorator: Google::Apis::RedisV1::DiscoveryEndpoint::Representation
464
509
 
510
+ property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::RedisV1::ClusterMaintenancePolicy, decorator: Google::Apis::RedisV1::ClusterMaintenancePolicy::Representation
511
+
512
+ property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::RedisV1::ClusterMaintenanceSchedule, decorator: Google::Apis::RedisV1::ClusterMaintenanceSchedule::Representation
513
+
465
514
  property :name, as: 'name'
466
515
  property :node_type, as: 'nodeType'
467
516
  property :persistence_config, as: 'persistenceConfig', class: Google::Apis::RedisV1::ClusterPersistenceConfig, decorator: Google::Apis::RedisV1::ClusterPersistenceConfig::Representation
@@ -485,6 +534,25 @@ module Google
485
534
  end
486
535
  end
487
536
 
537
+ class ClusterMaintenancePolicy
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :create_time, as: 'createTime'
541
+ property :update_time, as: 'updateTime'
542
+ collection :weekly_maintenance_window, as: 'weeklyMaintenanceWindow', class: Google::Apis::RedisV1::ClusterWeeklyMaintenanceWindow, decorator: Google::Apis::RedisV1::ClusterWeeklyMaintenanceWindow::Representation
543
+
544
+ end
545
+ end
546
+
547
+ class ClusterMaintenanceSchedule
548
+ # @private
549
+ class Representation < Google::Apis::Core::JsonRepresentation
550
+ property :end_time, as: 'endTime'
551
+ property :schedule_deadline_time, as: 'scheduleDeadlineTime'
552
+ property :start_time, as: 'startTime'
553
+ end
554
+ end
555
+
488
556
  class ClusterPersistenceConfig
489
557
  # @private
490
558
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -496,6 +564,16 @@ module Google
496
564
  end
497
565
  end
498
566
 
567
+ class ClusterWeeklyMaintenanceWindow
568
+ # @private
569
+ class Representation < Google::Apis::Core::JsonRepresentation
570
+ property :day, as: 'day'
571
+ property :duration, as: 'duration'
572
+ property :start_time, as: 'startTime', class: Google::Apis::RedisV1::TimeOfDay, decorator: Google::Apis::RedisV1::TimeOfDay::Representation
573
+
574
+ end
575
+ end
576
+
499
577
  class Compliance
500
578
  # @private
501
579
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -504,26 +582,25 @@ module Google
504
582
  end
505
583
  end
506
584
 
507
- class CustomMetadataData
585
+ class CrossClusterReplicationConfig
508
586
  # @private
509
587
  class Representation < Google::Apis::Core::JsonRepresentation
510
- collection :database_metadata, as: 'databaseMetadata', class: Google::Apis::RedisV1::DatabaseMetadata, decorator: Google::Apis::RedisV1::DatabaseMetadata::Representation
588
+ property :cluster_role, as: 'clusterRole'
589
+ property :membership, as: 'membership', class: Google::Apis::RedisV1::Membership, decorator: Google::Apis::RedisV1::Membership::Representation
590
+
591
+ property :primary_cluster, as: 'primaryCluster', class: Google::Apis::RedisV1::RemoteCluster, decorator: Google::Apis::RedisV1::RemoteCluster::Representation
511
592
 
593
+ collection :secondary_clusters, as: 'secondaryClusters', class: Google::Apis::RedisV1::RemoteCluster, decorator: Google::Apis::RedisV1::RemoteCluster::Representation
594
+
595
+ property :update_time, as: 'updateTime'
512
596
  end
513
597
  end
514
598
 
515
- class DatabaseMetadata
599
+ class CustomMetadataData
516
600
  # @private
517
601
  class Representation < Google::Apis::Core::JsonRepresentation
518
- property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::RedisV1::BackupConfiguration, decorator: Google::Apis::RedisV1::BackupConfiguration::Representation
519
-
520
- property :backup_run, as: 'backupRun', class: Google::Apis::RedisV1::BackupRun, decorator: Google::Apis::RedisV1::BackupRun::Representation
521
-
522
- property :product, as: 'product', class: Google::Apis::RedisV1::Product, decorator: Google::Apis::RedisV1::Product::Representation
523
-
524
- property :resource_id, as: 'resourceId', class: Google::Apis::RedisV1::DatabaseResourceId, decorator: Google::Apis::RedisV1::DatabaseResourceId::Representation
602
+ collection :internal_resource_metadata, as: 'internalResourceMetadata', class: Google::Apis::RedisV1::InternalResourceMetadata, decorator: Google::Apis::RedisV1::InternalResourceMetadata::Representation
525
603
 
526
- property :resource_name, as: 'resourceName'
527
604
  end
528
605
  end
529
606
 
@@ -560,6 +637,7 @@ module Google
560
637
  property :resource_name, as: 'resourceName'
561
638
  property :signal_class, as: 'signalClass'
562
639
  property :signal_id, as: 'signalId'
640
+ property :signal_severity, as: 'signalSeverity'
563
641
  property :signal_type, as: 'signalType'
564
642
  property :state, as: 'state'
565
643
  end
@@ -774,6 +852,21 @@ module Google
774
852
  end
775
853
  end
776
854
 
855
+ class InternalResourceMetadata
856
+ # @private
857
+ class Representation < Google::Apis::Core::JsonRepresentation
858
+ property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::RedisV1::BackupConfiguration, decorator: Google::Apis::RedisV1::BackupConfiguration::Representation
859
+
860
+ property :backup_run, as: 'backupRun', class: Google::Apis::RedisV1::BackupRun, decorator: Google::Apis::RedisV1::BackupRun::Representation
861
+
862
+ property :product, as: 'product', class: Google::Apis::RedisV1::Product, decorator: Google::Apis::RedisV1::Product::Representation
863
+
864
+ property :resource_id, as: 'resourceId', class: Google::Apis::RedisV1::DatabaseResourceId, decorator: Google::Apis::RedisV1::DatabaseResourceId::Representation
865
+
866
+ property :resource_name, as: 'resourceName'
867
+ end
868
+ end
869
+
777
870
  class ListClustersResponse
778
871
  # @private
779
872
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -860,6 +953,16 @@ module Google
860
953
  end
861
954
  end
862
955
 
956
+ class Membership
957
+ # @private
958
+ class Representation < Google::Apis::Core::JsonRepresentation
959
+ property :primary_cluster, as: 'primaryCluster', class: Google::Apis::RedisV1::RemoteCluster, decorator: Google::Apis::RedisV1::RemoteCluster::Representation
960
+
961
+ collection :secondary_clusters, as: 'secondaryClusters', class: Google::Apis::RedisV1::RemoteCluster, decorator: Google::Apis::RedisV1::RemoteCluster::Representation
962
+
963
+ end
964
+ end
965
+
863
966
  class NodeInfo
864
967
  # @private
865
968
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -975,6 +1078,22 @@ module Google
975
1078
  end
976
1079
  end
977
1080
 
1081
+ class RemoteCluster
1082
+ # @private
1083
+ class Representation < Google::Apis::Core::JsonRepresentation
1084
+ property :cluster, as: 'cluster'
1085
+ property :uid, as: 'uid'
1086
+ end
1087
+ end
1088
+
1089
+ class RescheduleClusterMaintenanceRequest
1090
+ # @private
1091
+ class Representation < Google::Apis::Core::JsonRepresentation
1092
+ property :reschedule_type, as: 'rescheduleType'
1093
+ property :schedule_time, as: 'scheduleTime'
1094
+ end
1095
+ end
1096
+
978
1097
  class RescheduleMaintenanceRequest
979
1098
  # @private
980
1099
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -365,6 +365,41 @@ module Google
365
365
  execute_or_queue_command(command, &block)
366
366
  end
367
367
 
368
+ # Reschedules upcoming maintenance event.
369
+ # @param [String] name
370
+ # Required. Redis Cluster instance resource name using the form: `projects/`
371
+ # project_id`/locations/`location_id`/clusters/`cluster_id`` where `location_id`
372
+ # refers to a GCP region.
373
+ # @param [Google::Apis::RedisV1::RescheduleClusterMaintenanceRequest] reschedule_cluster_maintenance_request_object
374
+ # @param [String] fields
375
+ # Selector specifying which fields to include in a partial response.
376
+ # @param [String] quota_user
377
+ # Available to use for quota purposes for server-side applications. Can be any
378
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
379
+ # @param [Google::Apis::RequestOptions] options
380
+ # Request-specific options
381
+ #
382
+ # @yield [result, err] Result & error if block supplied
383
+ # @yieldparam result [Google::Apis::RedisV1::Operation] parsed result object
384
+ # @yieldparam err [StandardError] error object if request failed
385
+ #
386
+ # @return [Google::Apis::RedisV1::Operation]
387
+ #
388
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
389
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
390
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
391
+ def reschedule_cluster_maintenance(name, reschedule_cluster_maintenance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
392
+ command = make_simple_command(:post, 'v1/{+name}:rescheduleClusterMaintenance', options)
393
+ command.request_representation = Google::Apis::RedisV1::RescheduleClusterMaintenanceRequest::Representation
394
+ command.request_object = reschedule_cluster_maintenance_request_object
395
+ command.response_representation = Google::Apis::RedisV1::Operation::Representation
396
+ command.response_class = Google::Apis::RedisV1::Operation
397
+ command.params['name'] = name unless name.nil?
398
+ command.query['fields'] = fields unless fields.nil?
399
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
400
+ execute_or_queue_command(command, &block)
401
+ end
402
+
368
403
  # Creates a Redis instance based on the specified tier and memory size. By
369
404
  # default, the instance is accessible from the project's [default network](https:
370
405
  # //cloud.google.com/vpc/docs/vpc). The creation is executed asynchronously and
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-redis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.57.0
4
+ version: 0.59.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  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.57.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.59.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1
63
63
  post_install_message:
64
64
  rdoc_options: []