Class NfsShare (1.12.0)

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

An NFS share.

Attributes

Name Description
name str
Immutable. The name of the NFS share.
nfs_share_id str
Output only. An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use id instead.
id str
Output only. An identifier for the NFS share, generated by the backend. This is the same value as nfs_share_id and will replace it in the future.
state google.cloud.bare_metal_solution_v2.types.NfsShare.State
Output only. The state of the NFS share.
volume str
Output only. The underlying volume of the share. Created automatically during provisioning.
allowed_clients MutableSequence[google.cloud.bare_metal_solution_v2.types.NfsShare.AllowedClient]
List of allowed access points.
labels MutableMapping[str, str]
Labels as key value pairs.
requested_size_gib int
The requested size, in GiB.
storage_type google.cloud.bare_metal_solution_v2.types.NfsShare.StorageType
Immutable. The storage type of the underlying volume.

Classes

AllowedClient

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

Represents an 'access point' for the share.

LabelsEntry

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

The abstract base class for a message.

Parameters
Name Description
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.

MountPermissions

MountPermissions(value)

The possible mount permissions.

State

State(value)

The possible states for this NFS share.

StorageType

StorageType(value)

The storage type for a volume.