Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class CreateNfsShareRequest.
Message for creating an NFS share.
Generated from protobuf message google.cloud.baremetalsolution.v2.CreateNfsShareRequest
Namespace
Google \ Cloud \ BareMetalSolution \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent project and location. |
↳ nfs_share |
NfsShare
Required. The NfsShare to create. |
getParent
Required. The parent project and location.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent project and location.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNfsShare
Required. The NfsShare to create.
| Returns | |
|---|---|
| Type | Description |
NfsShare|null |
|
hasNfsShare
clearNfsShare
setNfsShare
Required. The NfsShare to create.
| Parameter | |
|---|---|
| Name | Description |
var |
NfsShare
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent project and location. Please see BareMetalSolutionClient::locationName() for help formatting this field. |
nfsShare |
NfsShare
Required. The NfsShare to create. |
| Returns | |
|---|---|
| Type | Description |
CreateNfsShareRequest |
|