lib/google/apis/redis_v1/representations.rb in google-apis-redis_v1-0.8.0 vs lib/google/apis/redis_v1/representations.rb in google-apis-redis_v1-0.9.0
- old
+ new
@@ -116,10 +116,22 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class MaintenancePolicy
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class MaintenanceSchedule
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Operation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -128,16 +140,28 @@
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
+
class Status
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
+
class TlsCertificate
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -146,10 +170,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class WeeklyMaintenanceWindow
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
@@ -237,10 +267,14 @@
property :current_location_id, as: 'currentLocationId'
property :display_name, as: 'displayName'
property :host, as: 'host'
hash :labels, as: 'labels'
property :location_id, as: 'locationId'
+ property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::RedisV1::MaintenancePolicy, decorator: Google::Apis::RedisV1::MaintenancePolicy::Representation
+
+ property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::RedisV1::MaintenanceSchedule, decorator: Google::Apis::RedisV1::MaintenanceSchedule::Representation
+
property :memory_size_gb, as: 'memorySizeGb'
property :name, as: 'name'
property :persistence_iam_identity, as: 'persistenceIamIdentity'
property :port, as: 'port'
hash :redis_configs, as: 'redisConfigs'
@@ -299,10 +333,31 @@
hash :metadata, as: 'metadata'
property :name, as: 'name'
end
end
+ class MaintenancePolicy
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :create_time, as: 'createTime'
+ property :description, as: 'description'
+ property :update_time, as: 'updateTime'
+ collection :weekly_maintenance_window, as: 'weeklyMaintenanceWindow', class: Google::Apis::RedisV1::WeeklyMaintenanceWindow, decorator: Google::Apis::RedisV1::WeeklyMaintenanceWindow::Representation
+
+ end
+ end
+
+ class MaintenanceSchedule
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :can_reschedule, as: 'canReschedule'
+ property :end_time, as: 'endTime'
+ property :schedule_deadline_time, as: 'scheduleDeadlineTime'
+ property :start_time, as: 'startTime'
+ end
+ end
+
class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :done, as: 'done'
property :error, as: 'error', class: Google::Apis::RedisV1::Status, decorator: Google::Apis::RedisV1::Status::Representation
@@ -319,19 +374,37 @@
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::RedisV1::GcsDestination, decorator: Google::Apis::RedisV1::GcsDestination::Representation
end
end
+ class RescheduleMaintenanceRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :reschedule_type, as: 'rescheduleType'
+ property :schedule_time, as: 'scheduleTime'
+ end
+ end
+
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :details, as: 'details'
property :message, as: 'message'
end
end
+ class TimeOfDay
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :hours, as: 'hours'
+ property :minutes, as: 'minutes'
+ property :nanos, as: 'nanos'
+ property :seconds, as: 'seconds'
+ end
+ end
+
class TlsCertificate
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cert, as: 'cert'
property :create_time, as: 'createTime'
@@ -343,9 +416,19 @@
class UpgradeInstanceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :redis_version, as: 'redisVersion'
+ end
+ end
+
+ class WeeklyMaintenanceWindow
+ # @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
end
end
end