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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| 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 |
Google\Cloud\MigrationCenter\V1\FstabEntryList|null |
|
hasFstab
clearFstab
setFstab
Mount list (Linux fstab).
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\MigrationCenter\V1\FstabEntryList
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHosts
Hosts file (/etc/hosts).
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\MigrationCenter\V1\HostsEntryList|null |
|
hasHosts
clearHosts
setHosts
Hosts file (/etc/hosts).
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\MigrationCenter\V1\HostsEntryList
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNfsExports
NFS exports.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\MigrationCenter\V1\NfsExportList|null |
|
hasNfsExports
clearNfsExports
setNfsExports
NFS exports.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\MigrationCenter\V1\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 |
|