Reference documentation and code samples for the Memorystore V1 API class Google::Cloud::Memorystore::V1::RescheduleMaintenanceRequest.
Request for rescheduling instance maintenance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
-
(::String) — Required. Name of the instance to reschedule maintenance for:
projects/{project}/locations/{location_id}/instances/{instance}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. Name of the instance to reschedule maintenance for:
projects/{project}/locations/{location_id}/instances/{instance}
Returns
-
(::String) — Required. Name of the instance to reschedule maintenance for:
projects/{project}/locations/{location_id}/instances/{instance}
#reschedule_type
def reschedule_type() -> ::Google::Cloud::Memorystore::V1::RescheduleMaintenanceRequest::RescheduleType
Returns
- (::Google::Cloud::Memorystore::V1::RescheduleMaintenanceRequest::RescheduleType) — Required. If reschedule type is SPECIFIC_TIME, schedule_time must be set.
#reschedule_type=
def reschedule_type=(value) -> ::Google::Cloud::Memorystore::V1::RescheduleMaintenanceRequest::RescheduleType
Parameter
- value (::Google::Cloud::Memorystore::V1::RescheduleMaintenanceRequest::RescheduleType) — Required. If reschedule type is SPECIFIC_TIME, schedule_time must be set.
Returns
- (::Google::Cloud::Memorystore::V1::RescheduleMaintenanceRequest::RescheduleType) — Required. If reschedule type is SPECIFIC_TIME, schedule_time must be set.
#schedule_time
def schedule_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — Optional. Timestamp when the maintenance shall be rescheduled to if
reschedule_type=SPECIFIC_TIME, in RFC 3339 format.
Example:
2012-11-15T16:19:00.094Z
.
#schedule_time=
def schedule_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
-
value (::Google::Protobuf::Timestamp) — Optional. Timestamp when the maintenance shall be rescheduled to if
reschedule_type=SPECIFIC_TIME, in RFC 3339 format.
Example:
2012-11-15T16:19:00.094Z
.
Returns
-
(::Google::Protobuf::Timestamp) — Optional. Timestamp when the maintenance shall be rescheduled to if
reschedule_type=SPECIFIC_TIME, in RFC 3339 format.
Example:
2012-11-15T16:19:00.094Z
.