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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ issue string

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

↳ fstab FstabEntryList

Mount list (Linux fstab).

↳ hosts HostsEntryList

Hosts file (/etc/hosts).

↳ nfs_exports NfsExportList

NFS exports.

↳ selinux_mode int

Security-Enhanced Linux (SELinux) mode.

getIssue

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

Returns
Type Description
string

setIssue

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

Parameter
Name Description
var string
Returns
Type Description
$this

getFstab

Mount list (Linux fstab).

Returns
Type Description
FstabEntryList|null

hasFstab

clearFstab

setFstab

Mount list (Linux fstab).

Parameter
Name Description
var FstabEntryList
Returns
Type Description
$this

getHosts

Hosts file (/etc/hosts).

Returns
Type Description
HostsEntryList|null

hasHosts

clearHosts

setHosts

Hosts file (/etc/hosts).

Parameter
Name Description
var HostsEntryList
Returns
Type Description
$this

getNfsExports

NFS exports.

Returns
Type Description
NfsExportList|null

hasNfsExports

clearNfsExports

setNfsExports

NFS exports.

Parameter
Name Description
var NfsExportList
Returns
Type Description
$this

getSelinuxMode

Security-Enhanced Linux (SELinux) mode.

Returns
Type Description
int

setSelinuxMode

Security-Enhanced Linux (SELinux) mode.

Parameter
Name Description
var int
Returns
Type Description
$this