Method: projects.locations.instances.rescheduleMaintenance

Performs the apply phase of the instances.rescheduleMaintenance verb.

HTTP request

POST https://memcache.googleapis.com/v1beta2/{instance=projects/*/locations/*/instances/*}:rescheduleMaintenance

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
instance

string

Required. Memcache instance resource name using the form: projects/{projectId}/locations/{locationId}/instances/{instanceId} where locationId refers to a GCP region.

Request body

The request body contains data with the following structure:

JSON representation
{
  "rescheduleType": enum (RescheduleType),
  "scheduleTime": string
}
Fields
rescheduleType

enum (RescheduleType)

Required. If reschedule type is SPECIFIC_TIME, must set up scheduleTime as well.

scheduleTime

string (Timestamp format)

Timestamp when the maintenance shall be rescheduled to if rescheduleType=SPECIFIC_TIME, in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

RescheduleType

Reschedule options.

Enums
RESCHEDULE_TYPE_UNSPECIFIED Not set.
IMMEDIATE If the user wants to schedule the maintenance to happen now.
NEXT_AVAILABLE_WINDOW If the user wants to use the existing maintenance policy to find the next available window.
SPECIFIC_TIME If the user wants to reschedule the maintenance to a specific time.