lib/google/apis/redis_v1/representations.rb in google-apis-redis_v1-0.58.0 vs lib/google/apis/redis_v1/representations.rb in google-apis-redis_v1-0.59.0

- old
+ new

@@ -62,16 +62,34 @@ 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 + + class ClusterMaintenanceSchedule + 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 ClusterWeeklyMaintenanceWindow + 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 @@ -344,10 +362,16 @@ 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 + class RescheduleMaintenanceRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -426,10 +450,11 @@ end class AvailabilityConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation + property :automatic_failover_routing_configured, as: 'automaticFailoverRoutingConfigured' property :availability_type, as: 'availabilityType' property :cross_region_replica_configured, as: 'crossRegionReplicaConfigured' property :external_replica_configured, as: 'externalReplicaConfigured' property :promotable_replica_configured, as: 'promotableReplicaConfigured' end @@ -480,10 +505,14 @@ 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 + property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::RedisV1::ClusterMaintenancePolicy, decorator: Google::Apis::RedisV1::ClusterMaintenancePolicy::Representation + + property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::RedisV1::ClusterMaintenanceSchedule, decorator: Google::Apis::RedisV1::ClusterMaintenanceSchedule::Representation + property :name, as: 'name' property :node_type, as: 'nodeType' property :persistence_config, as: 'persistenceConfig', class: Google::Apis::RedisV1::ClusterPersistenceConfig, decorator: Google::Apis::RedisV1::ClusterPersistenceConfig::Representation property :precise_size_gb, as: 'preciseSizeGb' @@ -503,10 +532,29 @@ property :zone_distribution_config, as: 'zoneDistributionConfig', class: Google::Apis::RedisV1::ZoneDistributionConfig, decorator: Google::Apis::RedisV1::ZoneDistributionConfig::Representation end end + class ClusterMaintenancePolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :update_time, as: 'updateTime' + collection :weekly_maintenance_window, as: 'weeklyMaintenanceWindow', class: Google::Apis::RedisV1::ClusterWeeklyMaintenanceWindow, decorator: Google::Apis::RedisV1::ClusterWeeklyMaintenanceWindow::Representation + + end + end + + class ClusterMaintenanceSchedule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :schedule_deadline_time, as: 'scheduleDeadlineTime' + property :start_time, as: 'startTime' + 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 @@ -514,10 +562,20 @@ property :rdb_config, as: 'rdbConfig', class: Google::Apis::RedisV1::RdbConfig, decorator: Google::Apis::RedisV1::RdbConfig::Representation end end + class ClusterWeeklyMaintenanceWindow + # @private + 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 Compliance # @private class Representation < Google::Apis::Core::JsonRepresentation property :standard, as: 'standard' property :version, as: 'version' @@ -1023,9 +1081,17 @@ class RemoteCluster # @private class Representation < Google::Apis::Core::JsonRepresentation property :cluster, as: 'cluster' property :uid, as: 'uid' + end + end + + class RescheduleClusterMaintenanceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reschedule_type, as: 'rescheduleType' + property :schedule_time, as: 'scheduleTime' end end class RescheduleMaintenanceRequest # @private