projects

GET /v1/projects/{projectsId}/locations/{locationsId}/volumePools/{volumePoolsId}/volumes/{volumesId}

Changed on

Gets the details of a specific volume.

Request

  • Base URL
    https://file.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/cloud-platform
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/cloud-platform

Path parameters

projectsId, string required
locationsId, string required
volumePoolsId, string required
volumesId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

Response

Successful response

Volume required

Volume representation of a Cloud Filestore volume.

createTime, string google-datetime

Output only. The time when the volume was created.

description, string

Optional. A description of the volume with 2048 characters or less. Requests with longer descriptions will be rejected.

ipAcls, NfsExportOptions[]

Optional. User-defined permissions protecting mount points.

labels, object

Optional. Resource labels to represent user provided metadata.

mountPoint, MountPoint

Mount details for a volume.

name, string

Identifier. The resource name of the volume, in the format projects/{project}/locations/{location}/volumePools/{volume_pool}/volumes/{volume}.

quotaMib, string int64

Optional. The maximum size of the volume in mebibytes (MiB).

state, 'STATE_UNSPECIFIED' | 'CREATING' | 'HOT' | 'WARM' | 'COLD'

Optional. The state of the volume. This field is caller-settable via UpdateVolume to transition a volume from HOT to COLD (freezing the volume). In CreateVolume, this field is output-only: the volume is created as HOT when ip_acls is non-empty. When ip_acls is empty, the volume may be created WARM with no mount_point until ip_acls are set with UpdateVolume.

Changes