Method: projects.locations.backupVaults.backups.create

Creates a backup from the volume specified in the request The backup can be created from the given snapshot if specified in the request. If no snapshot specified, there'll be a new snapshot taken to initiate the backup creation.

HTTP request

POST https://netapp.googleapis.com/v1/{parent=projects/*/locations/*/backupVaults/*}/backups

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The NetApp backupVault to create the backups of, in the format projects/*/locations/*/backupVaults/{backupVaultId}

Query parameters

Parameters
backupId

string

Required. The ID to use for the backup. The ID must be unique within the specified backupVault. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

Request body

The request body contains an instance of Backup.

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.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • netapp.backups.create

For more information, see the IAM documentation.