Resource: Share
A Filestore share.
JSON representation |
---|
{ "name" : string , "mountName" : string , "description" : string , "capacityGb" : string , "nfsExportOptions" : [ { object ( |
name
string
Output only. The resource name of the share, in the format projects/{projectId}/locations/{locationId}/instances/{instanceId}/shares/{shareId}
.
mount
Name
string
The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.
description
string
A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.
capacity
Gb
string ( int64
format)
File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.
nfs
Export
Options[]
object (
NfsExportOptions
)
Nfs Export Options. There is a limit of 10 export options per file share.
state
enum (
State
)
Output only. The share state.
create
Time
string (
Timestamp
format)
Output only. The time when the share was created.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
labels
map (key: string, value: string)
Resource labels to represent user provided metadata.
An object containing a list of "key": value
pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }
.
source
. The source that this Share has been restored from. Empty if the Share is created from scratch. source
can be only one of the following:backup
string
Immutable. Full name of the Cloud Filestore Backup resource that this Share is restored from, in the format of projects/{projectId}/locations/{locationId}/backups/{backupId}. Empty, if the Share is created from scratch and not restored from a backup.
State
The share state.
Enums | |
---|---|
STATE_UNSPECIFIED
|
State not set. |
CREATING
|
Share is being created. |
READY
|
Share is ready for use. |
DELETING
|
Share is being deleted. |
Methods |
|
---|---|
|
Creates a share. |
|
Deletes a share. |
|
Gets the details of a specific share. |
|
Lists all shares for a specified instance. |
|
Updates the settings of a specific share. |