NfsShare(mapping=None, *, ignore_unknown_fields=False, **kwargs)
An NFS share.
Attributes
Name | Description |
name |
str
Output only. The name of the NFS share. |
nfs_share_id |
str
Output only. An identifier for the NFS share, generated by the backend. |
state |
google.cloud.bare_metal_solution_v2.types.NfsShare.State
The state of the NFS share. |
volume |
str
The volume containing the share. |
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. |
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.
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
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 |
MountPermissions
MountPermissions(value)
The possible mount permissions.
Values: MOUNT_PERMISSIONS_UNSPECIFIED (0): Permissions were not specified. READ (1): NFS share can be mount with read-only permissions. READ_WRITE (2): NFS share can be mount with read-write permissions.
State
State(value)
The possible states for this NFS share.
Values: STATE_UNSPECIFIED (0): The share is in an unknown state. PROVISIONED (1): The share has been provisioned.