Class Volume (0.1.0)

Volume(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Volume provides a filesystem that you can mount.

Attributes

NameDescription
name str
Output only. Name of the volume
state google.cloud.netapp_v1beta1.types.Volume.State
Output only. State of the volume
state_details str
Output only. State details of the volume
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Create time of the volume
share_name str
Required. Share name of the volume
psa_range str
Output only. Name of the Private Service Access allocated range. This is optional. If not provided, any available range will be chosen.
storage_pool str
Required. StoragePool name of the volume
network str
Output only. VPC Network name. Format: projects/{project}/global/networks/{network}
service_level google.cloud.netapp_v1beta1.types.ServiceLevel
Output only. Service level of the volume
capacity_gib int
Required. Capacity in GIB of the volume
export_policy google.cloud.netapp_v1beta1.types.ExportPolicy
Optional. Export policy of the volume
protocols MutableSequence[google.cloud.netapp_v1beta1.types.Protocols]
Required. Protocols required for the volume
smb_settings MutableSequence[google.cloud.netapp_v1beta1.types.SMBSettings]
Optional. SMB share settings for the volume.
mount_options MutableSequence[google.cloud.netapp_v1beta1.types.MountOption]
Output only. Mount options of this volume
unix_permissions str
Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only.
labels MutableMapping[str, str]
Optional. Labels as key value pairs
description str
Optional. Description of the volume
snapshot_policy google.cloud.netapp_v1beta1.types.SnapshotPolicy
Optional. SnapshotPolicy for a volume.
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
Output only. Used capacity in GIB of the volume. This is computed periodically and it does not represent the realtime usage.
security_style google.cloud.netapp_v1beta1.types.SecurityStyle
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 str
Output only. Specifies the ActiveDirectory name of a SMB volume.
restore_parameters google.cloud.netapp_v1beta1.types.RestoreParameters
Optional. Specifies the source of the volume to be created from.
kms_config str
Output only. Specifies the KMS config to be used for volume encryption.
encryption_type google.cloud.netapp_v1beta1.types.EncryptionType
Output only. Specified the current volume encryption key source.
has_replication bool
Output only. Indicates whether the volume is part of a replication relationship.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

The volume states

Values: STATE_UNSPECIFIED (0): Unspecified Volume State READY (1): Volume State is Ready CREATING (2): Volume State is Creating DELETING (3): Volume State is Deleting UPDATING (4): Volume State is Updating RESTORING (5): Volume State is Restoring DISABLED (6): Volume State is Disabled ERROR (7): Volume State is Error