Reference documentation and code samples for the Google Cloud Memorystore V1 Client class RescheduleMaintenanceRequest.
Request for rescheduling instance maintenance.
Generated from protobuf message google.cloud.memorystore.v1.RescheduleMaintenanceRequest
Namespace
Google \ Cloud \ Memorystore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Name of the instance to reschedule maintenance for: projects/{project}/locations/{location_id}/instances/{instance}
↳ reschedule_type
int
Required. If reschedule type is SPECIFIC_TIME, schedule_time must be set.
↳ schedule_time
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
.
getName
Required. Name of the instance to reschedule maintenance for: projects/{project}/locations/{location_id}/instances/{instance}
string
setName
Required. Name of the instance to reschedule maintenance for: projects/{project}/locations/{location_id}/instances/{instance}
var
string
$this
getRescheduleType
Required. If reschedule type is SPECIFIC_TIME, schedule_time must be set.
int
setRescheduleType
Required. If reschedule type is SPECIFIC_TIME, schedule_time must be set.
var
int
$this
getScheduleTime
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
.
hasScheduleTime
clearScheduleTime
setScheduleTime
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
.
$this
static::build
name
string
Required. Name of the instance to reschedule maintenance for: projects/{project}/locations/{location_id}/instances/{instance}
Please see MemorystoreClient::instanceName()
for help formatting this field.
rescheduleType
int
Required. If reschedule type is SPECIFIC_TIME, schedule_time must be set. For allowed values, use constants defined on RescheduleMaintenanceRequest\RescheduleType
scheduleTime
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
.