Method: projects.locations.backupPolicies.create

Creates new backup policy

HTTP request

POST https://netapp.googleapis.com/v1beta1/{parent=projects/*/locations/*}/backupPolicies

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The location to create the backup policies of, in the format projects/{projectId}/locations/{location}

Query parameters

Parameters
backupPolicyId

string

Required. The ID to use for the backup policy. The ID must be unique within the specified location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

Request body

The request body contains an instance of BackupPolicy.

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.backupPolicies.create

For more information, see the IAM documentation.