Google Cloud Migration Center V1 Client - Class NfsExport (1.0.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
Name Description
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
Type Description
string

setExportDirectory

The directory being exported.

Parameter
Name Description
var string
Returns
Type Description
$this

getHosts

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setHosts

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

Parameter
Name Description
var string[]
Returns
Type Description
$this