Class: Google::Cloud::Memcache::V1::RescheduleMaintenanceRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Memcache::V1::RescheduleMaintenanceRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/memcache/v1/cloud_memcache.rb
Overview
Request for RescheduleMaintenance.
Defined Under Namespace
Modules: RescheduleType
Instance Attribute Summary collapse
-
#instance ⇒ ::String
Required.
-
#reschedule_type ⇒ ::Google::Cloud::Memcache::V1::RescheduleMaintenanceRequest::RescheduleType
Required.
-
#schedule_time ⇒ ::Google::Protobuf::Timestamp
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
.
Instance Attribute Details
#instance ⇒ ::String
Returns Required. Memcache instance resource name using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
where location_id
refers to a GCP region.
282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 |
# File 'proto_docs/google/cloud/memcache/v1/cloud_memcache.rb', line 282 class RescheduleMaintenanceRequest 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 use the existing maintenance policy to find the # next available window. NEXT_AVAILABLE_WINDOW = 2 # If the user wants to reschedule the maintenance to a specific time. SPECIFIC_TIME = 3 end end |
#reschedule_type ⇒ ::Google::Cloud::Memcache::V1::RescheduleMaintenanceRequest::RescheduleType
Returns Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.
282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 |
# File 'proto_docs/google/cloud/memcache/v1/cloud_memcache.rb', line 282 class RescheduleMaintenanceRequest 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 use the existing maintenance policy to find the # next available window. NEXT_AVAILABLE_WINDOW = 2 # If the user wants to reschedule the maintenance to a specific time. SPECIFIC_TIME = 3 end end |
#schedule_time ⇒ ::Google::Protobuf::Timestamp
Returns 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
.
282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 |
# File 'proto_docs/google/cloud/memcache/v1/cloud_memcache.rb', line 282 class RescheduleMaintenanceRequest 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 use the existing maintenance policy to find the # next available window. NEXT_AVAILABLE_WINDOW = 2 # If the user wants to reschedule the maintenance to a specific time. SPECIFIC_TIME = 3 end end |