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.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Name of the instance to reschedule maintenance for: |
↳ 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: |
getName
Required. Name of the instance to reschedule maintenance for:
projects/{project}/locations/{location_id}/instances/{instance}
Returns | |
---|---|
Type | Description |
string |
setName
Required. Name of the instance to reschedule maintenance for:
projects/{project}/locations/{location_id}/instances/{instance}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRescheduleType
Required. If reschedule type is SPECIFIC_TIME, schedule_time must be set.
Returns | |
---|---|
Type | Description |
int |
setRescheduleType
Required. If reschedule type is SPECIFIC_TIME, schedule_time must be set.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$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
.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
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
.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
name |
string
Required. Name of the instance to reschedule maintenance for:
|
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: |
Returns | |
---|---|
Type | Description |
RescheduleMaintenanceRequest |