Class: Google::Cloud::Redis::Cluster::V1beta1::RescheduleClusterMaintenanceRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Redis::Cluster::V1beta1::RescheduleClusterMaintenanceRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster.rb
Overview
Request for rescheduling a cluster maintenance.
Defined Under Namespace
Modules: RescheduleType
Instance Attribute Summary collapse
-
#name ⇒ ::String
Required.
-
#reschedule_type ⇒ ::Google::Cloud::Redis::Cluster::V1beta1::RescheduleClusterMaintenanceRequest::RescheduleType
Required.
-
#schedule_time ⇒ ::Google::Protobuf::Timestamp
Optional.
Instance Attribute Details
#name ⇒ ::String
Returns Required. Redis Cluster instance resource name using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
where location_id
refers to a GCP region.
1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 |
# File 'proto_docs/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster.rb', line 1147 class RescheduleClusterMaintenanceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reschedule options. module RescheduleType # Not set. RESCHEDULE_TYPE_UNSPECIFIED = 0 # If the user wants to schedule the maintenance to happen now. IMMEDIATE = 1 # If the user wants to reschedule the maintenance to a specific time. SPECIFIC_TIME = 3 end end |
#reschedule_type ⇒ ::Google::Cloud::Redis::Cluster::V1beta1::RescheduleClusterMaintenanceRequest::RescheduleType
Returns Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.
1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 |
# File 'proto_docs/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster.rb', line 1147 class RescheduleClusterMaintenanceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reschedule options. module RescheduleType # Not set. RESCHEDULE_TYPE_UNSPECIFIED = 0 # If the user wants to schedule the maintenance to happen now. IMMEDIATE = 1 # If the user wants to reschedule the maintenance to a specific time. SPECIFIC_TIME = 3 end end |
#schedule_time ⇒ ::Google::Protobuf::Timestamp
Returns Optional. Timestamp when the maintenance shall be rescheduled to if
reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for
example 2012-11-15T16:19:00.094Z
.
1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 |
# File 'proto_docs/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster.rb', line 1147 class RescheduleClusterMaintenanceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Reschedule options. module RescheduleType # Not set. RESCHEDULE_TYPE_UNSPECIFIED = 0 # If the user wants to schedule the maintenance to happen now. IMMEDIATE = 1 # If the user wants to reschedule the maintenance to a specific time. SPECIFIC_TIME = 3 end end |