Reference documentation and code samples for the Google Cloud Net App V1 Client class Volume.
Volume provides a filesystem that you can mount.
Generated from protobuf message google.cloud.netapp.v1.Volume
Namespace
Google \ Cloud \ NetApp \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. Name of the volume
↳ state
int
Output only. State of the volume
↳ state_details
string
Output only. State details of the volume
↳ create_time
↳ share_name
string
Required. Share name of the volume
↳ psa_range
string
Output only. This field is not implemented. The values provided in this field are ignored.
↳ storage_pool
string
Required. StoragePool name of the volume
↳ network
string
Output only. VPC Network name. Format: projects/{project}/global/networks/{network}
↳ service_level
int
Output only. Service level of the volume
↳ capacity_gib
int|string
Required. Capacity in GIB of the volume
↳ export_policy
↳ protocols
array
Required. Protocols required for the volume
↳ smb_settings
array
Optional. SMB share settings for the volume.
↳ mount_options
↳ unix_permissions
string
Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only.
↳ labels
↳ description
string
Optional. Description of the volume
↳ snapshot_policy
↳ snap_reserve
float
Optional. Snap_reserve specifies percentage of volume storage reserved for snapshot storage. Default is 0 percent.
↳ snapshot_directory
bool
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.
↳ used_gib
int|string
Output only. Used capacity in GIB of the volume. This is computed periodically and it does not represent the realtime usage.
↳ security_style
int
Optional. Security Style of the Volume
↳ kerberos_enabled
bool
Optional. Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p).
↳ ldap_enabled
bool
Output only. Flag indicating if the volume is NFS LDAP enabled or not.
↳ active_directory
string
Output only. Specifies the ActiveDirectory name of a SMB volume.
↳ restore_parameters
↳ kms_config
string
Output only. Specifies the KMS config to be used for volume encryption.
↳ encryption_type
int
Output only. Specified the current volume encryption key source.
↳ has_replication
bool
Output only. Indicates whether the volume is part of a replication relationship.
↳ backup_config
↳ restricted_actions
array
Optional. List of actions that are restricted on this volume.
↳ large_capacity
bool
Optional. Flag indicating if the volume will be a large capacity volume or a regular volume.
↳ multiple_endpoints
bool
Optional. Flag indicating if the volume will have an IP address per node for volumes supporting multiple IP endpoints. Only the volume with large_capacity will be allowed to have multiple endpoints.
↳ tiering_policy
↳ replica_zone
string
Output only. Specifies the replica zone for regional volume.
↳ zone
string
Output only. Specifies the active zone for regional volume.
↳ cold_tier_size_gib
int|string
Output only. Size of the volume cold tier data in GiB.
↳ hybrid_replication_parameters
getName
Identifier. Name of the volume
string
setName
Identifier. Name of the volume
var
string
$this
getState
Output only. State of the volume
int
setState
Output only. State of the volume
var
int
$this
getStateDetails
Output only. State details of the volume
string
setStateDetails
Output only. State details of the volume
var
string
$this
getCreateTime
Output only. Create time of the volume
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create time of the volume
$this
getShareName
Required. Share name of the volume
string
setShareName
Required. Share name of the volume
var
string
$this
getPsaRange
Output only. This field is not implemented. The values provided in this field are ignored.
string
setPsaRange
Output only. This field is not implemented. The values provided in this field are ignored.
var
string
$this
getStoragePool
Required. StoragePool name of the volume
string
setStoragePool
Required. StoragePool name of the volume
var
string
$this
getNetwork
Output only. VPC Network name.
Format: projects/{project}/global/networks/{network}
string
setNetwork
Output only. VPC Network name.
Format: projects/{project}/global/networks/{network}
var
string
$this
getServiceLevel
Output only. Service level of the volume
int
setServiceLevel
Output only. Service level of the volume
var
int
$this
getCapacityGib
Required. Capacity in GIB of the volume
int|string
setCapacityGib
Required. Capacity in GIB of the volume
var
int|string
$this
getExportPolicy
Optional. Export policy of the volume
hasExportPolicy
clearExportPolicy
setExportPolicy
Optional. Export policy of the volume
$this
getProtocols
Required. Protocols required for the volume
setProtocols
Required. Protocols required for the volume
var
int[]
$this
getSmbSettings
Optional. SMB share settings for the volume.
setSmbSettings
Optional. SMB share settings for the volume.
var
int[]
$this
getMountOptions
Output only. Mount options of this volume
setMountOptions
Output only. Mount options of this volume
$this
getUnixPermissions
Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only.
string
setUnixPermissions
Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only.
var
string
$this
getLabels
Optional. Labels as key value pairs
setLabels
Optional. Labels as key value pairs
$this
getDescription
Optional. Description of the volume
string
setDescription
Optional. Description of the volume
var
string
$this
getSnapshotPolicy
Optional. SnapshotPolicy for a volume.
hasSnapshotPolicy
clearSnapshotPolicy
setSnapshotPolicy
Optional. SnapshotPolicy for a volume.
$this
getSnapReserve
Optional. Snap_reserve specifies percentage of volume storage reserved for snapshot storage. Default is 0 percent.
float
setSnapReserve
Optional. Snap_reserve specifies percentage of volume storage reserved for snapshot storage. Default is 0 percent.
var
float
$this
getSnapshotDirectory
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.
bool
setSnapshotDirectory
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.
var
bool
$this
getUsedGib
Output only. Used capacity in GIB of the volume. This is computed periodically and it does not represent the realtime usage.
int|string
setUsedGib
Output only. Used capacity in GIB of the volume. This is computed periodically and it does not represent the realtime usage.
var
int|string
$this
getSecurityStyle
Optional. Security Style of the Volume
int
setSecurityStyle
Optional. Security Style of the Volume
var
int
$this
getKerberosEnabled
Optional. Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p).
bool
setKerberosEnabled
Optional. Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p).
var
bool
$this
getLdapEnabled
Output only. Flag indicating if the volume is NFS LDAP enabled or not.
bool
setLdapEnabled
Output only. Flag indicating if the volume is NFS LDAP enabled or not.
var
bool
$this
getActiveDirectory
Output only. Specifies the ActiveDirectory name of a SMB volume.
string
setActiveDirectory
Output only. Specifies the ActiveDirectory name of a SMB volume.
var
string
$this
getRestoreParameters
Optional. Specifies the source of the volume to be created from.
hasRestoreParameters
clearRestoreParameters
setRestoreParameters
Optional. Specifies the source of the volume to be created from.
$this
getKmsConfig
Output only. Specifies the KMS config to be used for volume encryption.
string
setKmsConfig
Output only. Specifies the KMS config to be used for volume encryption.
var
string
$this
getEncryptionType
Output only. Specified the current volume encryption key source.
int
setEncryptionType
Output only. Specified the current volume encryption key source.
var
int
$this
getHasReplication
Output only. Indicates whether the volume is part of a replication relationship.
bool
setHasReplication
Output only. Indicates whether the volume is part of a replication relationship.
var
bool
$this
getBackupConfig
BackupConfig of the volume.
hasBackupConfig
clearBackupConfig
setBackupConfig
BackupConfig of the volume.
$this
getRestrictedActions
Optional. List of actions that are restricted on this volume.
setRestrictedActions
Optional. List of actions that are restricted on this volume.
var
int[]
$this
getLargeCapacity
Optional. Flag indicating if the volume will be a large capacity volume or a regular volume.
bool
setLargeCapacity
Optional. Flag indicating if the volume will be a large capacity volume or a regular volume.
var
bool
$this
getMultipleEndpoints
Optional. Flag indicating if the volume will have an IP address per node for volumes supporting multiple IP endpoints. Only the volume with large_capacity will be allowed to have multiple endpoints.
bool
setMultipleEndpoints
Optional. Flag indicating if the volume will have an IP address per node for volumes supporting multiple IP endpoints. Only the volume with large_capacity will be allowed to have multiple endpoints.
var
bool
$this
getTieringPolicy
Tiering policy for the volume.
hasTieringPolicy
clearTieringPolicy
setTieringPolicy
Tiering policy for the volume.
$this
getReplicaZone
Output only. Specifies the replica zone for regional volume.
string
setReplicaZone
Output only. Specifies the replica zone for regional volume.
var
string
$this
getZone
Output only. Specifies the active zone for regional volume.
string
setZone
Output only. Specifies the active zone for regional volume.
var
string
$this
getColdTierSizeGib
Output only. Size of the volume cold tier data in GiB.
int|string
setColdTierSizeGib
Output only. Size of the volume cold tier data in GiB.
var
int|string
$this
getHybridReplicationParameters
Optional. The Hybrid Replication parameters for the volume.
hasHybridReplicationParameters
clearHybridReplicationParameters
setHybridReplicationParameters
Optional. The Hybrid Replication parameters for the volume.
$this