Google Cloud Bare Metal Solution V2 Client - Class CreateNfsShareRequest (0.5.2)

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 \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent project and location.

↳ nfs_share Google\Cloud\BareMetalSolution\V2\NfsShare

Required. The NfsShare to create.

getParent

Required. The parent project and location.

Returns
TypeDescription
string

setParent

Required. The parent project and location.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNfsShare

Required. The NfsShare to create.

Returns
TypeDescription
Google\Cloud\BareMetalSolution\V2\NfsShare|null

hasNfsShare

clearNfsShare

setNfsShare

Required. The NfsShare to create.

Parameter
NameDescription
var Google\Cloud\BareMetalSolution\V2\NfsShare
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The parent project and location. Please see Google\Cloud\BareMetalSolution\V2\BareMetalSolutionClient::locationName() for help formatting this field.

nfsShare Google\Cloud\BareMetalSolution\V2\NfsShare

Required. The NfsShare to create.

Returns
TypeDescription
Google\Cloud\BareMetalSolution\V2\CreateNfsShareRequest