google-apis-redis_v1 0.71.0 → 0.73.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/redis_v1/classes.rb +108 -15
- data/lib/google/apis/redis_v1/gem_version.rb +2 -2
- data/lib/google/apis/redis_v1/representations.rb +25 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: babd04f0850bbc8af09d0f899cdb56ff7d9d68dcbbc5fc7ffeec1305a7dafd66
|
4
|
+
data.tar.gz: 9bac6a4e5d28872280579387b7f2b1d630733f153a2acb2e4feaeecad7e4d1da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f5c5bcfa7ca855335f2fd092e26e568323e50e6d88a416417ae4bbfb38677ae6ee84761f13a40e0f533be801bb62081fe29703f775373679ac7d0b8a2708854
|
7
|
+
data.tar.gz: f48015162ed015fe4d09f9f691a50fe45cab175df4617764b973bed37088ec2160ff74f995be429e9879aac42820718cf904b6fadabfec4e692311c49222544a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-redis_v1
|
2
2
|
|
3
|
+
### v0.73.0 (2025-07-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250701
|
6
|
+
|
7
|
+
### v0.72.0 (2025-06-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250617
|
10
|
+
|
3
11
|
### v0.71.0 (2025-06-01)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250527
|
@@ -465,6 +465,15 @@ module Google
|
|
465
465
|
class Cluster
|
466
466
|
include Google::Apis::Core::Hashable
|
467
467
|
|
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
|
+
|
468
477
|
# Optional. If true, cluster endpoints that are created and registered by
|
469
478
|
# customers can be deleted asynchronously. That is, such a cluster endpoint can
|
470
479
|
# be de-registered before the forwarding rules in the cluster endpoint are
|
@@ -612,6 +621,12 @@ module Google
|
|
612
621
|
# @return [Fixnum]
|
613
622
|
attr_accessor :shard_count
|
614
623
|
|
624
|
+
# Optional. Input only. Simulate a maintenance event.
|
625
|
+
# Corresponds to the JSON property `simulateMaintenanceEvent`
|
626
|
+
# @return [Boolean]
|
627
|
+
attr_accessor :simulate_maintenance_event
|
628
|
+
alias_method :simulate_maintenance_event?, :simulate_maintenance_event
|
629
|
+
|
615
630
|
# Output only. Redis memory size in GB for the entire cluster rounded up to the
|
616
631
|
# next integer.
|
617
632
|
# Corresponds to the JSON property `sizeGb`
|
@@ -651,6 +666,7 @@ module Google
|
|
651
666
|
|
652
667
|
# Update properties of this object
|
653
668
|
def update!(**args)
|
669
|
+
@allow_fewer_zones_deployment = args[:allow_fewer_zones_deployment] if args.key?(:allow_fewer_zones_deployment)
|
654
670
|
@async_cluster_endpoints_deletion_enabled = args[:async_cluster_endpoints_deletion_enabled] if args.key?(:async_cluster_endpoints_deletion_enabled)
|
655
671
|
@authorization_mode = args[:authorization_mode] if args.key?(:authorization_mode)
|
656
672
|
@automated_backup_config = args[:automated_backup_config] if args.key?(:automated_backup_config)
|
@@ -677,6 +693,7 @@ module Google
|
|
677
693
|
@redis_configs = args[:redis_configs] if args.key?(:redis_configs)
|
678
694
|
@replica_count = args[:replica_count] if args.key?(:replica_count)
|
679
695
|
@shard_count = args[:shard_count] if args.key?(:shard_count)
|
696
|
+
@simulate_maintenance_event = args[:simulate_maintenance_event] if args.key?(:simulate_maintenance_event)
|
680
697
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
681
698
|
@state = args[:state] if args.key?(:state)
|
682
699
|
@state_info = args[:state_info] if args.key?(:state_info)
|
@@ -805,7 +822,7 @@ module Google
|
|
805
822
|
class ClusterWeeklyMaintenanceWindow
|
806
823
|
include Google::Apis::Core::Hashable
|
807
824
|
|
808
|
-
# Allows to define schedule that runs specified day of the week.
|
825
|
+
# Optional. Allows to define schedule that runs specified day of the week.
|
809
826
|
# Corresponds to the JSON property `day`
|
810
827
|
# @return [String]
|
811
828
|
attr_accessor :day
|
@@ -854,6 +871,52 @@ module Google
|
|
854
871
|
end
|
855
872
|
end
|
856
873
|
|
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
|
+
|
857
920
|
# Detailed information of each PSC connection.
|
858
921
|
class ConnectionDetail
|
859
922
|
include Google::Apis::Core::Hashable
|
@@ -884,7 +947,7 @@ module Google
|
|
884
947
|
class CrossClusterReplicationConfig
|
885
948
|
include Google::Apis::Core::Hashable
|
886
949
|
|
887
|
-
# The role of the cluster in cross cluster replication.
|
950
|
+
# Output only. The role of the cluster in cross cluster replication.
|
888
951
|
# Corresponds to the JSON property `clusterRole`
|
889
952
|
# @return [String]
|
890
953
|
attr_accessor :cluster_role
|
@@ -949,10 +1012,17 @@ module Google
|
|
949
1012
|
end
|
950
1013
|
|
951
1014
|
# DatabaseResourceFeed is the top level proto to be used to ingest different
|
952
|
-
# database resource level events into Condor platform.
|
1015
|
+
# database resource level events into Condor platform. Next ID: 9
|
953
1016
|
class DatabaseResourceFeed
|
954
1017
|
include Google::Apis::Core::Hashable
|
955
1018
|
|
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
|
+
|
956
1026
|
# Required. Timestamp when feed is generated.
|
957
1027
|
# Corresponds to the JSON property `feedTimestamp`
|
958
1028
|
# @return [String]
|
@@ -994,6 +1064,7 @@ module Google
|
|
994
1064
|
|
995
1065
|
# Update properties of this object
|
996
1066
|
def update!(**args)
|
1067
|
+
@config_based_signal_data = args[:config_based_signal_data] if args.key?(:config_based_signal_data)
|
997
1068
|
@feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
|
998
1069
|
@feed_type = args[:feed_type] if args.key?(:feed_type)
|
999
1070
|
@observability_metric_data = args[:observability_metric_data] if args.key?(:observability_metric_data)
|
@@ -1040,6 +1111,11 @@ module Google
|
|
1040
1111
|
# @return [String]
|
1041
1112
|
attr_accessor :external_uri
|
1042
1113
|
|
1114
|
+
# This is used to identify the location of the resource. Example: "us-central1"
|
1115
|
+
# Corresponds to the JSON property `location`
|
1116
|
+
# @return [String]
|
1117
|
+
attr_accessor :location
|
1118
|
+
|
1043
1119
|
# Required. The name of the signal, ex: PUBLIC_SQL_INSTANCE,
|
1044
1120
|
# SQL_LOG_ERROR_VERBOSITY etc.
|
1045
1121
|
# Corresponds to the JSON property `name`
|
@@ -1103,6 +1179,7 @@ module Google
|
|
1103
1179
|
@description = args[:description] if args.key?(:description)
|
1104
1180
|
@event_time = args[:event_time] if args.key?(:event_time)
|
1105
1181
|
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
1182
|
+
@location = args[:location] if args.key?(:location)
|
1106
1183
|
@name = args[:name] if args.key?(:name)
|
1107
1184
|
@provider = args[:provider] if args.key?(:provider)
|
1108
1185
|
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
@@ -1129,15 +1206,15 @@ module Google
|
|
1129
1206
|
# @return [String]
|
1130
1207
|
attr_accessor :provider_description
|
1131
1208
|
|
1132
|
-
# Required. The type of resource this ID is identifying. Ex
|
1133
|
-
#
|
1134
|
-
#
|
1135
|
-
# googleapis.com/
|
1136
|
-
#
|
1137
|
-
#
|
1138
|
-
#
|
1139
|
-
#
|
1140
|
-
# condor-common-datamodel
|
1209
|
+
# Required. The type of resource this ID is identifying. Ex go/keep-sorted start
|
1210
|
+
# alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, bigtableadmin.
|
1211
|
+
# googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance compute.
|
1212
|
+
# googleapis.com/Instance firestore.googleapis.com/Database, redis.googleapis.
|
1213
|
+
# com/Instance, redis.googleapis.com/Cluster, oracledatabase.googleapis.com/
|
1214
|
+
# CloudExadataInfrastructure oracledatabase.googleapis.com/CloudVmCluster
|
1215
|
+
# oracledatabase.googleapis.com/AutonomousDatabase spanner.googleapis.com/
|
1216
|
+
# Instance, spanner.googleapis.com/Database, sqladmin.googleapis.com/Instance,
|
1217
|
+
# go/keep-sorted end REQUIRED Please refer go/condor-common-datamodel
|
1141
1218
|
# Corresponds to the JSON property `resourceType`
|
1142
1219
|
# @return [String]
|
1143
1220
|
attr_accessor :resource_type
|
@@ -2047,6 +2124,13 @@ module Google
|
|
2047
2124
|
# @return [Array<String>]
|
2048
2125
|
attr_accessor :suspension_reasons
|
2049
2126
|
|
2127
|
+
# Optional. Input only. Immutable. Tag keys/values directly bound to this
|
2128
|
+
# resource. For example: "123/environment": "production", "123/costCenter": "
|
2129
|
+
# marketing"
|
2130
|
+
# Corresponds to the JSON property `tags`
|
2131
|
+
# @return [Hash<String,String>]
|
2132
|
+
attr_accessor :tags
|
2133
|
+
|
2050
2134
|
# Required. The service tier of the instance.
|
2051
2135
|
# Corresponds to the JSON property `tier`
|
2052
2136
|
# @return [String]
|
@@ -2099,6 +2183,7 @@ module Google
|
|
2099
2183
|
@state = args[:state] if args.key?(:state)
|
2100
2184
|
@status_message = args[:status_message] if args.key?(:status_message)
|
2101
2185
|
@suspension_reasons = args[:suspension_reasons] if args.key?(:suspension_reasons)
|
2186
|
+
@tags = args[:tags] if args.key?(:tags)
|
2102
2187
|
@tier = args[:tier] if args.key?(:tier)
|
2103
2188
|
@transit_encryption_mode = args[:transit_encryption_mode] if args.key?(:transit_encryption_mode)
|
2104
2189
|
end
|
@@ -2916,6 +3001,13 @@ module Google
|
|
2916
3001
|
# @return [String]
|
2917
3002
|
attr_accessor :engine
|
2918
3003
|
|
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
|
+
|
2919
3011
|
# Type of specific database product. It could be CloudSQL, AlloyDB etc..
|
2920
3012
|
# Corresponds to the JSON property `type`
|
2921
3013
|
# @return [String]
|
@@ -2934,6 +3026,7 @@ module Google
|
|
2934
3026
|
# Update properties of this object
|
2935
3027
|
def update!(**args)
|
2936
3028
|
@engine = args[:engine] if args.key?(:engine)
|
3029
|
+
@minor_version = args[:minor_version] if args.key?(:minor_version)
|
2937
3030
|
@type = args[:type] if args.key?(:type)
|
2938
3031
|
@version = args[:version] if args.key?(:version)
|
2939
3032
|
end
|
@@ -3056,7 +3149,7 @@ module Google
|
|
3056
3149
|
# @return [String]
|
3057
3150
|
attr_accessor :network
|
3058
3151
|
|
3059
|
-
# Output only.
|
3152
|
+
# Output only. port will only be set for Primary/Reader or Discovery endpoint.
|
3060
3153
|
# Corresponds to the JSON property `port`
|
3061
3154
|
# @return [Fixnum]
|
3062
3155
|
attr_accessor :port
|
@@ -3191,8 +3284,8 @@ module Google
|
|
3191
3284
|
class RemoteCluster
|
3192
3285
|
include Google::Apis::Core::Hashable
|
3193
3286
|
|
3194
|
-
# The full resource path of the remote cluster in the format:
|
3195
|
-
# locations//clusters/
|
3287
|
+
# Output only. The full resource path of the remote cluster in the format:
|
3288
|
+
# projects//locations//clusters/
|
3196
3289
|
# Corresponds to the JSON property `cluster`
|
3197
3290
|
# @return [String]
|
3198
3291
|
attr_accessor :cluster
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.73.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 = "
|
25
|
+
REVISION = "20250701"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -130,6 +130,12 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
+
class ConfigBasedSignalData
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
133
139
|
class ConnectionDetail
|
134
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
141
|
|
@@ -670,6 +676,7 @@ module Google
|
|
670
676
|
class Cluster
|
671
677
|
# @private
|
672
678
|
class Representation < Google::Apis::Core::JsonRepresentation
|
679
|
+
property :allow_fewer_zones_deployment, as: 'allowFewerZonesDeployment'
|
673
680
|
property :async_cluster_endpoints_deletion_enabled, as: 'asyncClusterEndpointsDeletionEnabled'
|
674
681
|
property :authorization_mode, as: 'authorizationMode'
|
675
682
|
property :automated_backup_config, as: 'automatedBackupConfig', class: Google::Apis::RedisV1::AutomatedBackupConfig, decorator: Google::Apis::RedisV1::AutomatedBackupConfig::Representation
|
@@ -709,6 +716,7 @@ module Google
|
|
709
716
|
hash :redis_configs, as: 'redisConfigs'
|
710
717
|
property :replica_count, as: 'replicaCount'
|
711
718
|
property :shard_count, as: 'shardCount'
|
719
|
+
property :simulate_maintenance_event, as: 'simulateMaintenanceEvent'
|
712
720
|
property :size_gb, as: 'sizeGb'
|
713
721
|
property :state, as: 'state'
|
714
722
|
property :state_info, as: 'stateInfo', class: Google::Apis::RedisV1::StateInfo, decorator: Google::Apis::RedisV1::StateInfo::Representation
|
@@ -774,6 +782,18 @@ module Google
|
|
774
782
|
end
|
775
783
|
end
|
776
784
|
|
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
|
+
|
777
797
|
class ConnectionDetail
|
778
798
|
# @private
|
779
799
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -809,6 +829,8 @@ module Google
|
|
809
829
|
class DatabaseResourceFeed
|
810
830
|
# @private
|
811
831
|
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
|
+
|
812
834
|
property :feed_timestamp, as: 'feedTimestamp'
|
813
835
|
property :feed_type, as: 'feedType'
|
814
836
|
property :observability_metric_data, as: 'observabilityMetricData', class: Google::Apis::RedisV1::ObservabilityMetricData, decorator: Google::Apis::RedisV1::ObservabilityMetricData::Representation
|
@@ -833,6 +855,7 @@ module Google
|
|
833
855
|
property :description, as: 'description'
|
834
856
|
property :event_time, as: 'eventTime'
|
835
857
|
property :external_uri, as: 'externalUri'
|
858
|
+
property :location, as: 'location'
|
836
859
|
property :name, as: 'name'
|
837
860
|
property :provider, as: 'provider'
|
838
861
|
property :resource_container, as: 'resourceContainer'
|
@@ -1088,6 +1111,7 @@ module Google
|
|
1088
1111
|
property :state, as: 'state'
|
1089
1112
|
property :status_message, as: 'statusMessage'
|
1090
1113
|
collection :suspension_reasons, as: 'suspensionReasons'
|
1114
|
+
hash :tags, as: 'tags'
|
1091
1115
|
property :tier, as: 'tier'
|
1092
1116
|
property :transit_encryption_mode, as: 'transitEncryptionMode'
|
1093
1117
|
end
|
@@ -1317,6 +1341,7 @@ module Google
|
|
1317
1341
|
# @private
|
1318
1342
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1319
1343
|
property :engine, as: 'engine'
|
1344
|
+
property :minor_version, as: 'minorVersion'
|
1320
1345
|
property :type, as: 'type'
|
1321
1346
|
property :version, as: 'version'
|
1322
1347
|
end
|
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.
|
4
|
+
version: 0.73.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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.73.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:
|