google-apis-redis_v1beta1 0.76.0 → 0.77.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: 18337f21c101f19396dc230ede8e7eb5914f784655ad27c793ecd603a9bb7050
4
- data.tar.gz: bccce8c8ffcd1f86aa93840417dd073877e85f16e66d5391d883b3c2af8921c0
3
+ metadata.gz: 7b2530a80530f3fad8b7104b5bc644c95ca974cc0cd920aee971b2a9525b483e
4
+ data.tar.gz: b302232bbe069e05bd746fa191889535942b2463b213b246d329e8c127361ca6
5
5
  SHA512:
6
- metadata.gz: b3995589e694466b6a9b7f0372066fcde6bbe8d86055c860fd7fb52327f2879a6552ab88ec6b97c94270587dd2598ea8e46a64afb2103917e98195952dd84cd6
7
- data.tar.gz: 94bb999f3c44008a0081a2bb9894336df2a89809d1111b91a5043389c91c6b6133b4bf447e3c4c4a2d79a1995952e1f0225673ef0fce00b2bf0e98eaa1940141
6
+ metadata.gz: ad8c9730d7d67ecb1344eefa6016b99094c1a5134317f20cfdf487c5bc1b91e58ec16cc95ac2c410aa8e5014fdbfb98d3c1e0cd5491c63bd603bd99566054125
7
+ data.tar.gz: 8ac4e2680db77ebd0be1d0f3405e8b169a7995948dd11985b677b22c709a2a0058ec5d25b1d3ba1ef78baca473ac1463fc41cae517476801b47e08a10c82ecb7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-redis_v1beta1
2
2
 
3
+ ### v0.77.0 (2026-02-08)
4
+
5
+ * Regenerated from discovery document revision 20260129
6
+
3
7
  ### v0.76.0 (2026-01-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20260107
@@ -1195,7 +1195,7 @@ module Google
1195
1195
  # @return [Google::Apis::RedisV1beta1::DatabaseResourceId]
1196
1196
  attr_accessor :resource_id
1197
1197
 
1198
- # Common model for database resource instance metadata. Next ID: 30
1198
+ # Common model for database resource instance metadata. Next ID: 31
1199
1199
  # Corresponds to the JSON property `resourceMetadata`
1200
1200
  # @return [Google::Apis::RedisV1beta1::DatabaseResourceMetadata]
1201
1201
  attr_accessor :resource_metadata
@@ -1393,7 +1393,7 @@ module Google
1393
1393
  end
1394
1394
  end
1395
1395
 
1396
- # Common model for database resource instance metadata. Next ID: 30
1396
+ # Common model for database resource instance metadata. Next ID: 31
1397
1397
  class DatabaseResourceMetadata
1398
1398
  include Google::Apis::Core::Hashable
1399
1399
 
@@ -1515,6 +1515,11 @@ module Google
1515
1515
  # @return [String]
1516
1516
  attr_accessor :resource_container
1517
1517
 
1518
+ # Optional. List of resource flags for the database resource.
1519
+ # Corresponds to the JSON property `resourceFlags`
1520
+ # @return [Array<Google::Apis::RedisV1beta1::ResourceFlags>]
1521
+ attr_accessor :resource_flags
1522
+
1518
1523
  # Required. Different from DatabaseResourceId.unique_id, a resource name can be
1519
1524
  # reused over time. That is, after a resource named "ABC" is deleted, the name "
1520
1525
  # ABC" can be used to to create a new resource within the same source. Resource
@@ -1581,6 +1586,7 @@ module Google
1581
1586
  @primary_resource_location = args[:primary_resource_location] if args.key?(:primary_resource_location)
1582
1587
  @product = args[:product] if args.key?(:product)
1583
1588
  @resource_container = args[:resource_container] if args.key?(:resource_container)
1589
+ @resource_flags = args[:resource_flags] if args.key?(:resource_flags)
1584
1590
  @resource_name = args[:resource_name] if args.key?(:resource_name)
1585
1591
  @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
1586
1592
  @tags_set = args[:tags_set] if args.key?(:tags_set)
@@ -3662,6 +3668,31 @@ module Google
3662
3668
  end
3663
3669
  end
3664
3670
 
3671
+ # Message type for storing resource flags.
3672
+ class ResourceFlags
3673
+ include Google::Apis::Core::Hashable
3674
+
3675
+ # Optional. Key of the resource flag.
3676
+ # Corresponds to the JSON property `key`
3677
+ # @return [String]
3678
+ attr_accessor :key
3679
+
3680
+ # Optional. Value of the resource flag.
3681
+ # Corresponds to the JSON property `value`
3682
+ # @return [String]
3683
+ attr_accessor :value
3684
+
3685
+ def initialize(**args)
3686
+ update!(**args)
3687
+ end
3688
+
3689
+ # Update properties of this object
3690
+ def update!(**args)
3691
+ @key = args[:key] if args.key?(:key)
3692
+ @value = args[:value] if args.key?(:value)
3693
+ end
3694
+ end
3695
+
3665
3696
  # Deny maintenance period for the database resource. It specifies the time range
3666
3697
  # during which the maintenance cannot start. This is configured by the customer.
3667
3698
  class ResourceMaintenanceDenySchedule
@@ -3719,6 +3750,14 @@ module Google
3719
3750
  # @return [Array<Google::Apis::RedisV1beta1::ResourceMaintenanceDenySchedule>]
3720
3751
  attr_accessor :deny_maintenance_schedules
3721
3752
 
3753
+ # Optional. Whether the instance is in stopped state. This information is
3754
+ # temporarily being captured in maintenanceInfo, till STOPPED state is supported
3755
+ # by DB Center.
3756
+ # Corresponds to the JSON property `isInstanceStopped`
3757
+ # @return [Boolean]
3758
+ attr_accessor :is_instance_stopped
3759
+ alias_method :is_instance_stopped?, :is_instance_stopped
3760
+
3722
3761
  # Maintenance window for the database resource. It specifies preferred time and
3723
3762
  # day of the week and phase in some cases, when the maintenance can start. This
3724
3763
  # is configured by the customer.
@@ -3726,12 +3765,30 @@ module Google
3726
3765
  # @return [Google::Apis::RedisV1beta1::ResourceMaintenanceSchedule]
3727
3766
  attr_accessor :maintenance_schedule
3728
3767
 
3768
+ # Output only. Current state of maintenance on the database resource.
3769
+ # Corresponds to the JSON property `maintenanceState`
3770
+ # @return [String]
3771
+ attr_accessor :maintenance_state
3772
+
3729
3773
  # Optional. Current Maintenance version of the database resource. Example: "
3730
3774
  # MYSQL_8_0_41.R20250531.01_15"
3731
3775
  # Corresponds to the JSON property `maintenanceVersion`
3732
3776
  # @return [String]
3733
3777
  attr_accessor :maintenance_version
3734
3778
 
3779
+ # Upcoming maintenance for the database resource. This is generated by SLM once
3780
+ # the upcoming maintenance schedule is published.
3781
+ # Corresponds to the JSON property `upcomingMaintenance`
3782
+ # @return [Google::Apis::RedisV1beta1::UpcomingMaintenance]
3783
+ attr_accessor :upcoming_maintenance
3784
+
3785
+ # Optional. This field will contain the date when the last version update was
3786
+ # applied to the database resource. This will be used to calculate the age of
3787
+ # the maintenance version.
3788
+ # Corresponds to the JSON property `versionUpdateTime`
3789
+ # @return [String]
3790
+ attr_accessor :version_update_time
3791
+
3735
3792
  def initialize(**args)
3736
3793
  update!(**args)
3737
3794
  end
@@ -3739,8 +3796,12 @@ module Google
3739
3796
  # Update properties of this object
3740
3797
  def update!(**args)
3741
3798
  @deny_maintenance_schedules = args[:deny_maintenance_schedules] if args.key?(:deny_maintenance_schedules)
3799
+ @is_instance_stopped = args[:is_instance_stopped] if args.key?(:is_instance_stopped)
3742
3800
  @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
3801
+ @maintenance_state = args[:maintenance_state] if args.key?(:maintenance_state)
3743
3802
  @maintenance_version = args[:maintenance_version] if args.key?(:maintenance_version)
3803
+ @upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance)
3804
+ @version_update_time = args[:version_update_time] if args.key?(:version_update_time)
3744
3805
  end
3745
3806
  end
3746
3807
 
@@ -4034,6 +4095,32 @@ module Google
4034
4095
  end
4035
4096
  end
4036
4097
 
4098
+ # Upcoming maintenance for the database resource. This is generated by SLM once
4099
+ # the upcoming maintenance schedule is published.
4100
+ class UpcomingMaintenance
4101
+ include Google::Apis::Core::Hashable
4102
+
4103
+ # Optional. The end time of the upcoming maintenance.
4104
+ # Corresponds to the JSON property `endTime`
4105
+ # @return [String]
4106
+ attr_accessor :end_time
4107
+
4108
+ # Optional. The start time of the upcoming maintenance.
4109
+ # Corresponds to the JSON property `startTime`
4110
+ # @return [String]
4111
+ attr_accessor :start_time
4112
+
4113
+ def initialize(**args)
4114
+ update!(**args)
4115
+ end
4116
+
4117
+ # Update properties of this object
4118
+ def update!(**args)
4119
+ @end_time = args[:end_time] if args.key?(:end_time)
4120
+ @start_time = args[:start_time] if args.key?(:start_time)
4121
+ end
4122
+ end
4123
+
4037
4124
  # Represents information about an updating cluster.
4038
4125
  class UpdateInfo
4039
4126
  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.76.0"
19
+ GEM_VERSION = "0.77.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 = "20260107"
25
+ REVISION = "20260129"
26
26
  end
27
27
  end
28
28
  end
@@ -508,6 +508,12 @@ module Google
508
508
  include Google::Apis::Core::JsonObjectSupport
509
509
  end
510
510
 
511
+ class ResourceFlags
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
511
517
  class ResourceMaintenanceDenySchedule
512
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
519
 
@@ -568,6 +574,12 @@ module Google
568
574
  include Google::Apis::Core::JsonObjectSupport
569
575
  end
570
576
 
577
+ class UpcomingMaintenance
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
571
583
  class UpdateInfo
572
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
585
 
@@ -993,6 +1005,8 @@ module Google
993
1005
  property :product, as: 'product', class: Google::Apis::RedisV1beta1::Product, decorator: Google::Apis::RedisV1beta1::Product::Representation
994
1006
 
995
1007
  property :resource_container, as: 'resourceContainer'
1008
+ collection :resource_flags, as: 'resourceFlags', class: Google::Apis::RedisV1beta1::ResourceFlags, decorator: Google::Apis::RedisV1beta1::ResourceFlags::Representation
1009
+
996
1010
  property :resource_name, as: 'resourceName'
997
1011
  property :suspension_reason, as: 'suspensionReason'
998
1012
  property :tags_set, as: 'tagsSet', class: Google::Apis::RedisV1beta1::Tags, decorator: Google::Apis::RedisV1beta1::Tags::Representation
@@ -1541,6 +1555,14 @@ module Google
1541
1555
  end
1542
1556
  end
1543
1557
 
1558
+ class ResourceFlags
1559
+ # @private
1560
+ class Representation < Google::Apis::Core::JsonRepresentation
1561
+ property :key, as: 'key'
1562
+ property :value, as: 'value'
1563
+ end
1564
+ end
1565
+
1544
1566
  class ResourceMaintenanceDenySchedule
1545
1567
  # @private
1546
1568
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1558,9 +1580,14 @@ module Google
1558
1580
  class Representation < Google::Apis::Core::JsonRepresentation
1559
1581
  collection :deny_maintenance_schedules, as: 'denyMaintenanceSchedules', class: Google::Apis::RedisV1beta1::ResourceMaintenanceDenySchedule, decorator: Google::Apis::RedisV1beta1::ResourceMaintenanceDenySchedule::Representation
1560
1582
 
1583
+ property :is_instance_stopped, as: 'isInstanceStopped'
1561
1584
  property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::RedisV1beta1::ResourceMaintenanceSchedule, decorator: Google::Apis::RedisV1beta1::ResourceMaintenanceSchedule::Representation
1562
1585
 
1586
+ property :maintenance_state, as: 'maintenanceState'
1563
1587
  property :maintenance_version, as: 'maintenanceVersion'
1588
+ property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::RedisV1beta1::UpcomingMaintenance, decorator: Google::Apis::RedisV1beta1::UpcomingMaintenance::Representation
1589
+
1590
+ property :version_update_time, as: 'versionUpdateTime'
1564
1591
  end
1565
1592
  end
1566
1593
 
@@ -1640,6 +1667,14 @@ module Google
1640
1667
  end
1641
1668
  end
1642
1669
 
1670
+ class UpcomingMaintenance
1671
+ # @private
1672
+ class Representation < Google::Apis::Core::JsonRepresentation
1673
+ property :end_time, as: 'endTime'
1674
+ property :start_time, as: 'startTime'
1675
+ end
1676
+ end
1677
+
1643
1678
  class UpdateInfo
1644
1679
  # @private
1645
1680
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -81,7 +81,11 @@ module Google
81
81
  execute_or_queue_command(command, &block)
82
82
  end
83
83
 
84
- # Lists information about the supported locations for this service.
84
+ # Lists information about the supported locations for this service. This method
85
+ # can be called in two ways: * **List all public locations:** Use the path `GET /
86
+ # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
87
+ # projects/`project_id`/locations`. This may include public locations as well as
88
+ # private or other locations specifically visible to the project.
85
89
  # @param [String] name
86
90
  # The resource that owns the locations collection, if applicable.
87
91
  # @param [Array<String>, String] extra_location_types
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-redis_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.76.0
4
+ version: 0.77.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1beta1/v0.76.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1beta1/v0.77.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1beta1
63
63
  rdoc_options: []
64
64
  require_paths: