NetApp V1 API - Class Google::Cloud::NetApp::V1::Volume (v1.1.1)

Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::Volume.

Volume provides a filesystem that you can mount.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#active_directory

def active_directory() -> ::String
Returns
  • (::String) — Output only. Specifies the ActiveDirectory name of a SMB volume.

#backup_config

def backup_config() -> ::Google::Cloud::NetApp::V1::BackupConfig
Returns

#backup_config=

def backup_config=(value) -> ::Google::Cloud::NetApp::V1::BackupConfig
Parameter
Returns

#capacity_gib

def capacity_gib() -> ::Integer
Returns
  • (::Integer) — Required. Capacity in GIB of the volume

#capacity_gib=

def capacity_gib=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. Capacity in GIB of the volume
Returns
  • (::Integer) — Required. Capacity in GIB of the volume

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. Description of the volume

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Description of the volume
Returns
  • (::String) — Optional. Description of the volume

#encryption_type

def encryption_type() -> ::Google::Cloud::NetApp::V1::EncryptionType
Returns

#export_policy

def export_policy() -> ::Google::Cloud::NetApp::V1::ExportPolicy
Returns

#export_policy=

def export_policy=(value) -> ::Google::Cloud::NetApp::V1::ExportPolicy
Parameter
Returns

#has_replication

def has_replication() -> ::Boolean
Returns
  • (::Boolean) — Output only. Indicates whether the volume is part of a replication relationship.

#kerberos_enabled

def kerberos_enabled() -> ::Boolean
Returns
  • (::Boolean) — Optional. Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p).

#kerberos_enabled=

def kerberos_enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p).
Returns
  • (::Boolean) — Optional. Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p).

#kms_config

def kms_config() -> ::String
Returns
  • (::String) — Output only. Specifies the KMS config to be used for volume encryption.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs

#large_capacity

def large_capacity() -> ::Boolean
Returns
  • (::Boolean) — Optional. Flag indicating if the volume will be a large capacity volume or a regular volume.

#large_capacity=

def large_capacity=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Flag indicating if the volume will be a large capacity volume or a regular volume.
Returns
  • (::Boolean) — Optional. Flag indicating if the volume will be a large capacity volume or a regular volume.

#ldap_enabled

def ldap_enabled() -> ::Boolean
Returns
  • (::Boolean) — Output only. Flag indicating if the volume is NFS LDAP enabled or not.

#mount_options

def mount_options() -> ::Array<::Google::Cloud::NetApp::V1::MountOption>
Returns

#multiple_endpoints

def multiple_endpoints() -> ::Boolean
Returns
  • (::Boolean) — 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.

#multiple_endpoints=

def multiple_endpoints=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.
Returns
  • (::Boolean) — 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.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. Name of the volume

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. Name of the volume
Returns
  • (::String) — Identifier. Name of the volume

#network

def network() -> ::String
Returns
  • (::String) — Output only. VPC Network name. Format: projects/{project}/global/networks/{network}

#protocols

def protocols() -> ::Array<::Google::Cloud::NetApp::V1::Protocols>
Returns

#protocols=

def protocols=(value) -> ::Array<::Google::Cloud::NetApp::V1::Protocols>
Parameter
Returns

#psa_range

def psa_range() -> ::String
Returns
  • (::String) — Output only. This field is not implemented. The values provided in this field are ignored.

#replica_zone

def replica_zone() -> ::String
Returns
  • (::String) — Output only. Specifies the replica zone for regional volume.

#restore_parameters

def restore_parameters() -> ::Google::Cloud::NetApp::V1::RestoreParameters
Returns

#restore_parameters=

def restore_parameters=(value) -> ::Google::Cloud::NetApp::V1::RestoreParameters
Parameter
Returns

#restricted_actions

def restricted_actions() -> ::Array<::Google::Cloud::NetApp::V1::RestrictedAction>
Returns

#restricted_actions=

def restricted_actions=(value) -> ::Array<::Google::Cloud::NetApp::V1::RestrictedAction>
Parameter
Returns

#security_style

def security_style() -> ::Google::Cloud::NetApp::V1::SecurityStyle
Returns

#security_style=

def security_style=(value) -> ::Google::Cloud::NetApp::V1::SecurityStyle
Parameter
Returns

#service_level

def service_level() -> ::Google::Cloud::NetApp::V1::ServiceLevel
Returns

#share_name

def share_name() -> ::String
Returns
  • (::String) — Required. Share name of the volume

#share_name=

def share_name=(value) -> ::String
Parameter
  • value (::String) — Required. Share name of the volume
Returns
  • (::String) — Required. Share name of the volume

#smb_settings

def smb_settings() -> ::Array<::Google::Cloud::NetApp::V1::SMBSettings>
Returns

#smb_settings=

def smb_settings=(value) -> ::Array<::Google::Cloud::NetApp::V1::SMBSettings>
Parameter
Returns

#snap_reserve

def snap_reserve() -> ::Float
Returns
  • (::Float) — Optional. Snap_reserve specifies percentage of volume storage reserved for snapshot storage. Default is 0 percent.

#snap_reserve=

def snap_reserve=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Snap_reserve specifies percentage of volume storage reserved for snapshot storage. Default is 0 percent.
Returns
  • (::Float) — Optional. Snap_reserve specifies percentage of volume storage reserved for snapshot storage. Default is 0 percent.

#snapshot_directory

def snapshot_directory() -> ::Boolean
Returns
  • (::Boolean) — 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.

#snapshot_directory=

def snapshot_directory=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.
Returns
  • (::Boolean) — 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.

#snapshot_policy

def snapshot_policy() -> ::Google::Cloud::NetApp::V1::SnapshotPolicy
Returns

#snapshot_policy=

def snapshot_policy=(value) -> ::Google::Cloud::NetApp::V1::SnapshotPolicy
Parameter
Returns

#state

def state() -> ::Google::Cloud::NetApp::V1::Volume::State
Returns

#state_details

def state_details() -> ::String
Returns
  • (::String) — Output only. State details of the volume

#storage_pool

def storage_pool() -> ::String
Returns
  • (::String) — Required. StoragePool name of the volume

#storage_pool=

def storage_pool=(value) -> ::String
Parameter
  • value (::String) — Required. StoragePool name of the volume
Returns
  • (::String) — Required. StoragePool name of the volume

#tiering_policy

def tiering_policy() -> ::Google::Cloud::NetApp::V1::TieringPolicy
Returns

#tiering_policy=

def tiering_policy=(value) -> ::Google::Cloud::NetApp::V1::TieringPolicy
Parameter
Returns

#unix_permissions

def unix_permissions() -> ::String
Returns
  • (::String) — Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only.

#unix_permissions=

def unix_permissions=(value) -> ::String
Parameter
  • value (::String) — Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only.
Returns
  • (::String) — Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only.

#used_gib

def used_gib() -> ::Integer
Returns
  • (::Integer) — Output only. Used capacity in GIB of the volume. This is computed periodically and it does not represent the realtime usage.

#zone

def zone() -> ::String
Returns
  • (::String) — Output only. Specifies the active zone for regional volume.