Google Cloud Migration Center V1 Client - Class GuestConfigDetails (0.1.0)

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

Guest OS config information.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ issue string

OS issue (typically /etc/issue in Linux).

↳ fstab Google\Cloud\MigrationCenter\V1\FstabEntryList

Mount list (Linux fstab).

↳ hosts Google\Cloud\MigrationCenter\V1\HostsEntryList

Hosts file (/etc/hosts).

↳ nfs_exports Google\Cloud\MigrationCenter\V1\NfsExportList

NFS exports.

↳ selinux_mode int

Security-Enhanced Linux (SELinux) mode.

getIssue

OS issue (typically /etc/issue in Linux).

Returns
TypeDescription
string

setIssue

OS issue (typically /etc/issue in Linux).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFstab

Mount list (Linux fstab).

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\FstabEntryList|null

hasFstab

clearFstab

setFstab

Mount list (Linux fstab).

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\FstabEntryList
Returns
TypeDescription
$this

getHosts

Hosts file (/etc/hosts).

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\HostsEntryList|null

hasHosts

clearHosts

setHosts

Hosts file (/etc/hosts).

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\HostsEntryList
Returns
TypeDescription
$this

getNfsExports

NFS exports.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\NfsExportList|null

hasNfsExports

clearNfsExports

setNfsExports

NFS exports.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\NfsExportList
Returns
TypeDescription
$this

getSelinuxMode

Security-Enhanced Linux (SELinux) mode.

Returns
TypeDescription
int

setSelinuxMode

Security-Enhanced Linux (SELinux) mode.

Parameter
NameDescription
var int
Returns
TypeDescription
$this