Google Cloud Migration Center V1 Client - Class NfsExport (0.3.1)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class NfsExport.

NFS export.

Generated from protobuf message google.cloud.migrationcenter.v1.NfsExport

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ export_directory string

The directory being exported.

↳ hosts array

The hosts or networks to which the export is being shared.

getExportDirectory

The directory being exported.

Returns
TypeDescription
string

setExportDirectory

The directory being exported.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHosts

The hosts or networks to which the export is being shared.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setHosts

The hosts or networks to which the export is being shared.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this