- JSON representation
- ExportPolicy
- SimpleExportPolicyRule
- MountOption
- SnapshotPolicy
- HourlySchedule
- DailySchedule
- WeeklySchedule
- MonthlySchedule
- RestoreParameters
Volume Volume provides a filesystem that you can mount.
JSON representation |
---|
{ "name": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. Name of the volume |
state |
Output only. State of the volume |
stateDetails |
Output only. State details of the volume |
createTime |
Output only. Create time of the volume A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
shareName |
Required. Share name of the volume |
psaRange |
Output only. Name of the Private Service Access allocated range. This is optional. If not provided, any available range will be chosen. |
storagePool |
Required. StoragePool name of the volume |
network |
Output only. VPC Network name. Format: projects/{project}/global/networks/{network} |
serviceLevel |
Output only. Service level of the volume |
capacityGib |
Required. Capacity in GIB of the volume |
exportPolicy |
Optional. Export policy of the volume |
protocols[] |
Required. Protocols required for the volume |
smbSettings[] |
Optional. SMB share settings for the volume. |
mountOptions[] |
Output only. Mount options of this volume |
unixPermissions |
Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only. |
labels |
Optional. Labels as key value pairs An object containing a list of |
description |
Optional. Description of the volume |
snapshotPolicy |
Optional. SnapshotPolicy for a volume. |
snapReserve |
Optional. Snap_reserve specifies percentage of volume storage reserved for snapshot storage. Default is 0 percent. |
snapshotDirectory |
Optional. Snapshot_directory if enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots. |
usedGib |
Output only. Used capacity in GIB of the volume. This is not realtime usage, periodically computed by SDE. |
securityStyle |
Optional. Security Style of the Volume |
kerberosEnabled |
Optional. Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p). |
ldapEnabled |
Output only. Flag indicating if the volume is NFS LDAP enabled or not. |
activeDirectory |
Output only. Specifies the ActiveDirectory name of a SMB volume. |
restoreParameters |
Optional. Specifies the source of the volume to be created from. |
kmsConfig |
Output only. Specifies the KMS config to be used for volume encryption. |
encryptionType |
Output only. Specified the current volume encryption key source. |
hasReplication |
Output only. Indicates whether the volume is part of a replication relationship. |
ExportPolicy
ExportPolicy Defined the export policy for the volume.
JSON representation |
---|
{
"rules": [
{
object ( |
Fields | |
---|---|
rules[] |
Required. List of export policy rules |
SimpleExportPolicyRule
SimpleExportPolicyRule An export policy rule describing various export options.
JSON representation |
---|
{
"allowedClients": string,
"hasRootAccess": string,
"accessType": enum ( |
Fields | |
---|---|
allowedClients |
Comma separated list of allowed clients IP addresses |
hasRootAccess |
Whether Unix root access will be granted. |
accessType |
Access type (ReadWrite, ReadOnly, None) |
nfsv3 |
NFS V3 protocol. |
nfsv4 |
NFS V4 protocol. |
kerberos5ReadOnly |
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. |
kerberos5ReadWrite |
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. The 'kerberos5ReadOnly' value be ignored if this is enabled. |
kerberos5iReadOnly |
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. |
kerberos5iReadWrite |
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly' value be ignored if this is enabled. |
kerberos5pReadOnly |
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. |
kerberos5pReadWrite |
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly' value be ignored if this is enabled. |
MountOption
MountOption View only mount options for a volume.
JSON representation |
---|
{
"export": string,
"exportFull": string,
"protocol": enum ( |
Fields | |
---|---|
export |
Export string |
exportFull |
Full export string |
protocol |
Protocol to mount with. |
instructions |
Instructions for mounting |
SnapshotPolicy
Snapshot Policy for a volume.
JSON representation |
---|
{ "enabled": boolean, "hourlySchedule": { object ( |
Fields | |
---|---|
enabled |
If enabled, make snapshots automatically according to the schedules. Default is false. |
hourlySchedule |
Hourly schedule policy. |
dailySchedule |
Daily schedule policy. |
weeklySchedule |
Weekly schedule policy. |
monthlySchedule |
Monthly schedule policy. |
HourlySchedule
Make a snapshot every hour e.g. at 04:00, 05:00, 06:00.
JSON representation |
---|
{ "snapshotsToKeep": number, "minute": number } |
Fields | |
---|---|
snapshotsToKeep |
The maximum number of Snapshots to keep for the hourly schedule |
minute |
Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0). |
DailySchedule
Make a snapshot every day e.g. at 04:00, 05:20, 23:50
JSON representation |
---|
{ "snapshotsToKeep": number, "minute": number, "hour": number } |
Fields | |
---|---|
snapshotsToKeep |
The maximum number of Snapshots to keep for the hourly schedule |
minute |
Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0). |
hour |
Set the hour to start the snapshot (0-23), defaults to midnight (0). |
WeeklySchedule
Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50
JSON representation |
---|
{ "snapshotsToKeep": number, "minute": number, "hour": number, "day": string } |
Fields | |
---|---|
snapshotsToKeep |
The maximum number of Snapshots to keep for the hourly schedule |
minute |
Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0). |
hour |
Set the hour to start the snapshot (0-23), defaults to midnight (0). |
day |
Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'. |
MonthlySchedule
Make a snapshot once a month e.g. at 2nd 04:00, 7th 05:20, 24th 23:50
JSON representation |
---|
{ "snapshotsToKeep": number, "minute": number, "hour": number, "daysOfMonth": string } |
Fields | |
---|---|
snapshotsToKeep |
The maximum number of Snapshots to keep for the hourly schedule |
minute |
Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0). |
hour |
Set the hour to start the snapshot (0-23), defaults to midnight (0). |
daysOfMonth |
Set the day or days of the month to make a snapshot (1-31). Accepts a comma separated number of days. Defaults to '1'. |
RestoreParameters
The RestoreParameters if volume is created from a snapshot or backup.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field source . The source that the volume is created from. source can be only one of the following: |
|
sourceSnapshot |
Full name of the snapshot resource. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} |