class ProjectsLocationsNfsShares extends Resource (View source)

The "nfsShares" collection of methods.

Typical usage is:

 $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
 $nfsShares = $baremetalsolutionService->projects_locations_nfsShares;

Methods

create(string $parent, NfsShare $postBody, array $optParams = [])

Create an NFS share. (nfsShares.create)

delete(string $name, array $optParams = [])

Delete an NFS share. The underlying volume is automatically deleted.

get(string $name, array $optParams = [])

Get details of a single NFS share. (nfsShares.get)

listProjectsLocationsNfsShares(string $parent, array $optParams = [])

List NFS shares. (nfsShares.listProjectsLocationsNfsShares)

patch(string $name, NfsShare $postBody, array $optParams = [])

Update details of a single NFS share. (nfsShares.patch)

rename(string $name, RenameNfsShareRequest $postBody, array $optParams = [])

RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated. (nfsShares.rename)

Details

Operation create(string $parent, NfsShare $postBody, array $optParams = [])

Create an NFS share. (nfsShares.create)

Parameters

string $parent

Required. The parent project and location.

NfsShare $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Delete an NFS share. The underlying volume is automatically deleted.

(nfsShares.delete)

Parameters

string $name

Required. The name of the NFS share to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

NfsShare get(string $name, array $optParams = [])

Get details of a single NFS share. (nfsShares.get)

Parameters

string $name

Required. Name of the resource.

array $optParams

Optional parameters.

Return Value

NfsShare

Exceptions

Exception

ListNfsSharesResponse listProjectsLocationsNfsShares(string $parent, array $optParams = [])

List NFS shares. (nfsShares.listProjectsLocationsNfsShares)

Parameters

string $parent

Required. Parent value for ListNfsSharesRequest.

array $optParams

Optional parameters.

Return Value

ListNfsSharesResponse

Exceptions

Exception

Operation patch(string $name, NfsShare $postBody, array $optParams = [])

Update details of a single NFS share. (nfsShares.patch)

Parameters

string $name

Immutable. The name of the NFS share.

NfsShare $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

NfsShare rename(string $name, RenameNfsShareRequest $postBody, array $optParams = [])

RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated. (nfsShares.rename)

Parameters

string $name

Required. The name field is used to identify the nfsshare. Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}

RenameNfsShareRequest $postBody
array $optParams

Optional parameters.

Return Value

NfsShare

Exceptions

Exception