Method: projects.locations.volumes.create

Creates a new Volume in a given project and location.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Value for parent.

Query parameters

Parameters
volumeId

string

Required. Id of the requesting volume. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.

Request body

The request body contains an instance of Volume.

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

For more information, see the IAM documentation.