Google Cloud Memorystore V1 Client - Class RescheduleMaintenanceRequest (0.4.1)

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 \ V1

Methods

__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: 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}

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

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
Returns
Type
Description
$this

static::build

Parameters
Name
Description
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 .

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: