Method: projects.locations.restoreChannels.create

Creates a new RestoreChannel in a given location.

HTTP request

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

The URL uses gRPC Transcoding syntax. To know more about valid error responses that can be thrown by this HTTP request, please refer to the service error catalog

Path parameters

Parameters
parent

string

Required. The location within which to create the RestoreChannel. Format: projects/*/locations/*

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

  • gkebackup.restoreChannels.create

Query parameters

Parameters
restoreChannelId

string

Optional. The client-provided short name for the RestoreChannel 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 RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name.

Request body

The request body contains an instance of RestoreChannel.

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.