google-apis-redis_v1 0.79.0 → 0.80.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: 210859d34005707414c83af1af3a5bca739e6c57f76b54160ca62c60424d97b2
4
- data.tar.gz: c7c4a595f20999726165b4627d9f96092d6d32f18d154395a67c217d7f7f8093
3
+ metadata.gz: 52aaf88e5d9ae490e36d13634315c558ff4247025b0049767b9b5ee5c521dffe
4
+ data.tar.gz: e01b99a54b7d06da538cccc7fdcf4c1b8c3a88276eada91d0c0bce777cfc84a8
5
5
  SHA512:
6
- metadata.gz: 23079b752bbc8bb8d81384031d523c5676590da4a637b59765acff82c60fb8da3901f39fae4b5207b20deb0eeb766977d391cd21a525e1625ad4a74838c5b7b5
7
- data.tar.gz: da42fb09c26ae1db7f9897d710ee93ce34b8689b65a40b5e02ac3ba3da79e2d00fccb641fa8f8a4d69289a83e7db202160fc7d29fc9e28f0d4d68274b6710ae3
6
+ metadata.gz: 908f5b29ad77f417d2f2e43971b64974c1643a2da44ecb47bed04c730c663ff1f6ab136db690372686812c918910fba7dbff1ba78bba47337c9973d87715de6a
7
+ data.tar.gz: 11b4ceddeddb2e1e3ee7082117df4aba19d25512d8686c4ff18eef4896d124100275361e51b07e6fca2e63734512aa857355925700ea25bb48380d531d734ea7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-redis_v1
2
2
 
3
+ ### v0.80.0 (2025-10-05)
4
+
5
+ * Regenerated from discovery document revision 20250930
6
+
3
7
  ### v0.79.0 (2025-09-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20250909
@@ -645,6 +645,13 @@ module Google
645
645
  # @return [Google::Apis::RedisV1::ClusterMaintenanceSchedule]
646
646
  attr_accessor :maintenance_schedule
647
647
 
648
+ # Optional. This field can be used to trigger self service update to indicate
649
+ # the desired maintenance version. The input to this field can be determined by
650
+ # the available_maintenance_versions field.
651
+ # Corresponds to the JSON property `maintenanceVersion`
652
+ # @return [String]
653
+ attr_accessor :maintenance_version
654
+
648
655
  # Backups that generated and managed by memorystore.
649
656
  # Corresponds to the JSON property `managedBackupSource`
650
657
  # @return [Google::Apis::RedisV1::ManagedBackupSource]
@@ -786,6 +793,7 @@ module Google
786
793
  @labels = args[:labels] if args.key?(:labels)
787
794
  @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
788
795
  @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
796
+ @maintenance_version = args[:maintenance_version] if args.key?(:maintenance_version)
789
797
  @managed_backup_source = args[:managed_backup_source] if args.key?(:managed_backup_source)
790
798
  @name = args[:name] if args.key?(:name)
791
799
  @node_type = args[:node_type] if args.key?(:node_type)
@@ -1173,7 +1181,7 @@ module Google
1173
1181
  # @return [Google::Apis::RedisV1::DatabaseResourceId]
1174
1182
  attr_accessor :resource_id
1175
1183
 
1176
- # Common model for database resource instance metadata. Next ID: 27
1184
+ # Common model for database resource instance metadata. Next ID: 29
1177
1185
  # Corresponds to the JSON property `resourceMetadata`
1178
1186
  # @return [Google::Apis::RedisV1::DatabaseResourceMetadata]
1179
1187
  attr_accessor :resource_metadata
@@ -1371,7 +1379,7 @@ module Google
1371
1379
  end
1372
1380
  end
1373
1381
 
1374
- # Common model for database resource instance metadata. Next ID: 27
1382
+ # Common model for database resource instance metadata. Next ID: 29
1375
1383
  class DatabaseResourceMetadata
1376
1384
  include Google::Apis::Core::Hashable
1377
1385
 
@@ -1459,6 +1467,11 @@ module Google
1459
1467
  # @return [Google::Apis::RedisV1::MachineConfiguration]
1460
1468
  attr_accessor :machine_configuration
1461
1469
 
1470
+ # MaintenanceInfo to capture the maintenance details of database resource.
1471
+ # Corresponds to the JSON property `maintenanceInfo`
1472
+ # @return [Google::Apis::RedisV1::ResourceMaintenanceInfo]
1473
+ attr_accessor :maintenance_info
1474
+
1462
1475
  # DatabaseResourceId will serve as primary key for any resource ingestion event.
1463
1476
  # Corresponds to the JSON property `primaryResourceId`
1464
1477
  # @return [Google::Apis::RedisV1::DatabaseResourceId]
@@ -1542,6 +1555,7 @@ module Google
1542
1555
  @instance_type = args[:instance_type] if args.key?(:instance_type)
1543
1556
  @location = args[:location] if args.key?(:location)
1544
1557
  @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
1558
+ @maintenance_info = args[:maintenance_info] if args.key?(:maintenance_info)
1545
1559
  @primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
1546
1560
  @primary_resource_location = args[:primary_resource_location] if args.key?(:primary_resource_location)
1547
1561
  @product = args[:product] if args.key?(:product)
@@ -1680,6 +1694,47 @@ module Google
1680
1694
  end
1681
1695
  end
1682
1696
 
1697
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1698
+ # day and time zone are either specified elsewhere or are insignificant. The
1699
+ # date is relative to the Gregorian Calendar. This can represent one of the
1700
+ # following: * A full date, with non-zero year, month, and day values. * A month
1701
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1702
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1703
+ # example, a credit card expiration date). Related types: * google.type.
1704
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1705
+ class Date
1706
+ include Google::Apis::Core::Hashable
1707
+
1708
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
1709
+ # specify a year by itself or a year and month where the day isn't significant.
1710
+ # Corresponds to the JSON property `day`
1711
+ # @return [Fixnum]
1712
+ attr_accessor :day
1713
+
1714
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
1715
+ # and day.
1716
+ # Corresponds to the JSON property `month`
1717
+ # @return [Fixnum]
1718
+ attr_accessor :month
1719
+
1720
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
1721
+ # year.
1722
+ # Corresponds to the JSON property `year`
1723
+ # @return [Fixnum]
1724
+ attr_accessor :year
1725
+
1726
+ def initialize(**args)
1727
+ update!(**args)
1728
+ end
1729
+
1730
+ # Update properties of this object
1731
+ def update!(**args)
1732
+ @day = args[:day] if args.key?(:day)
1733
+ @month = args[:month] if args.key?(:month)
1734
+ @year = args[:year] if args.key?(:year)
1735
+ end
1736
+ end
1737
+
1683
1738
  # Endpoints on each network, for Redis clients to connect to the cluster.
1684
1739
  class DiscoveryEndpoint
1685
1740
  include Google::Apis::Core::Hashable
@@ -3561,6 +3616,127 @@ module Google
3561
3616
  end
3562
3617
  end
3563
3618
 
3619
+ # Deny maintenance period for the database resource. It specifies the time range
3620
+ # during which the maintenance cannot start. This is configured by the customer.
3621
+ class ResourceMaintenanceDenySchedule
3622
+ include Google::Apis::Core::Hashable
3623
+
3624
+ # Represents a whole or partial calendar date, such as a birthday. The time of
3625
+ # day and time zone are either specified elsewhere or are insignificant. The
3626
+ # date is relative to the Gregorian Calendar. This can represent one of the
3627
+ # following: * A full date, with non-zero year, month, and day values. * A month
3628
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
3629
+ # with a zero month and a zero day. * A year and month, with a zero day (for
3630
+ # example, a credit card expiration date). Related types: * google.type.
3631
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
3632
+ # Corresponds to the JSON property `endDate`
3633
+ # @return [Google::Apis::RedisV1::Date]
3634
+ attr_accessor :end_date
3635
+
3636
+ # Represents a whole or partial calendar date, such as a birthday. The time of
3637
+ # day and time zone are either specified elsewhere or are insignificant. The
3638
+ # date is relative to the Gregorian Calendar. This can represent one of the
3639
+ # following: * A full date, with non-zero year, month, and day values. * A month
3640
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
3641
+ # with a zero month and a zero day. * A year and month, with a zero day (for
3642
+ # example, a credit card expiration date). Related types: * google.type.
3643
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
3644
+ # Corresponds to the JSON property `startDate`
3645
+ # @return [Google::Apis::RedisV1::Date]
3646
+ attr_accessor :start_date
3647
+
3648
+ # Represents a time of day. The date and time zone are either not significant or
3649
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
3650
+ # types are google.type.Date and `google.protobuf.Timestamp`.
3651
+ # Corresponds to the JSON property `time`
3652
+ # @return [Google::Apis::RedisV1::TimeOfDay]
3653
+ attr_accessor :time
3654
+
3655
+ def initialize(**args)
3656
+ update!(**args)
3657
+ end
3658
+
3659
+ # Update properties of this object
3660
+ def update!(**args)
3661
+ @end_date = args[:end_date] if args.key?(:end_date)
3662
+ @start_date = args[:start_date] if args.key?(:start_date)
3663
+ @time = args[:time] if args.key?(:time)
3664
+ end
3665
+ end
3666
+
3667
+ # MaintenanceInfo to capture the maintenance details of database resource.
3668
+ class ResourceMaintenanceInfo
3669
+ include Google::Apis::Core::Hashable
3670
+
3671
+ # Optional. List of Deny maintenance period for the database resource.
3672
+ # Corresponds to the JSON property `denyMaintenanceSchedules`
3673
+ # @return [Array<Google::Apis::RedisV1::ResourceMaintenanceDenySchedule>]
3674
+ attr_accessor :deny_maintenance_schedules
3675
+
3676
+ # Maintenance window for the database resource. It specifies preferred time and
3677
+ # day of the week and phase in some cases, when the maintenance can start. This
3678
+ # is configured by the customer.
3679
+ # Corresponds to the JSON property `maintenanceSchedule`
3680
+ # @return [Google::Apis::RedisV1::ResourceMaintenanceSchedule]
3681
+ attr_accessor :maintenance_schedule
3682
+
3683
+ # Optional. Current Maintenance version of the database resource. Example: "
3684
+ # MYSQL_8_0_41.R20250531.01_15"
3685
+ # Corresponds to the JSON property `maintenanceVersion`
3686
+ # @return [String]
3687
+ attr_accessor :maintenance_version
3688
+
3689
+ def initialize(**args)
3690
+ update!(**args)
3691
+ end
3692
+
3693
+ # Update properties of this object
3694
+ def update!(**args)
3695
+ @deny_maintenance_schedules = args[:deny_maintenance_schedules] if args.key?(:deny_maintenance_schedules)
3696
+ @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
3697
+ @maintenance_version = args[:maintenance_version] if args.key?(:maintenance_version)
3698
+ end
3699
+ end
3700
+
3701
+ # Maintenance window for the database resource. It specifies preferred time and
3702
+ # day of the week and phase in some cases, when the maintenance can start. This
3703
+ # is configured by the customer.
3704
+ class ResourceMaintenanceSchedule
3705
+ include Google::Apis::Core::Hashable
3706
+
3707
+ # Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
3708
+ # Corresponds to the JSON property `day`
3709
+ # @return [String]
3710
+ attr_accessor :day
3711
+
3712
+ # Optional. Phase of the maintenance window. This is to capture order of
3713
+ # maintenance. For example, for Cloud SQL resources, this can be used to capture
3714
+ # if the maintenance window is in Week1, Week2, Week5, etc. Non production
3715
+ # resources are usually part of early phase. For more details, refer to Cloud
3716
+ # SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
3717
+ # Corresponds to the JSON property `phase`
3718
+ # @return [String]
3719
+ attr_accessor :phase
3720
+
3721
+ # Represents a time of day. The date and time zone are either not significant or
3722
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
3723
+ # types are google.type.Date and `google.protobuf.Timestamp`.
3724
+ # Corresponds to the JSON property `time`
3725
+ # @return [Google::Apis::RedisV1::TimeOfDay]
3726
+ attr_accessor :time
3727
+
3728
+ def initialize(**args)
3729
+ update!(**args)
3730
+ end
3731
+
3732
+ # Update properties of this object
3733
+ def update!(**args)
3734
+ @day = args[:day] if args.key?(:day)
3735
+ @phase = args[:phase] if args.key?(:phase)
3736
+ @time = args[:time] if args.key?(:time)
3737
+ end
3738
+ end
3739
+
3564
3740
  #
3565
3741
  class RetentionSettings
3566
3742
  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.79.0"
19
+ GEM_VERSION = "0.80.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250909"
25
+ REVISION = "20250930"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class Date
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class DiscoveryEndpoint
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -502,6 +508,24 @@ module Google
502
508
  include Google::Apis::Core::JsonObjectSupport
503
509
  end
504
510
 
511
+ class ResourceMaintenanceDenySchedule
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class ResourceMaintenanceInfo
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class ResourceMaintenanceSchedule
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
505
529
  class RetentionSettings
506
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
531
 
@@ -744,6 +768,7 @@ module Google
744
768
 
745
769
  property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::RedisV1::ClusterMaintenanceSchedule, decorator: Google::Apis::RedisV1::ClusterMaintenanceSchedule::Representation
746
770
 
771
+ property :maintenance_version, as: 'maintenanceVersion'
747
772
  property :managed_backup_source, as: 'managedBackupSource', class: Google::Apis::RedisV1::ManagedBackupSource, decorator: Google::Apis::RedisV1::ManagedBackupSource::Representation
748
773
 
749
774
  property :name, as: 'name'
@@ -957,6 +982,8 @@ module Google
957
982
  property :location, as: 'location'
958
983
  property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::RedisV1::MachineConfiguration, decorator: Google::Apis::RedisV1::MachineConfiguration::Representation
959
984
 
985
+ property :maintenance_info, as: 'maintenanceInfo', class: Google::Apis::RedisV1::ResourceMaintenanceInfo, decorator: Google::Apis::RedisV1::ResourceMaintenanceInfo::Representation
986
+
960
987
  property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::RedisV1::DatabaseResourceId, decorator: Google::Apis::RedisV1::DatabaseResourceId::Representation
961
988
 
962
989
  property :primary_resource_location, as: 'primaryResourceLocation'
@@ -1001,6 +1028,15 @@ module Google
1001
1028
  end
1002
1029
  end
1003
1030
 
1031
+ class Date
1032
+ # @private
1033
+ class Representation < Google::Apis::Core::JsonRepresentation
1034
+ property :day, as: 'day'
1035
+ property :month, as: 'month'
1036
+ property :year, as: 'year'
1037
+ end
1038
+ end
1039
+
1004
1040
  class DiscoveryEndpoint
1005
1041
  # @private
1006
1042
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1499,6 +1535,39 @@ module Google
1499
1535
  end
1500
1536
  end
1501
1537
 
1538
+ class ResourceMaintenanceDenySchedule
1539
+ # @private
1540
+ class Representation < Google::Apis::Core::JsonRepresentation
1541
+ property :end_date, as: 'endDate', class: Google::Apis::RedisV1::Date, decorator: Google::Apis::RedisV1::Date::Representation
1542
+
1543
+ property :start_date, as: 'startDate', class: Google::Apis::RedisV1::Date, decorator: Google::Apis::RedisV1::Date::Representation
1544
+
1545
+ property :time, as: 'time', class: Google::Apis::RedisV1::TimeOfDay, decorator: Google::Apis::RedisV1::TimeOfDay::Representation
1546
+
1547
+ end
1548
+ end
1549
+
1550
+ class ResourceMaintenanceInfo
1551
+ # @private
1552
+ class Representation < Google::Apis::Core::JsonRepresentation
1553
+ collection :deny_maintenance_schedules, as: 'denyMaintenanceSchedules', class: Google::Apis::RedisV1::ResourceMaintenanceDenySchedule, decorator: Google::Apis::RedisV1::ResourceMaintenanceDenySchedule::Representation
1554
+
1555
+ property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::RedisV1::ResourceMaintenanceSchedule, decorator: Google::Apis::RedisV1::ResourceMaintenanceSchedule::Representation
1556
+
1557
+ property :maintenance_version, as: 'maintenanceVersion'
1558
+ end
1559
+ end
1560
+
1561
+ class ResourceMaintenanceSchedule
1562
+ # @private
1563
+ class Representation < Google::Apis::Core::JsonRepresentation
1564
+ property :day, as: 'day'
1565
+ property :phase, as: 'phase'
1566
+ property :time, as: 'time', class: Google::Apis::RedisV1::TimeOfDay, decorator: Google::Apis::RedisV1::TimeOfDay::Representation
1567
+
1568
+ end
1569
+ end
1570
+
1502
1571
  class RetentionSettings
1503
1572
  # @private
1504
1573
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-redis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.79.0
4
+ version: 0.80.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.79.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.80.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1
62
62
  rdoc_options: []
63
63
  require_paths: