Skip to content

Commit 640bcbc

Browse files
feat: Automated regeneration of redis v1beta1 client (#25963)
Auto-created at 2026-03-15 10:55:41 +0000 using the toys pull request generator.
1 parent 0420fa5 commit 640bcbc

5 files changed

Lines changed: 97 additions & 10 deletions

File tree

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345313,6 +345313,7 @@
345313345313
"/redis:v1beta1/CertificateAuthority/managedServerCa": managed_server_ca
345314345314
"/redis:v1beta1/CertificateAuthority/name": name
345315345315
"/redis:v1beta1/Cluster": cluster
345316+
"/redis:v1beta1/Cluster/aclPolicy": acl_policy
345316345317
"/redis:v1beta1/Cluster/allowFewerZonesDeployment": allow_fewer_zones_deployment
345317345318
"/redis:v1beta1/Cluster/asyncClusterEndpointsDeletionEnabled": async_cluster_endpoints_deletion_enabled
345318345319
"/redis:v1beta1/Cluster/authorizationMode": authorization_mode
@@ -345506,10 +345507,14 @@
345506345507
"/redis:v1beta1/DatabaseResourceRecommendationSignalData/resourceName": resource_name
345507345508
"/redis:v1beta1/DatabaseResourceRecommendationSignalData/signalType": signal_type
345508345509
"/redis:v1beta1/DatabaseResourceSignalData": database_resource_signal_data
345510+
"/redis:v1beta1/DatabaseResourceSignalData/backupRun": backup_run
345509345511
"/redis:v1beta1/DatabaseResourceSignalData/fullResourceName": full_resource_name
345510345512
"/redis:v1beta1/DatabaseResourceSignalData/lastRefreshTime": last_refresh_time
345513+
"/redis:v1beta1/DatabaseResourceSignalData/location": location
345511345514
"/redis:v1beta1/DatabaseResourceSignalData/resourceId": resource_id
345512345515
"/redis:v1beta1/DatabaseResourceSignalData/signalBoolValue": signal_bool_value
345516+
"/redis:v1beta1/DatabaseResourceSignalData/signalMetadataList": signal_metadata_list
345517+
"/redis:v1beta1/DatabaseResourceSignalData/signalMetadataList/signal_metadata_list": signal_metadata_list
345513345518
"/redis:v1beta1/DatabaseResourceSignalData/signalState": signal_state
345514345519
"/redis:v1beta1/DatabaseResourceSignalData/signalType": signal_type
345515345520
"/redis:v1beta1/Date": date
@@ -345869,6 +345874,9 @@
345869345874
"/redis:v1beta1/SharedRegionalCertificateAuthority": shared_regional_certificate_authority
345870345875
"/redis:v1beta1/SharedRegionalCertificateAuthority/managedServerCa": managed_server_ca
345871345876
"/redis:v1beta1/SharedRegionalCertificateAuthority/name": name
345877+
"/redis:v1beta1/SignalMetadata": signal_metadata
345878+
"/redis:v1beta1/SignalMetadata/backupRun": backup_run
345879+
"/redis:v1beta1/SignalMetadata/signalBoolValue": signal_bool_value
345872345880
"/redis:v1beta1/StateInfo": state_info
345873345881
"/redis:v1beta1/StateInfo/updateInfo": update_info
345874345882
"/redis:v1beta1/Status": status

generated/google-apis-redis_v1beta1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-redis_v1beta1
22

3+
### v0.79.0 (2026-03-15)
4+
5+
* Regenerated from discovery document revision 20260309
6+
37
### v0.78.0 (2026-02-15)
48

59
* Regenerated from discovery document revision 20260210

generated/google-apis-redis_v1beta1/lib/google/apis/redis_v1beta1/classes.rb

Lines changed: 62 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,11 @@ def update!(**args)
555555
class Cluster
556556
include Google::Apis::Core::Hashable
557557

558+
# Optional. The ACL policy to be applied to the cluster.
559+
# Corresponds to the JSON property `aclPolicy`
560+
# @return [String]
561+
attr_accessor :acl_policy
562+
558563
# Optional. Immutable. Deprecated, do not use.
559564
# Corresponds to the JSON property `allowFewerZonesDeployment`
560565
# @return [Boolean]
@@ -807,6 +812,7 @@ def initialize(**args)
807812

808813
# Update properties of this object
809814
def update!(**args)
815+
@acl_policy = args[:acl_policy] if args.key?(:acl_policy)
810816
@allow_fewer_zones_deployment = args[:allow_fewer_zones_deployment] if args.key?(:allow_fewer_zones_deployment)
811817
@async_cluster_endpoints_deletion_enabled = args[:async_cluster_endpoints_deletion_enabled] if args.key?(:async_cluster_endpoints_deletion_enabled)
812818
@authorization_mode = args[:authorization_mode] if args.key?(:authorization_mode)
@@ -1181,7 +1187,7 @@ class DatabaseResourceFeed
11811187

11821188
# Database resource signal data. This is used to send signals to Condor which
11831189
# are based on the DB/Instance/Fleet level configurations. These will be used to
1184-
# send signals for all inventory types. Next ID: 7
1190+
# send signals for all inventory types. Next ID: 10
11851191
# Corresponds to the JSON property `databaseResourceSignalData`
11861192
# @return [Google::Apis::RedisV1beta1::DatabaseResourceSignalData]
11871193
attr_accessor :database_resource_signal_data
@@ -1692,10 +1698,15 @@ def update!(**args)
16921698

16931699
# Database resource signal data. This is used to send signals to Condor which
16941700
# are based on the DB/Instance/Fleet level configurations. These will be used to
1695-
# send signals for all inventory types. Next ID: 7
1701+
# send signals for all inventory types. Next ID: 10
16961702
class DatabaseResourceSignalData
16971703
include Google::Apis::Core::Hashable
16981704

1705+
# A backup run.
1706+
# Corresponds to the JSON property `backupRun`
1707+
# @return [Google::Apis::RedisV1beta1::BackupRun]
1708+
attr_accessor :backup_run
1709+
16991710
# Required. Full Resource name of the source resource.
17001711
# Corresponds to the JSON property `fullResourceName`
17011712
# @return [String]
@@ -1706,17 +1717,28 @@ class DatabaseResourceSignalData
17061717
# @return [String]
17071718
attr_accessor :last_refresh_time
17081719

1720+
# Resource location.
1721+
# Corresponds to the JSON property `location`
1722+
# @return [String]
1723+
attr_accessor :location
1724+
17091725
# DatabaseResourceId will serve as primary key for any resource ingestion event.
17101726
# Corresponds to the JSON property `resourceId`
17111727
# @return [Google::Apis::RedisV1beta1::DatabaseResourceId]
17121728
attr_accessor :resource_id
17131729

1714-
# Signal data for boolean signals.
1730+
# Deprecated: Use signal_metadata_list instead.
17151731
# Corresponds to the JSON property `signalBoolValue`
17161732
# @return [Boolean]
17171733
attr_accessor :signal_bool_value
17181734
alias_method :signal_bool_value?, :signal_bool_value
17191735

1736+
# This will support array of OneOf signal metadata information for a given
1737+
# signal type.
1738+
# Corresponds to the JSON property `signalMetadataList`
1739+
# @return [Array<Google::Apis::RedisV1beta1::SignalMetadata>]
1740+
attr_accessor :signal_metadata_list
1741+
17201742
# Required. Output only. Signal state of the signal
17211743
# Corresponds to the JSON property `signalState`
17221744
# @return [String]
@@ -1733,10 +1755,13 @@ def initialize(**args)
17331755

17341756
# Update properties of this object
17351757
def update!(**args)
1758+
@backup_run = args[:backup_run] if args.key?(:backup_run)
17361759
@full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
17371760
@last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
1761+
@location = args[:location] if args.key?(:location)
17381762
@resource_id = args[:resource_id] if args.key?(:resource_id)
17391763
@signal_bool_value = args[:signal_bool_value] if args.key?(:signal_bool_value)
1764+
@signal_metadata_list = args[:signal_metadata_list] if args.key?(:signal_metadata_list)
17401765
@signal_state = args[:signal_state] if args.key?(:signal_state)
17411766
@signal_type = args[:signal_type] if args.key?(:signal_type)
17421767
end
@@ -2349,11 +2374,12 @@ class Instance
23492374
# @return [String]
23502375
attr_accessor :read_replicas_mode
23512376

2352-
# Optional. Redis configuration parameters, according to http://redis.io/topics/
2353-
# config. Currently, the only supported parameters are: Redis version 3.2 and
2354-
# newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer:
2355-
# * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version
2356-
# 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
2377+
# Optional. Redis configuration parameters, according to [Redis configuration](
2378+
# https://redis.io/docs/latest/operate/oss_and_stack/management/config/).
2379+
# Currently, the only supported parameters are: Redis version 3.2 and newer: *
2380+
# maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: *
2381+
# activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.
2382+
# 0 and newer: * stream-node-max-bytes * stream-node-max-entries
23572383
# Corresponds to the JSON property `redisConfigs`
23582384
# @return [Hash<String,String>]
23592385
attr_accessor :redis_configs
@@ -3978,6 +4004,34 @@ def update!(**args)
39784004
end
39794005
end
39804006

4007+
# SignalMetadata contains one of the signal metadata proto messages associated
4008+
# with a SignalType. This proto will be mapped to SignalMetadata message in
4009+
# storage.proto. Next ID: 3
4010+
class SignalMetadata
4011+
include Google::Apis::Core::Hashable
4012+
4013+
# A backup run.
4014+
# Corresponds to the JSON property `backupRun`
4015+
# @return [Google::Apis::RedisV1beta1::BackupRun]
4016+
attr_accessor :backup_run
4017+
4018+
# Signal data for boolean signals.
4019+
# Corresponds to the JSON property `signalBoolValue`
4020+
# @return [Boolean]
4021+
attr_accessor :signal_bool_value
4022+
alias_method :signal_bool_value?, :signal_bool_value
4023+
4024+
def initialize(**args)
4025+
update!(**args)
4026+
end
4027+
4028+
# Update properties of this object
4029+
def update!(**args)
4030+
@backup_run = args[:backup_run] if args.key?(:backup_run)
4031+
@signal_bool_value = args[:signal_bool_value] if args.key?(:signal_bool_value)
4032+
end
4033+
end
4034+
39814035
# Represents additional information about the state of the cluster.
39824036
class StateInfo
39834037
include Google::Apis::Core::Hashable

generated/google-apis-redis_v1beta1/lib/google/apis/redis_v1beta1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module RedisV1beta1
1818
# Version of the google-apis-redis_v1beta1 gem
19-
GEM_VERSION = "0.78.0"
19+
GEM_VERSION = "0.79.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260210"
25+
REVISION = "20260309"
2626
end
2727
end
2828
end

generated/google-apis-redis_v1beta1/lib/google/apis/redis_v1beta1/representations.rb

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
556556
include Google::Apis::Core::JsonObjectSupport
557557
end
558558

559+
class SignalMetadata
560+
class Representation < Google::Apis::Core::JsonRepresentation; end
561+
562+
include Google::Apis::Core::JsonObjectSupport
563+
end
564+
559565
class StateInfo
560566
class Representation < Google::Apis::Core::JsonRepresentation; end
561567

@@ -774,6 +780,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
774780
class Cluster
775781
# @private
776782
class Representation < Google::Apis::Core::JsonRepresentation
783+
property :acl_policy, as: 'aclPolicy'
777784
property :allow_fewer_zones_deployment, as: 'allowFewerZonesDeployment'
778785
property :async_cluster_endpoints_deletion_enabled, as: 'asyncClusterEndpointsDeletionEnabled'
779786
property :authorization_mode, as: 'authorizationMode'
@@ -1056,11 +1063,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
10561063
class DatabaseResourceSignalData
10571064
# @private
10581065
class Representation < Google::Apis::Core::JsonRepresentation
1066+
property :backup_run, as: 'backupRun', class: Google::Apis::RedisV1beta1::BackupRun, decorator: Google::Apis::RedisV1beta1::BackupRun::Representation
1067+
10591068
property :full_resource_name, as: 'fullResourceName'
10601069
property :last_refresh_time, as: 'lastRefreshTime'
1070+
property :location, as: 'location'
10611071
property :resource_id, as: 'resourceId', class: Google::Apis::RedisV1beta1::DatabaseResourceId, decorator: Google::Apis::RedisV1beta1::DatabaseResourceId::Representation
10621072

10631073
property :signal_bool_value, as: 'signalBoolValue'
1074+
collection :signal_metadata_list, as: 'signalMetadataList', class: Google::Apis::RedisV1beta1::SignalMetadata, decorator: Google::Apis::RedisV1beta1::SignalMetadata::Representation
1075+
10641076
property :signal_state, as: 'signalState'
10651077
property :signal_type, as: 'signalType'
10661078
end
@@ -1658,6 +1670,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
16581670
end
16591671
end
16601672

1673+
class SignalMetadata
1674+
# @private
1675+
class Representation < Google::Apis::Core::JsonRepresentation
1676+
property :backup_run, as: 'backupRun', class: Google::Apis::RedisV1beta1::BackupRun, decorator: Google::Apis::RedisV1beta1::BackupRun::Representation
1677+
1678+
property :signal_bool_value, as: 'signalBoolValue'
1679+
end
1680+
end
1681+
16611682
class StateInfo
16621683
# @private
16631684
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)