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.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. The name of the NFS share. |
↳ nfs_share_id |
string
Output only. An identifier for the NFS share, generated by the backend. |
↳ state |
int
The state of the NFS share. |
↳ volume |
string
The volume containing the share. |
↳ allowed_clients |
array<Google\Cloud\BareMetalSolution\V2\NfsShare\AllowedClient>
List of allowed access points. |
↳ labels |
array|Google\Protobuf\Internal\MapField
Labels as key value pairs. |
getName
Output only. The name of the NFS share.
Returns | |
---|---|
Type | Description |
string |
setName
Output only. The name of the NFS share.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNfsShareId
Output only. An identifier for the NFS share, generated by the backend.
Returns | |
---|---|
Type | Description |
string |
setNfsShareId
Output only. An identifier for the NFS share, generated by the backend.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getState
The state of the NFS share.
Returns | |
---|---|
Type | Description |
int |
setState
The state of the NFS share.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getVolume
The volume containing the share.
Returns | |
---|---|
Type | Description |
string |
setVolume
The volume containing the share.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAllowedClients
List of allowed access points.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAllowedClients
List of allowed access points.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\BareMetalSolution\V2\NfsShare\AllowedClient>
|
Returns | |
---|---|
Type | Description |
$this |
getLabels
Labels as key value pairs.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setLabels
Labels as key value pairs.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |