diff --git a/api_names_out.yaml b/api_names_out.yaml index 4269b6313e4..5dd2473e810 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -282113,6 +282113,8 @@ "/redis:v1/CloudAssetComposition/childAsset/child_asset": child_asset "/redis:v1/Cluster": cluster "/redis:v1/Cluster/authorizationMode": authorization_mode +"/redis:v1/Cluster/clusterEndpoints": cluster_endpoints +"/redis:v1/Cluster/clusterEndpoints/cluster_endpoint": cluster_endpoint "/redis:v1/Cluster/clusterUid": cluster_uid "/redis:v1/Cluster/createTime": create_time "/redis:v1/Cluster/crossClusterReplicationConfig": cross_cluster_replication_config @@ -282135,6 +282137,8 @@ "/redis:v1/Cluster/pscConfigs/psc_config": psc_config "/redis:v1/Cluster/pscConnections": psc_connections "/redis:v1/Cluster/pscConnections/psc_connection": psc_connection +"/redis:v1/Cluster/pscServiceAttachments": psc_service_attachments +"/redis:v1/Cluster/pscServiceAttachments/psc_service_attachment": psc_service_attachment "/redis:v1/Cluster/redisConfigs": redis_configs "/redis:v1/Cluster/redisConfigs/redis_config": redis_config "/redis:v1/Cluster/replicaCount": replica_count @@ -282148,6 +282152,9 @@ "/redis:v1/Cluster/transitEncryptionMode": transit_encryption_mode "/redis:v1/Cluster/uid": uid "/redis:v1/Cluster/zoneDistributionConfig": zone_distribution_config +"/redis:v1/ClusterEndpoint": cluster_endpoint +"/redis:v1/ClusterEndpoint/connections": connections +"/redis:v1/ClusterEndpoint/connections/connection": connection "/redis:v1/ClusterMaintenancePolicy": cluster_maintenance_policy "/redis:v1/ClusterMaintenancePolicy/createTime": create_time "/redis:v1/ClusterMaintenancePolicy/updateTime": update_time @@ -282173,6 +282180,8 @@ "/redis:v1/Compliance": compliance "/redis:v1/Compliance/standard": standard "/redis:v1/Compliance/version": version +"/redis:v1/ConnectionDetail": connection_detail +"/redis:v1/ConnectionDetail/pscConnection": psc_connection "/redis:v1/CrossClusterReplicationConfig": cross_cluster_replication_config "/redis:v1/CrossClusterReplicationConfig/clusterRole": cluster_role "/redis:v1/CrossClusterReplicationConfig/membership": membership @@ -282518,11 +282527,16 @@ "/redis:v1/PscConfig/network": network "/redis:v1/PscConnection": psc_connection "/redis:v1/PscConnection/address": address +"/redis:v1/PscConnection/connectionType": connection_type "/redis:v1/PscConnection/forwardingRule": forwarding_rule "/redis:v1/PscConnection/network": network "/redis:v1/PscConnection/projectId": project_id "/redis:v1/PscConnection/pscConnectionId": psc_connection_id +"/redis:v1/PscConnection/pscConnectionStatus": psc_connection_status "/redis:v1/PscConnection/serviceAttachment": service_attachment +"/redis:v1/PscServiceAttachment": psc_service_attachment +"/redis:v1/PscServiceAttachment/connectionType": connection_type +"/redis:v1/PscServiceAttachment/serviceAttachment": service_attachment "/redis:v1/RDBConfig": rdb_config "/redis:v1/RDBConfig/rdbSnapshotPeriod": rdb_snapshot_period "/redis:v1/RDBConfig/rdbSnapshotStartTime": rdb_snapshot_start_time @@ -282550,6 +282564,7 @@ "/redis:v1/RetentionSettings/quantityBasedRetention": quantity_based_retention "/redis:v1/RetentionSettings/retentionUnit": retention_unit "/redis:v1/RetentionSettings/timeBasedRetention": time_based_retention +"/redis:v1/RetentionSettings/timestampBasedRetentionTime": timestamp_based_retention_time "/redis:v1/SpannerLocation": spanner_location "/redis:v1/SpannerLocation/backupName": backup_name "/redis:v1/SpannerLocation/backupName/backup_name": backup_name diff --git a/generated/google-apis-redis_v1/CHANGELOG.md b/generated/google-apis-redis_v1/CHANGELOG.md index 1d9a83885dc..1c28d4bf034 100644 --- a/generated/google-apis-redis_v1/CHANGELOG.md +++ b/generated/google-apis-redis_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-redis_v1 +### v0.63.0 (2024-10-27) + +* Regenerated from discovery document revision 20241017 + ### v0.62.0 (2024-10-13) * Regenerated from discovery document revision 20241003 diff --git a/generated/google-apis-redis_v1/lib/google/apis/redis_v1/classes.rb b/generated/google-apis-redis_v1/lib/google/apis/redis_v1/classes.rb index a7a9f133d05..d356d53fdfc 100644 --- a/generated/google-apis-redis_v1/lib/google/apis/redis_v1/classes.rb +++ b/generated/google-apis-redis_v1/lib/google/apis/redis_v1/classes.rb @@ -41,53 +41,6 @@ def update!(**args) end end - # Provides the mapping of a cloud asset to a direct physical location or to a - # proxy that defines the location on its behalf. - class AssetLocation - include Google::Apis::Core::Hashable - - # Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants - # that use CCFE RMS for storing resource metadata. - # Corresponds to the JSON property `ccfeRmsPath` - # @return [String] - attr_accessor :ccfe_rms_path - - # Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state - # of the region at the time of asset creation. - # Corresponds to the JSON property `expected` - # @return [Google::Apis::RedisV1::IsolationExpectations] - attr_accessor :expected - - # Defines extra parameters required for specific asset types. - # Corresponds to the JSON property `extraParameters` - # @return [Array] - attr_accessor :extra_parameters - - # Contains all kinds of physical location definitions for this asset. - # Corresponds to the JSON property `locationData` - # @return [Array] - attr_accessor :location_data - - # Defines parents assets if any in order to allow later generation of - # child_asset_location data via child assets. - # Corresponds to the JSON property `parentAsset` - # @return [Array] - attr_accessor :parent_asset - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ccfe_rms_path = args[:ccfe_rms_path] if args.key?(:ccfe_rms_path) - @expected = args[:expected] if args.key?(:expected) - @extra_parameters = args[:extra_parameters] if args.key?(:extra_parameters) - @location_data = args[:location_data] if args.key?(:location_data) - @parent_asset = args[:parent_asset] if args.key?(:parent_asset) - end - end - # Configuration for availability of database instance class AvailabilityConfiguration include Google::Apis::Core::Hashable @@ -213,26 +166,6 @@ def update!(**args) end end - # Policy ID that identified data placement in Blobstore as per go/blobstore-user- - # guide#data-metadata-placement-and-failure-domains - class BlobstoreLocation - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `policyId` - # @return [Array] - attr_accessor :policy_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @policy_id = args[:policy_id] if args.key?(:policy_id) - end - end - # class CertChain include Google::Apis::Core::Hashable @@ -279,50 +212,6 @@ def update!(**args) end end - # - class CloudAsset - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `assetName` - # @return [String] - attr_accessor :asset_name - - # - # Corresponds to the JSON property `assetType` - # @return [String] - attr_accessor :asset_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @asset_name = args[:asset_name] if args.key?(:asset_name) - @asset_type = args[:asset_type] if args.key?(:asset_type) - end - end - - # - class CloudAssetComposition - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `childAsset` - # @return [Array] - attr_accessor :child_asset - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @child_asset = args[:child_asset] if args.key?(:child_asset) - end - end - # A cluster instance. class Cluster include Google::Apis::Core::Hashable @@ -333,6 +222,11 @@ class Cluster # @return [String] attr_accessor :authorization_mode + # Optional. A list of cluster enpoints. + # Corresponds to the JSON property `clusterEndpoints` + # @return [Array] + attr_accessor :cluster_endpoints + # Output only. The timestamp associated with the cluster creation request. # Corresponds to the JSON property `createTime` # @return [String] @@ -388,7 +282,7 @@ class Cluster # @return [Float] attr_accessor :precise_size_gb - # Required. Each PscConfig configures the consumer network where IPs will be + # Optional. Each PscConfig configures the consumer network where IPs will be # designated to the cluster for client access through Private Service Connect # Automation. Currently, only one PscConfig is supported. # Corresponds to the JSON property `pscConfigs` @@ -401,6 +295,11 @@ class Cluster # @return [Array] attr_accessor :psc_connections + # Output only. Service attachment details to configure Psc connections + # Corresponds to the JSON property `pscServiceAttachments` + # @return [Array] + attr_accessor :psc_service_attachments + # Optional. Key/Value pairs of customer overrides for mutable Redis Configs # Corresponds to the JSON property `redisConfigs` # @return [Hash] @@ -456,6 +355,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @authorization_mode = args[:authorization_mode] if args.key?(:authorization_mode) + @cluster_endpoints = args[:cluster_endpoints] if args.key?(:cluster_endpoints) @create_time = args[:create_time] if args.key?(:create_time) @cross_cluster_replication_config = args[:cross_cluster_replication_config] if args.key?(:cross_cluster_replication_config) @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled) @@ -468,6 +368,7 @@ def update!(**args) @precise_size_gb = args[:precise_size_gb] if args.key?(:precise_size_gb) @psc_configs = args[:psc_configs] if args.key?(:psc_configs) @psc_connections = args[:psc_connections] if args.key?(:psc_connections) + @psc_service_attachments = args[:psc_service_attachments] if args.key?(:psc_service_attachments) @redis_configs = args[:redis_configs] if args.key?(:redis_configs) @replica_count = args[:replica_count] if args.key?(:replica_count) @shard_count = args[:shard_count] if args.key?(:shard_count) @@ -480,6 +381,28 @@ def update!(**args) end end + # ClusterEndpoint consists of PSC connections that are created as a group in + # each VPC network for accessing the cluster. In each group, there shall be one + # connection for each service attachment in the cluster. + class ClusterEndpoint + include Google::Apis::Core::Hashable + + # A group of PSC connections. They are created in the same VPC network, one for + # each service attachment in the cluster. + # Corresponds to the JSON property `connections` + # @return [Array] + attr_accessor :connections + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @connections = args[:connections] if args.key?(:connections) + end + end + # Maintenance policy per cluster. class ClusterMaintenancePolicy include Google::Apis::Core::Hashable @@ -626,6 +549,25 @@ def update!(**args) end end + # Detailed information of each PSC connection. + class ConnectionDetail + include Google::Apis::Core::Hashable + + # Details of consumer resources in a PSC connection. + # Corresponds to the JSON property `pscConnection` + # @return [Google::Apis::RedisV1::PscConnection] + attr_accessor :psc_connection + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @psc_connection = args[:psc_connection] if args.key?(:psc_connection) + end + end + # Cross cluster replication config. class CrossClusterReplicationConfig include Google::Apis::Core::Hashable @@ -1135,25 +1077,6 @@ def update!(**args) end end - # - class DirectLocationAssignment - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `location` - # @return [Array] - attr_accessor :location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @location = args[:location] if args.key?(:location) - end - end - # Endpoints on each network, for Redis clients to connect to the cluster. class DiscoveryEndpoint include Google::Apis::Core::Hashable @@ -1248,26 +1171,6 @@ def update!(**args) end end - # Defines parameters that should only be used for specific asset types. - class ExtraParameter - include Google::Apis::Core::Hashable - - # To be used for specifying the intended distribution of regional compute. - # googleapis.com/InstanceGroupManager instances - # Corresponds to the JSON property `regionalMigDistributionPolicy` - # @return [Google::Apis::RedisV1::RegionalMigDistributionPolicy] - attr_accessor :regional_mig_distribution_policy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @regional_mig_distribution_policy = args[:regional_mig_distribution_policy] if args.key?(:regional_mig_distribution_policy) - end - end - # Request for Failover. class FailoverInstanceRequest include Google::Apis::Core::Hashable @@ -1818,70 +1721,6 @@ def update!(**args) end end - # - class IsolationExpectations - include Google::Apis::Core::Hashable - - # Explicit overrides for ZI and ZS requirements to be used for resources that - # should be excluded from ZI/ZS verification logic. - # Corresponds to the JSON property `requirementOverride` - # @return [Google::Apis::RedisV1::RequirementOverride] - attr_accessor :requirement_override - - # - # Corresponds to the JSON property `ziOrgPolicy` - # @return [String] - attr_accessor :zi_org_policy - - # - # Corresponds to the JSON property `ziRegionPolicy` - # @return [String] - attr_accessor :zi_region_policy - - # - # Corresponds to the JSON property `ziRegionState` - # @return [String] - attr_accessor :zi_region_state - - # Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead - # for setting ZI expectations as per go/zicy-publish-physical-location. - # Corresponds to the JSON property `zoneIsolation` - # @return [String] - attr_accessor :zone_isolation - - # Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs - # expectations as per go/zicy-publish-physical-location. - # Corresponds to the JSON property `zoneSeparation` - # @return [String] - attr_accessor :zone_separation - - # - # Corresponds to the JSON property `zsOrgPolicy` - # @return [String] - attr_accessor :zs_org_policy - - # - # Corresponds to the JSON property `zsRegionState` - # @return [String] - attr_accessor :zs_region_state - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @requirement_override = args[:requirement_override] if args.key?(:requirement_override) - @zi_org_policy = args[:zi_org_policy] if args.key?(:zi_org_policy) - @zi_region_policy = args[:zi_region_policy] if args.key?(:zi_region_policy) - @zi_region_state = args[:zi_region_state] if args.key?(:zi_region_state) - @zone_isolation = args[:zone_isolation] if args.key?(:zone_isolation) - @zone_separation = args[:zone_separation] if args.key?(:zone_separation) - @zs_org_policy = args[:zs_org_policy] if args.key?(:zs_org_policy) - @zs_region_state = args[:zs_region_state] if args.key?(:zs_region_state) - end - end - # Response for ListClusters. class ListClustersResponse include Google::Apis::Core::Hashable @@ -2059,82 +1898,6 @@ def update!(**args) end end - # - class LocationAssignment - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # - # Corresponds to the JSON property `locationType` - # @return [String] - attr_accessor :location_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @location = args[:location] if args.key?(:location) - @location_type = args[:location_type] if args.key?(:location_type) - end - end - - # - class LocationData - include Google::Apis::Core::Hashable - - # Policy ID that identified data placement in Blobstore as per go/blobstore-user- - # guide#data-metadata-placement-and-failure-domains - # Corresponds to the JSON property `blobstoreLocation` - # @return [Google::Apis::RedisV1::BlobstoreLocation] - attr_accessor :blobstore_location - - # - # Corresponds to the JSON property `childAssetLocation` - # @return [Google::Apis::RedisV1::CloudAssetComposition] - attr_accessor :child_asset_location - - # - # Corresponds to the JSON property `directLocation` - # @return [Google::Apis::RedisV1::DirectLocationAssignment] - attr_accessor :direct_location - - # - # Corresponds to the JSON property `gcpProjectProxy` - # @return [Google::Apis::RedisV1::TenantProjectProxy] - attr_accessor :gcp_project_proxy - - # Message describing that the location of the customer resource is tied to - # placer allocations - # Corresponds to the JSON property `placerLocation` - # @return [Google::Apis::RedisV1::PlacerLocation] - attr_accessor :placer_location - - # - # Corresponds to the JSON property `spannerLocation` - # @return [Google::Apis::RedisV1::SpannerLocation] - attr_accessor :spanner_location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @blobstore_location = args[:blobstore_location] if args.key?(:blobstore_location) - @child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location) - @direct_location = args[:direct_location] if args.key?(:direct_location) - @gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy) - @placer_location = args[:placer_location] if args.key?(:placer_location) - @spanner_location = args[:spanner_location] if args.key?(:spanner_location) - end - end - # MachineConfiguration describes the configuration of a machine specific to # Database Resource. class MachineConfiguration @@ -2588,27 +2351,6 @@ def update!(**args) end end - # Message describing that the location of the customer resource is tied to - # placer allocations - class PlacerLocation - include Google::Apis::Core::Hashable - - # Directory with a config related to it in placer (e.g. "/placer/prod/home/my- - # root/my-dir") - # Corresponds to the JSON property `placerConfig` - # @return [String] - attr_accessor :placer_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @placer_config = args[:placer_config] if args.key?(:placer_config) - end - end - # Product specification for Condor resources. class Product include Google::Apis::Core::Hashable @@ -2671,6 +2413,11 @@ class PscConnection # @return [String] attr_accessor :address + # Output only. Type of the PSC connection. + # Corresponds to the JSON property `connectionType` + # @return [String] + attr_accessor :connection_type + # Required. The URI of the consumer side forwarding rule. Example: projects/` # projectNumOrId`/regions/us-east1/forwardingRules/`resourceId`. # Corresponds to the JSON property `forwardingRule` @@ -2695,6 +2442,14 @@ class PscConnection # @return [String] attr_accessor :psc_connection_id + # Output only. The status of the PSC connection. Please note that this value is + # updated periodically. To get the latest status of a PSC connection, follow + # https://cloud.google.com/vpc/docs/configure-private-service-connect-services# + # endpoint-details. + # Corresponds to the JSON property `pscConnectionStatus` + # @return [String] + attr_accessor :psc_connection_status + # Required. The service attachment which is the target of the PSC connection, in # the form of projects/`project-id`/regions/`region`/serviceAttachments/`service- # attachment-id`. @@ -2709,10 +2464,39 @@ def initialize(**args) # Update properties of this object def update!(**args) @address = args[:address] if args.key?(:address) + @connection_type = args[:connection_type] if args.key?(:connection_type) @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule) @network = args[:network] if args.key?(:network) @project_id = args[:project_id] if args.key?(:project_id) @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id) + @psc_connection_status = args[:psc_connection_status] if args.key?(:psc_connection_status) + @service_attachment = args[:service_attachment] if args.key?(:service_attachment) + end + end + + # Configuration of a service attachment of the cluster, for creating PSC + # connections. + class PscServiceAttachment + include Google::Apis::Core::Hashable + + # Output only. Type of a PSC connection targeting this service attachment. + # Corresponds to the JSON property `connectionType` + # @return [String] + attr_accessor :connection_type + + # Output only. Service attachment URI which your self-created PscConnection + # should use as target + # Corresponds to the JSON property `serviceAttachment` + # @return [String] + attr_accessor :service_attachment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @connection_type = args[:connection_type] if args.key?(:connection_type) @service_attachment = args[:service_attachment] if args.key?(:service_attachment) end end @@ -2770,33 +2554,6 @@ def update!(**args) end end - # To be used for specifying the intended distribution of regional compute. - # googleapis.com/InstanceGroupManager instances - class RegionalMigDistributionPolicy - include Google::Apis::Core::Hashable - - # The shape in which the group converges around distribution of resources. - # Instance of proto2 enum - # Corresponds to the JSON property `targetShape` - # @return [Fixnum] - attr_accessor :target_shape - - # Cloud zones used by regional MIG to create instances. - # Corresponds to the JSON property `zones` - # @return [Array] - attr_accessor :zones - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @target_shape = args[:target_shape] if args.key?(:target_shape) - @zones = args[:zones] if args.key?(:zones) - end - end - # Details of the remote cluster associated with this cluster in a cross cluster # replication setup. class RemoteCluster @@ -2824,31 +2581,6 @@ def update!(**args) end end - # - class RequirementOverride - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `ziOverride` - # @return [String] - attr_accessor :zi_override - - # - # Corresponds to the JSON property `zsOverride` - # @return [String] - attr_accessor :zs_override - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @zi_override = args[:zi_override] if args.key?(:zi_override) - @zs_override = args[:zs_override] if args.key?(:zs_override) - end - end - # Request for rescheduling a cluster maintenance. class RescheduleClusterMaintenanceRequest include Google::Apis::Core::Hashable @@ -2929,6 +2661,11 @@ class RetentionSettings # @return [String] attr_accessor :time_based_retention + # Timestamp based retention period i.e. 2024-05-01T00:00:00Z + # Corresponds to the JSON property `timestampBasedRetentionTime` + # @return [String] + attr_accessor :timestamp_based_retention_time + def initialize(**args) update!(**args) end @@ -2939,32 +2676,7 @@ def update!(**args) @quantity_based_retention = args[:quantity_based_retention] if args.key?(:quantity_based_retention) @retention_unit = args[:retention_unit] if args.key?(:retention_unit) @time_based_retention = args[:time_based_retention] if args.key?(:time_based_retention) - end - end - - # - class SpannerLocation - include Google::Apis::Core::Hashable - - # Set of backups used by the resource with name in the same format as what is - # available at http://table/spanner_automon.backup_metadata - # Corresponds to the JSON property `backupName` - # @return [Array] - attr_accessor :backup_name - - # Set of databases used by the resource in format /span// - # Corresponds to the JSON property `dbName` - # @return [Array] - attr_accessor :db_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @backup_name = args[:backup_name] if args.key?(:backup_name) - @db_name = args[:db_name] if args.key?(:db_name) + @timestamp_based_retention_time = args[:timestamp_based_retention_time] if args.key?(:timestamp_based_retention_time) end end @@ -3047,25 +2759,6 @@ def update!(**args) end end - # - class TenantProjectProxy - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `projectNumbers` - # @return [Array] - attr_accessor :project_numbers - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @project_numbers = args[:project_numbers] if args.key?(:project_numbers) - end - end - # Represents a time of day. The date and time zone are either not significant or # are specified elsewhere. An API may choose to allow leap seconds. Related # types are google.type.Date and `google.protobuf.Timestamp`. @@ -3295,25 +2988,6 @@ def update!(**args) end end - # - class ZoneConfiguration - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `zone` - # @return [String] - attr_accessor :zone - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @zone = args[:zone] if args.key?(:zone) - end - end - # Zone distribution config for allocation of cluster resources. class ZoneDistributionConfig include Google::Apis::Core::Hashable diff --git a/generated/google-apis-redis_v1/lib/google/apis/redis_v1/gem_version.rb b/generated/google-apis-redis_v1/lib/google/apis/redis_v1/gem_version.rb index e7edb8fdb1d..5facadeca70 100644 --- a/generated/google-apis-redis_v1/lib/google/apis/redis_v1/gem_version.rb +++ b/generated/google-apis-redis_v1/lib/google/apis/redis_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module RedisV1 # Version of the google-apis-redis_v1 gem - GEM_VERSION = "0.62.0" + GEM_VERSION = "0.63.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.15.1" # Revision of the discovery document this client was generated from - REVISION = "20241003" + REVISION = "20241017" end end end diff --git a/generated/google-apis-redis_v1/lib/google/apis/redis_v1/representations.rb b/generated/google-apis-redis_v1/lib/google/apis/redis_v1/representations.rb index 90e0bcf7448..ef54159b0df 100644 --- a/generated/google-apis-redis_v1/lib/google/apis/redis_v1/representations.rb +++ b/generated/google-apis-redis_v1/lib/google/apis/redis_v1/representations.rb @@ -28,12 +28,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AssetLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class AvailabilityConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end @@ -52,12 +46,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class BlobstoreLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class CertChain class Representation < Google::Apis::Core::JsonRepresentation; end @@ -70,19 +58,13 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CloudAsset - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CloudAssetComposition + class Cluster class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Cluster + class ClusterEndpoint class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -118,6 +100,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ConnectionDetail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CrossClusterReplicationConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -160,12 +148,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class DirectLocationAssignment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class DiscoveryEndpoint class Representation < Google::Apis::Core::JsonRepresentation; end @@ -190,12 +172,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ExtraParameter - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class FailoverInstanceRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -262,12 +238,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class IsolationExpectations - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListClustersResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -298,18 +268,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LocationAssignment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LocationData - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class MachineConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end @@ -382,12 +340,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class PlacerLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Product class Representation < Google::Apis::Core::JsonRepresentation; end @@ -406,19 +358,19 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class RdbConfig + class PscServiceAttachment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ReconciliationOperationMetadata + class RdbConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class RegionalMigDistributionPolicy + class ReconciliationOperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -430,12 +382,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class RequirementOverride - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class RescheduleClusterMaintenanceRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -454,12 +400,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SpannerLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class StateInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -478,12 +418,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TenantProjectProxy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class TimeOfDay class Representation < Google::Apis::Core::JsonRepresentation; end @@ -526,12 +460,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ZoneConfiguration - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ZoneDistributionConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -545,21 +473,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class AssetLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ccfe_rms_path, as: 'ccfeRmsPath' - property :expected, as: 'expected', class: Google::Apis::RedisV1::IsolationExpectations, decorator: Google::Apis::RedisV1::IsolationExpectations::Representation - - collection :extra_parameters, as: 'extraParameters', class: Google::Apis::RedisV1::ExtraParameter, decorator: Google::Apis::RedisV1::ExtraParameter::Representation - - collection :location_data, as: 'locationData', class: Google::Apis::RedisV1::LocationData, decorator: Google::Apis::RedisV1::LocationData::Representation - - collection :parent_asset, as: 'parentAsset', class: Google::Apis::RedisV1::CloudAsset, decorator: Google::Apis::RedisV1::CloudAsset::Representation - - end - end - class AvailabilityConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -592,13 +505,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class BlobstoreLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :policy_id, as: 'policyId' - end - end - class CertChain # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -615,26 +521,12 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class CloudAsset - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :asset_name, as: 'assetName' - property :asset_type, as: 'assetType' - end - end - - class CloudAssetComposition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :child_asset, as: 'childAsset', class: Google::Apis::RedisV1::CloudAsset, decorator: Google::Apis::RedisV1::CloudAsset::Representation - - end - end - class Cluster # @private class Representation < Google::Apis::Core::JsonRepresentation property :authorization_mode, as: 'authorizationMode' + collection :cluster_endpoints, as: 'clusterEndpoints', class: Google::Apis::RedisV1::ClusterEndpoint, decorator: Google::Apis::RedisV1::ClusterEndpoint::Representation + property :create_time, as: 'createTime' property :cross_cluster_replication_config, as: 'crossClusterReplicationConfig', class: Google::Apis::RedisV1::CrossClusterReplicationConfig, decorator: Google::Apis::RedisV1::CrossClusterReplicationConfig::Representation @@ -654,6 +546,8 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :psc_connections, as: 'pscConnections', class: Google::Apis::RedisV1::PscConnection, decorator: Google::Apis::RedisV1::PscConnection::Representation + collection :psc_service_attachments, as: 'pscServiceAttachments', class: Google::Apis::RedisV1::PscServiceAttachment, decorator: Google::Apis::RedisV1::PscServiceAttachment::Representation + hash :redis_configs, as: 'redisConfigs' property :replica_count, as: 'replicaCount' property :shard_count, as: 'shardCount' @@ -668,6 +562,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class ClusterEndpoint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :connections, as: 'connections', class: Google::Apis::RedisV1::ConnectionDetail, decorator: Google::Apis::RedisV1::ConnectionDetail::Representation + + end + end + class ClusterMaintenancePolicy # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -714,6 +616,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class ConnectionDetail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :psc_connection, as: 'pscConnection', class: Google::Apis::RedisV1::PscConnection, decorator: Google::Apis::RedisV1::PscConnection::Representation + + end + end + class CrossClusterReplicationConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -837,14 +747,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class DirectLocationAssignment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :location, as: 'location', class: Google::Apis::RedisV1::LocationAssignment, decorator: Google::Apis::RedisV1::LocationAssignment::Representation - - end - end - class DiscoveryEndpoint # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -877,14 +779,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class ExtraParameter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :regional_mig_distribution_policy, as: 'regionalMigDistributionPolicy', class: Google::Apis::RedisV1::RegionalMigDistributionPolicy, decorator: Google::Apis::RedisV1::RegionalMigDistributionPolicy::Representation - - end - end - class FailoverInstanceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1019,21 +913,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class IsolationExpectations - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :requirement_override, as: 'requirementOverride', class: Google::Apis::RedisV1::RequirementOverride, decorator: Google::Apis::RedisV1::RequirementOverride::Representation - - property :zi_org_policy, as: 'ziOrgPolicy' - property :zi_region_policy, as: 'ziRegionPolicy' - property :zi_region_state, as: 'ziRegionState' - property :zone_isolation, as: 'zoneIsolation' - property :zone_separation, as: 'zoneSeparation' - property :zs_org_policy, as: 'zsOrgPolicy' - property :zs_region_state, as: 'zsRegionState' - end - end - class ListClustersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1083,32 +962,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class LocationAssignment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :location, as: 'location' - property :location_type, as: 'locationType' - end - end - - class LocationData - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :blobstore_location, as: 'blobstoreLocation', class: Google::Apis::RedisV1::BlobstoreLocation, decorator: Google::Apis::RedisV1::BlobstoreLocation::Representation - - property :child_asset_location, as: 'childAssetLocation', class: Google::Apis::RedisV1::CloudAssetComposition, decorator: Google::Apis::RedisV1::CloudAssetComposition::Representation - - property :direct_location, as: 'directLocation', class: Google::Apis::RedisV1::DirectLocationAssignment, decorator: Google::Apis::RedisV1::DirectLocationAssignment::Representation - - property :gcp_project_proxy, as: 'gcpProjectProxy', class: Google::Apis::RedisV1::TenantProjectProxy, decorator: Google::Apis::RedisV1::TenantProjectProxy::Representation - - property :placer_location, as: 'placerLocation', class: Google::Apis::RedisV1::PlacerLocation, decorator: Google::Apis::RedisV1::PlacerLocation::Representation - - property :spanner_location, as: 'spannerLocation', class: Google::Apis::RedisV1::SpannerLocation, decorator: Google::Apis::RedisV1::SpannerLocation::Representation - - end - end - class MachineConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1229,13 +1082,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class PlacerLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :placer_config, as: 'placerConfig' - end - end - class Product # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1256,10 +1102,20 @@ class PscConnection # @private class Representation < Google::Apis::Core::JsonRepresentation property :address, as: 'address' + property :connection_type, as: 'connectionType' property :forwarding_rule, as: 'forwardingRule' property :network, as: 'network' property :project_id, as: 'projectId' property :psc_connection_id, as: 'pscConnectionId' + property :psc_connection_status, as: 'pscConnectionStatus' + property :service_attachment, as: 'serviceAttachment' + end + end + + class PscServiceAttachment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :connection_type, as: 'connectionType' property :service_attachment, as: 'serviceAttachment' end end @@ -1280,15 +1136,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class RegionalMigDistributionPolicy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :target_shape, as: 'targetShape' - collection :zones, as: 'zones', class: Google::Apis::RedisV1::ZoneConfiguration, decorator: Google::Apis::RedisV1::ZoneConfiguration::Representation - - end - end - class RemoteCluster # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1297,14 +1144,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class RequirementOverride - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :zi_override, as: 'ziOverride' - property :zs_override, as: 'zsOverride' - end - end - class RescheduleClusterMaintenanceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1328,14 +1167,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :quantity_based_retention, as: 'quantityBasedRetention' property :retention_unit, as: 'retentionUnit' property :time_based_retention, as: 'timeBasedRetention' - end - end - - class SpannerLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :backup_name, as: 'backupName' - collection :db_name, as: 'dbName' + property :timestamp_based_retention_time, as: 'timestampBasedRetentionTime' end end @@ -1363,13 +1195,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class TenantProjectProxy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :project_numbers, as: 'projectNumbers' - end - end - class TimeOfDay # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1433,13 +1258,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class ZoneConfiguration - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :zone, as: 'zone' - end - end - class ZoneDistributionConfig # @private class Representation < Google::Apis::Core::JsonRepresentation