Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class NfsShare.
An NFS share.
Generated from protobuf message google.cloud.baremetalsolution.v2.NfsShare
Namespace
Google \ Cloud \ BareMetalSolution \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Immutable. The name of the NFS share.
↳ nfs_share_id
string
Output only. An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use id
instead.
↳ id
string
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
int
Output only. The state of the NFS share.
↳ volume
string
Output only. The underlying volume of the share. Created automatically during provisioning.
↳ allowed_clients
↳ labels
↳ requested_size_gib
int|string
The requested size, in GiB.
↳ storage_type
int
Immutable. The storage type of the underlying volume.
getName
Immutable. The name of the NFS share.
string
setName
Immutable. The name of the NFS share.
var
string
$this
getNfsShareId
Output only. An identifier for the NFS share, generated by the backend.
This field will be deprecated in the future, use id
instead.
string
setNfsShareId
Output only. An identifier for the NFS share, generated by the backend.
This field will be deprecated in the future, use id
instead.
var
string
$this
getId
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.
string
setId
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.
var
string
$this
getState
Output only. The state of the NFS share.
int
setState
Output only. The state of the NFS share.
var
int
$this
getVolume
Output only. The underlying volume of the share. Created automatically during provisioning.
string
setVolume
Output only. The underlying volume of the share. Created automatically during provisioning.
var
string
$this
getAllowedClients
List of allowed access points.
setAllowedClients
List of allowed access points.
$this
getLabels
Labels as key value pairs.
setLabels
Labels as key value pairs.
$this
getRequestedSizeGib
The requested size, in GiB.
int|string
setRequestedSizeGib
The requested size, in GiB.
var
int|string
$this
getStorageType
Immutable. The storage type of the underlying volume.
int
setStorageType
Immutable. The storage type of the underlying volume.
var
int
$this