Method: projects.locations.restorePlans.restores.create

Creates a new Restore for the given RestorePlan.

HTTP request

POST https://gkebackup.googleapis.com/v1/{parent=projects/*/locations/*/restorePlans/*}/restores

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The RestorePlan within which to create the Restore. Format: projects/*/locations/*/restorePlans/*

Authorization requires the following IAM permission on the specified resource parent:

  • gkebackup.restores.create

Query parameters

Parameters
restoreId

string

Required. The client-provided short name for the Restore resource. This name must:

  • be between 1 and 63 characters long (inclusive)
  • consist of only lower-case ASCII letters, numbers, and dashes
  • start with a lower-case letter
  • end with a lower-case letter or number
  • be unique within the set of Restores in this RestorePlan.

Request body

The request body contains an instance of Restore.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.