lib/google/apis/redis_v1/representations.rb in google-apis-redis_v1-0.39.0 vs lib/google/apis/redis_v1/representations.rb in google-apis-redis_v1-0.40.0
- old
+ new
@@ -20,10 +20,34 @@
module Google
module Apis
module RedisV1
+ class CertChain
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class CertificateAuthority
+ 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 DiscoveryEndpoint
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -92,10 +116,16 @@
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
+
class ListInstancesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -128,10 +158,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class ManagedCertificateAuthority
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class NodeInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -140,10 +176,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class OperationMetadata
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class OutputConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -152,10 +194,22 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class PscConfig
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class PscConnection
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class ReconciliationOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -164,10 +218,16 @@
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
+
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -182,10 +242,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class UpdateInfo
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class UpgradeInstanceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -194,10 +260,58 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class CertChain
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :certificates, as: 'certificates'
+ end
+ end
+
+ class CertificateAuthority
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :managed_server_ca, as: 'managedServerCa', class: Google::Apis::RedisV1::ManagedCertificateAuthority, decorator: Google::Apis::RedisV1::ManagedCertificateAuthority::Representation
+
+ end
+ end
+
+ class Cluster
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :authorization_mode, as: 'authorizationMode'
+ property :create_time, as: 'createTime'
+ collection :discovery_endpoints, as: 'discoveryEndpoints', class: Google::Apis::RedisV1::DiscoveryEndpoint, decorator: Google::Apis::RedisV1::DiscoveryEndpoint::Representation
+
+ property :name, as: 'name'
+ 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
+
+ property :replica_count, as: 'replicaCount'
+ property :shard_count, as: 'shardCount'
+ property :size_gb, as: 'sizeGb'
+ property :state, as: 'state'
+ property :state_info, as: 'stateInfo', class: Google::Apis::RedisV1::StateInfo, decorator: Google::Apis::RedisV1::StateInfo::Representation
+
+ property :transit_encryption_mode, as: 'transitEncryptionMode'
+ property :uid, as: 'uid'
+ end
+ end
+
+ class DiscoveryEndpoint
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :address, as: 'address'
+ property :port, as: 'port'
+ property :psc_config, as: 'pscConfig', class: Google::Apis::RedisV1::PscConfig, decorator: Google::Apis::RedisV1::PscConfig::Representation
+
+ end
+ end
+
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
@@ -325,10 +439,20 @@
class Representation < Google::Apis::Core::JsonRepresentation
property :auth_string, as: 'authString'
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
+
+ property :next_page_token, as: 'nextPageToken'
+ collection :unreachable, as: 'unreachable'
+ end
+ end
+
class ListInstancesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances', class: Google::Apis::RedisV1::Instance, decorator: Google::Apis::RedisV1::Instance::Representation
@@ -385,10 +509,18 @@
property :schedule_deadline_time, as: 'scheduleDeadlineTime'
property :start_time, as: 'startTime'
end
end
+ class ManagedCertificateAuthority
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :ca_certs, as: 'caCerts', class: Google::Apis::RedisV1::CertChain, decorator: Google::Apis::RedisV1::CertChain::Representation
+
+ end
+ end
+
class NodeInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :zone, as: 'zone'
@@ -405,10 +537,23 @@
property :name, as: 'name'
hash :response, as: 'response'
end
end
+ class OperationMetadata
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :api_version, as: 'apiVersion'
+ property :create_time, as: 'createTime'
+ property :end_time, as: 'endTime'
+ property :requested_cancellation, as: 'requestedCancellation'
+ property :status_message, as: 'statusMessage'
+ property :target, as: 'target'
+ property :verb, as: 'verb'
+ end
+ end
+
class OutputConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::RedisV1::GcsDestination, decorator: Google::Apis::RedisV1::GcsDestination::Representation
@@ -423,10 +568,28 @@
property :rdb_snapshot_period, as: 'rdbSnapshotPeriod'
property :rdb_snapshot_start_time, as: 'rdbSnapshotStartTime'
end
end
+ class PscConfig
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :network, as: 'network'
+ end
+ end
+
+ class PscConnection
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :address, as: 'address'
+ property :forwarding_rule, as: 'forwardingRule'
+ property :network, as: 'network'
+ property :project_id, as: 'projectId'
+ property :psc_connection_id, as: 'pscConnectionId'
+ end
+ end
+
class ReconciliationOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :delete_resource, as: 'deleteResource'
property :exclusive_action, as: 'exclusiveAction'
@@ -439,10 +602,18 @@
property :reschedule_type, as: 'rescheduleType'
property :schedule_time, as: 'scheduleTime'
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
+
+ end
+ end
+
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :details, as: 'details'
@@ -466,9 +637,17 @@
property :cert, as: 'cert'
property :create_time, as: 'createTime'
property :expire_time, as: 'expireTime'
property :serial_number, as: 'serialNumber'
property :sha1_fingerprint, as: 'sha1Fingerprint'
+ end
+ end
+
+ class UpdateInfo
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :target_replica_count, as: 'targetReplicaCount'
+ property :target_shard_count, as: 'targetShardCount'
end
end
class UpgradeInstanceRequest
# @private