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

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
Name Description
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
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
Google\Cloud\BareMetalSolution\V2\NfsShare|null

hasNfsShare

clearNfsShare

setNfsShare

Required. The NfsShare to create.

Parameter
Name Description
var Google\Cloud\BareMetalSolution\V2\NfsShare
Returns
Type Description
$this

static::build

Parameters
Name Description
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
Type Description
Google\Cloud\BareMetalSolution\V2\CreateNfsShareRequest