Method: projects.locations.restorePlans.patch

Stay organized with collections Save and categorize content based on your preferences.

Update a RestorePlan.

HTTP request

PATCH https://gkebackup.googleapis.com/v1/{restorePlan.name=projects/*/locations/*/restorePlans/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
restorePlan.name

string

Output only. The full name of the RestorePlan resource. Format: projects/*/locations/*/restorePlans/*.

Query parameters

Parameters
updateMask

string (FieldMask format)

This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the restorePlan provided with this request. Field names are relative to the root of the resource. If no updateMask is provided, all fields in restorePlan will be written to the target RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restorePlan are ignored and are not used to update the target RestorePlan.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of RestorePlan.

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.