Skip to content

Commit 9145cae

Browse files
feat: Automated regeneration of redis v1 client (googleapis#23690)
Auto-created at 2025-07-13 10:19:35 +0000 using the toys pull request generator.
1 parent fda5e3c commit 9145cae

File tree

5 files changed

+114
-7
lines changed

5 files changed

+114
-7
lines changed

api_names_out.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312192,6 +312192,7 @@
312192312192
"/redis:v1/CloudAssetComposition/childAsset": child_asset
312193312193
"/redis:v1/CloudAssetComposition/childAsset/child_asset": child_asset
312194312194
"/redis:v1/Cluster": cluster
312195+
"/redis:v1/Cluster/allowFewerZonesDeployment": allow_fewer_zones_deployment
312195312196
"/redis:v1/Cluster/asyncClusterEndpointsDeletionEnabled": async_cluster_endpoints_deletion_enabled
312196312197
"/redis:v1/Cluster/authorizationMode": authorization_mode
312197312198
"/redis:v1/Cluster/automatedBackupConfig": automated_backup_config
@@ -312269,6 +312270,12 @@
312269312270
"/redis:v1/Compliance": compliance
312270312271
"/redis:v1/Compliance/standard": standard
312271312272
"/redis:v1/Compliance/version": version
312273+
"/redis:v1/ConfigBasedSignalData": config_based_signal_data
312274+
"/redis:v1/ConfigBasedSignalData/fullResourceName": full_resource_name
312275+
"/redis:v1/ConfigBasedSignalData/lastRefreshTime": last_refresh_time
312276+
"/redis:v1/ConfigBasedSignalData/resourceId": resource_id
312277+
"/redis:v1/ConfigBasedSignalData/signalBoolValue": signal_bool_value
312278+
"/redis:v1/ConfigBasedSignalData/signalType": signal_type
312272312279
"/redis:v1/ConnectionDetail": connection_detail
312273312280
"/redis:v1/ConnectionDetail/pscAutoConnection": psc_auto_connection
312274312281
"/redis:v1/ConnectionDetail/pscConnection": psc_connection
@@ -312291,6 +312298,7 @@
312291312298
"/redis:v1/DatabaseMetadata/resourceId": resource_id
312292312299
"/redis:v1/DatabaseMetadata/resourceName": resource_name
312293312300
"/redis:v1/DatabaseResourceFeed": database_resource_feed
312301+
"/redis:v1/DatabaseResourceFeed/configBasedSignalData": config_based_signal_data
312294312302
"/redis:v1/DatabaseResourceFeed/feedTimestamp": feed_timestamp
312295312303
"/redis:v1/DatabaseResourceFeed/feedType": feed_type
312296312304
"/redis:v1/DatabaseResourceFeed/observabilityMetricData": observability_metric_data
@@ -312647,6 +312655,7 @@
312647312655
"/redis:v1/PrivateServiceConnect/pscServiceRoute": psc_service_route
312648312656
"/redis:v1/Product": product
312649312657
"/redis:v1/Product/engine": engine
312658+
"/redis:v1/Product/minorVersion": minor_version
312650312659
"/redis:v1/Product/type": type
312651312660
"/redis:v1/Product/version": version
312652312661
"/redis:v1/PscAutoConnection": psc_auto_connection

generated/google-apis-redis_v1/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_v1
22

3+
### v0.73.0 (2025-07-13)
4+
5+
* Regenerated from discovery document revision 20250701
6+
37
### v0.72.0 (2025-06-22)
48

59
* Regenerated from discovery document revision 20250617

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

Lines changed: 77 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,15 @@ def update!(**args)
465465
class Cluster
466466
include Google::Apis::Core::Hashable
467467

468+
# Optional. Immutable. Allows customers to specify if they are okay with
469+
# deploying a multi-zone cluster in less than 3 zones. Once set, if there is a
470+
# zonal outage during the cluster creation, the cluster will only be deployed in
471+
# 2 zones, and stay within the 2 zones for its lifecycle.
472+
# Corresponds to the JSON property `allowFewerZonesDeployment`
473+
# @return [Boolean]
474+
attr_accessor :allow_fewer_zones_deployment
475+
alias_method :allow_fewer_zones_deployment?, :allow_fewer_zones_deployment
476+
468477
# Optional. If true, cluster endpoints that are created and registered by
469478
# customers can be deleted asynchronously. That is, such a cluster endpoint can
470479
# be de-registered before the forwarding rules in the cluster endpoint are
@@ -657,6 +666,7 @@ def initialize(**args)
657666

658667
# Update properties of this object
659668
def update!(**args)
669+
@allow_fewer_zones_deployment = args[:allow_fewer_zones_deployment] if args.key?(:allow_fewer_zones_deployment)
660670
@async_cluster_endpoints_deletion_enabled = args[:async_cluster_endpoints_deletion_enabled] if args.key?(:async_cluster_endpoints_deletion_enabled)
661671
@authorization_mode = args[:authorization_mode] if args.key?(:authorization_mode)
662672
@automated_backup_config = args[:automated_backup_config] if args.key?(:automated_backup_config)
@@ -812,7 +822,7 @@ def update!(**args)
812822
class ClusterWeeklyMaintenanceWindow
813823
include Google::Apis::Core::Hashable
814824

815-
# Allows to define schedule that runs specified day of the week.
825+
# Optional. Allows to define schedule that runs specified day of the week.
816826
# Corresponds to the JSON property `day`
817827
# @return [String]
818828
attr_accessor :day
@@ -861,6 +871,52 @@ def update!(**args)
861871
end
862872
end
863873

874+
# Config based signal data. This is used to send signals to Condor which are
875+
# based on the DB level configurations. These will be used to send signals for
876+
# self managed databases.
877+
class ConfigBasedSignalData
878+
include Google::Apis::Core::Hashable
879+
880+
# Required. Full Resource name of the source resource.
881+
# Corresponds to the JSON property `fullResourceName`
882+
# @return [String]
883+
attr_accessor :full_resource_name
884+
885+
# Required. Last time signal was refreshed
886+
# Corresponds to the JSON property `lastRefreshTime`
887+
# @return [String]
888+
attr_accessor :last_refresh_time
889+
890+
# DatabaseResourceId will serve as primary key for any resource ingestion event.
891+
# Corresponds to the JSON property `resourceId`
892+
# @return [Google::Apis::RedisV1::DatabaseResourceId]
893+
attr_accessor :resource_id
894+
895+
# Signal data for boolean signals.
896+
# Corresponds to the JSON property `signalBoolValue`
897+
# @return [Boolean]
898+
attr_accessor :signal_bool_value
899+
alias_method :signal_bool_value?, :signal_bool_value
900+
901+
# Required. Signal type of the signal
902+
# Corresponds to the JSON property `signalType`
903+
# @return [String]
904+
attr_accessor :signal_type
905+
906+
def initialize(**args)
907+
update!(**args)
908+
end
909+
910+
# Update properties of this object
911+
def update!(**args)
912+
@full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
913+
@last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
914+
@resource_id = args[:resource_id] if args.key?(:resource_id)
915+
@signal_bool_value = args[:signal_bool_value] if args.key?(:signal_bool_value)
916+
@signal_type = args[:signal_type] if args.key?(:signal_type)
917+
end
918+
end
919+
864920
# Detailed information of each PSC connection.
865921
class ConnectionDetail
866922
include Google::Apis::Core::Hashable
@@ -891,7 +947,7 @@ def update!(**args)
891947
class CrossClusterReplicationConfig
892948
include Google::Apis::Core::Hashable
893949

894-
# The role of the cluster in cross cluster replication.
950+
# Output only. The role of the cluster in cross cluster replication.
895951
# Corresponds to the JSON property `clusterRole`
896952
# @return [String]
897953
attr_accessor :cluster_role
@@ -956,10 +1012,17 @@ def update!(**args)
9561012
end
9571013

9581014
# DatabaseResourceFeed is the top level proto to be used to ingest different
959-
# database resource level events into Condor platform. Next ID: 8
1015+
# database resource level events into Condor platform. Next ID: 9
9601016
class DatabaseResourceFeed
9611017
include Google::Apis::Core::Hashable
9621018

1019+
# Config based signal data. This is used to send signals to Condor which are
1020+
# based on the DB level configurations. These will be used to send signals for
1021+
# self managed databases.
1022+
# Corresponds to the JSON property `configBasedSignalData`
1023+
# @return [Google::Apis::RedisV1::ConfigBasedSignalData]
1024+
attr_accessor :config_based_signal_data
1025+
9631026
# Required. Timestamp when feed is generated.
9641027
# Corresponds to the JSON property `feedTimestamp`
9651028
# @return [String]
@@ -1001,6 +1064,7 @@ def initialize(**args)
10011064

10021065
# Update properties of this object
10031066
def update!(**args)
1067+
@config_based_signal_data = args[:config_based_signal_data] if args.key?(:config_based_signal_data)
10041068
@feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
10051069
@feed_type = args[:feed_type] if args.key?(:feed_type)
10061070
@observability_metric_data = args[:observability_metric_data] if args.key?(:observability_metric_data)
@@ -2937,6 +3001,13 @@ class Product
29373001
# @return [String]
29383002
attr_accessor :engine
29393003

3004+
# Minor version of the underlying database engine. Example values: For MySQL, it
3005+
# could be "8.0.32", "5.7.32" etc.. For Postgres, it could be "14.3", "15.3" etc.
3006+
# .
3007+
# Corresponds to the JSON property `minorVersion`
3008+
# @return [String]
3009+
attr_accessor :minor_version
3010+
29403011
# Type of specific database product. It could be CloudSQL, AlloyDB etc..
29413012
# Corresponds to the JSON property `type`
29423013
# @return [String]
@@ -2955,6 +3026,7 @@ def initialize(**args)
29553026
# Update properties of this object
29563027
def update!(**args)
29573028
@engine = args[:engine] if args.key?(:engine)
3029+
@minor_version = args[:minor_version] if args.key?(:minor_version)
29583030
@type = args[:type] if args.key?(:type)
29593031
@version = args[:version] if args.key?(:version)
29603032
end
@@ -3212,8 +3284,8 @@ def update!(**args)
32123284
class RemoteCluster
32133285
include Google::Apis::Core::Hashable
32143286

3215-
# The full resource path of the remote cluster in the format: projects//
3216-
# locations//clusters/
3287+
# Output only. The full resource path of the remote cluster in the format:
3288+
# projects//locations//clusters/
32173289
# Corresponds to the JSON property `cluster`
32183290
# @return [String]
32193291
attr_accessor :cluster

generated/google-apis-redis_v1/lib/google/apis/redis_v1/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 RedisV1
1818
# Version of the google-apis-redis_v1 gem
19-
GEM_VERSION = "0.72.0"
19+
GEM_VERSION = "0.73.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 = "20250617"
25+
REVISION = "20250701"
2626
end
2727
end
2828
end

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
130130
include Google::Apis::Core::JsonObjectSupport
131131
end
132132

133+
class ConfigBasedSignalData
134+
class Representation < Google::Apis::Core::JsonRepresentation; end
135+
136+
include Google::Apis::Core::JsonObjectSupport
137+
end
138+
133139
class ConnectionDetail
134140
class Representation < Google::Apis::Core::JsonRepresentation; end
135141

@@ -670,6 +676,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
670676
class Cluster
671677
# @private
672678
class Representation < Google::Apis::Core::JsonRepresentation
679+
property :allow_fewer_zones_deployment, as: 'allowFewerZonesDeployment'
673680
property :async_cluster_endpoints_deletion_enabled, as: 'asyncClusterEndpointsDeletionEnabled'
674681
property :authorization_mode, as: 'authorizationMode'
675682
property :automated_backup_config, as: 'automatedBackupConfig', class: Google::Apis::RedisV1::AutomatedBackupConfig, decorator: Google::Apis::RedisV1::AutomatedBackupConfig::Representation
@@ -775,6 +782,18 @@ class Representation < Google::Apis::Core::JsonRepresentation
775782
end
776783
end
777784

785+
class ConfigBasedSignalData
786+
# @private
787+
class Representation < Google::Apis::Core::JsonRepresentation
788+
property :full_resource_name, as: 'fullResourceName'
789+
property :last_refresh_time, as: 'lastRefreshTime'
790+
property :resource_id, as: 'resourceId', class: Google::Apis::RedisV1::DatabaseResourceId, decorator: Google::Apis::RedisV1::DatabaseResourceId::Representation
791+
792+
property :signal_bool_value, as: 'signalBoolValue'
793+
property :signal_type, as: 'signalType'
794+
end
795+
end
796+
778797
class ConnectionDetail
779798
# @private
780799
class Representation < Google::Apis::Core::JsonRepresentation
@@ -810,6 +829,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
810829
class DatabaseResourceFeed
811830
# @private
812831
class Representation < Google::Apis::Core::JsonRepresentation
832+
property :config_based_signal_data, as: 'configBasedSignalData', class: Google::Apis::RedisV1::ConfigBasedSignalData, decorator: Google::Apis::RedisV1::ConfigBasedSignalData::Representation
833+
813834
property :feed_timestamp, as: 'feedTimestamp'
814835
property :feed_type, as: 'feedType'
815836
property :observability_metric_data, as: 'observabilityMetricData', class: Google::Apis::RedisV1::ObservabilityMetricData, decorator: Google::Apis::RedisV1::ObservabilityMetricData::Representation
@@ -1320,6 +1341,7 @@ class Product
13201341
# @private
13211342
class Representation < Google::Apis::Core::JsonRepresentation
13221343
property :engine, as: 'engine'
1344+
property :minor_version, as: 'minorVersion'
13231345
property :type, as: 'type'
13241346
property :version, as: 'version'
13251347
end

0 commit comments

Comments
 (0)