lib/google/apis/redis_v1/representations.rb in google-apis-redis_v1-0.62.0 vs lib/google/apis/redis_v1/representations.rb in google-apis-redis_v1-0.63.0

- old
+ new

@@ -26,16 +26,10 @@ 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 include Google::Apis::Core::JsonObjectSupport end @@ -50,16 +44,10 @@ 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 include Google::Apis::Core::JsonObjectSupport end @@ -68,28 +56,22 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CloudAsset + class Cluster class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CloudAssetComposition + class ClusterEndpoint class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Cluster - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ClusterMaintenancePolicy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -116,10 +98,16 @@ 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 include Google::Apis::Core::JsonObjectSupport end @@ -158,16 +146,10 @@ 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 include Google::Apis::Core::JsonObjectSupport end @@ -188,16 +170,10 @@ 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 include Google::Apis::Core::JsonObjectSupport end @@ -260,16 +236,10 @@ 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 include Google::Apis::Core::JsonObjectSupport end @@ -296,22 +266,10 @@ 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 include Google::Apis::Core::JsonObjectSupport end @@ -380,16 +338,10 @@ 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 include Google::Apis::Core::JsonObjectSupport end @@ -404,23 +356,23 @@ 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 end @@ -428,16 +380,10 @@ 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 include Google::Apis::Core::JsonObjectSupport end @@ -452,16 +398,10 @@ 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 include Google::Apis::Core::JsonObjectSupport end @@ -476,16 +416,10 @@ 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 include Google::Apis::Core::JsonObjectSupport end @@ -524,16 +458,10 @@ 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 include Google::Apis::Core::JsonObjectSupport end @@ -543,25 +471,10 @@ class Representation < Google::Apis::Core::JsonRepresentation property :append_fsync, as: 'appendFsync' 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 property :automatic_failover_routing_configured, as: 'automaticFailoverRoutingConfigured' property :availability_type, as: 'availabilityType' @@ -590,17 +503,10 @@ property :start_time, as: 'startTime' property :status, as: 'status' 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 collection :certificates, as: 'certificates' end @@ -613,30 +519,16 @@ property :name, as: 'name' 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 property :deletion_protection_enabled, as: 'deletionProtectionEnabled' collection :discovery_endpoints, as: 'discoveryEndpoints', class: Google::Apis::RedisV1::DiscoveryEndpoint, decorator: Google::Apis::RedisV1::DiscoveryEndpoint::Representation @@ -652,10 +544,12 @@ property :precise_size_gb, as: 'preciseSizeGb' collection :psc_configs, as: 'pscConfigs', class: Google::Apis::RedisV1::PscConfig, decorator: Google::Apis::RedisV1::PscConfig::Representation 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' property :size_gb, as: 'sizeGb' property :state, as: 'state' @@ -666,10 +560,18 @@ property :zone_distribution_config, as: 'zoneDistributionConfig', class: Google::Apis::RedisV1::ZoneDistributionConfig, decorator: Google::Apis::RedisV1::ZoneDistributionConfig::Representation 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 property :create_time, as: 'createTime' property :update_time, as: 'updateTime' @@ -712,10 +614,18 @@ property :standard, as: 'standard' property :version, as: 'version' 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 property :cluster_role, as: 'clusterRole' property :membership, as: 'membership', class: Google::Apis::RedisV1::Membership, decorator: Google::Apis::RedisV1::Membership::Representation @@ -835,18 +745,10 @@ property :resource_name, as: 'resourceName' property :signal_type, as: 'signalType' 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 property :address, as: 'address' property :port, as: 'port' @@ -875,18 +777,10 @@ property :output_config, as: 'outputConfig', class: Google::Apis::RedisV1::OutputConfig, decorator: Google::Apis::RedisV1::OutputConfig::Representation 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 property :data_protection_mode, as: 'dataProtectionMode' end @@ -1017,25 +911,10 @@ property :resource_name, as: 'resourceName' 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 collection :clusters, as: 'clusters', class: Google::Apis::RedisV1::Cluster, decorator: Google::Apis::RedisV1::Cluster::Representation @@ -1081,36 +960,10 @@ hash :metadata, as: 'metadata' property :name, as: 'name' 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 property :cpu_count, as: 'cpuCount' property :memory_size_in_bytes, :numeric_string => true, as: 'memorySizeInBytes' @@ -1227,17 +1080,10 @@ property :rdb_snapshot_period, as: 'rdbSnapshotPeriod' property :rdb_snapshot_start_time, as: 'rdbSnapshotStartTime' 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 property :engine, as: 'engine' property :type, as: 'type' @@ -1254,18 +1100,28 @@ 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 + class RdbConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :rdb_snapshot_period, as: 'rdbSnapshotPeriod' property :rdb_snapshot_start_time, as: 'rdbSnapshotStartTime' @@ -1278,35 +1134,18 @@ property :delete_resource, as: 'deleteResource' property :exclusive_action, as: 'exclusiveAction' 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 property :cluster, as: 'cluster' property :uid, as: 'uid' 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 property :reschedule_type, as: 'rescheduleType' property :schedule_time, as: 'scheduleTime' @@ -1326,21 +1165,14 @@ class Representation < Google::Apis::Core::JsonRepresentation property :duration_based_retention, as: 'durationBasedRetention' property :quantity_based_retention, as: 'quantityBasedRetention' property :retention_unit, as: 'retentionUnit' property :time_based_retention, as: 'timeBasedRetention' + property :timestamp_based_retention_time, as: 'timestampBasedRetentionTime' end end - class SpannerLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :backup_name, as: 'backupName' - collection :db_name, as: 'dbName' - end - end - class StateInfo # @private class Representation < Google::Apis::Core::JsonRepresentation property :update_info, as: 'updateInfo', class: Google::Apis::RedisV1::UpdateInfo, decorator: Google::Apis::RedisV1::UpdateInfo::Representation @@ -1361,17 +1193,10 @@ class Representation < Google::Apis::Core::JsonRepresentation hash :tags, as: 'tags' 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 property :hours, as: 'hours' property :minutes, as: 'minutes' @@ -1428,16 +1253,9 @@ class Representation < Google::Apis::Core::JsonRepresentation property :day, as: 'day' property :duration, as: 'duration' property :start_time, as: 'startTime', class: Google::Apis::RedisV1::TimeOfDay, decorator: Google::Apis::RedisV1::TimeOfDay::Representation - end - end - - class ZoneConfiguration - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :zone, as: 'zone' end end class ZoneDistributionConfig # @private