lib/google/apis/redis_v1/representations.rb in google-apis-redis_v1-0.48.0 vs lib/google/apis/redis_v1/representations.rb in google-apis-redis_v1-0.49.0

- old
+ new

@@ -20,10 +20,16 @@ module Google module Apis module RedisV1 + class AofConfig + 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 @@ -56,10 +62,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ClusterPersistenceConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Compliance class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -290,10 +302,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class RdbConfig + 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 @@ -356,10 +374,17 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AofConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :append_fsync, as: 'appendFsync' + end + end + class AvailabilityConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation property :availability_type, as: 'availabilityType' property :external_replica_configured, as: 'externalReplicaConfigured' @@ -410,14 +435,17 @@ 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' + property :persistence_config, as: 'persistenceConfig', class: Google::Apis::RedisV1::ClusterPersistenceConfig, decorator: Google::Apis::RedisV1::ClusterPersistenceConfig::Representation + 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 + hash :redis_configs, as: 'redisConfigs' 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 @@ -425,10 +453,21 @@ property :transit_encryption_mode, as: 'transitEncryptionMode' property :uid, as: 'uid' end end + class ClusterPersistenceConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :aof_config, as: 'aofConfig', class: Google::Apis::RedisV1::AofConfig, decorator: Google::Apis::RedisV1::AofConfig::Representation + + property :mode, as: 'mode' + property :rdb_config, as: 'rdbConfig', class: Google::Apis::RedisV1::RdbConfig, decorator: Google::Apis::RedisV1::RdbConfig::Representation + + end + end + class Compliance # @private class Representation < Google::Apis::Core::JsonRepresentation property :standard, as: 'standard' property :version, as: 'version' @@ -862,9 +901,17 @@ 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 RdbConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :rdb_snapshot_period, as: 'rdbSnapshotPeriod' + property :rdb_snapshot_start_time, as: 'rdbSnapshotStartTime' end end class ReconciliationOperationMetadata # @private