Google Cloud Migration Center V1 Client - Class GuestOsDetails (0.4.5)

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

Information from Guest-level collections.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ os_name string

The name of the operating system.

↳ family int

What family the OS belong to, if known.

↳ version string

The version of the operating system.

↳ config Google\Cloud\MigrationCenter\V1\GuestConfigDetails

OS and app configuration.

↳ runtime Google\Cloud\MigrationCenter\V1\GuestRuntimeDetails

Runtime information.

getOsName

The name of the operating system.

Returns
Type Description
string

setOsName

The name of the operating system.

Parameter
Name Description
var string
Returns
Type Description
$this

getFamily

What family the OS belong to, if known.

Returns
Type Description
int

setFamily

What family the OS belong to, if known.

Parameter
Name Description
var int
Returns
Type Description
$this

getVersion

The version of the operating system.

Returns
Type Description
string

setVersion

The version of the operating system.

Parameter
Name Description
var string
Returns
Type Description
$this

getConfig

OS and app configuration.

Returns
Type Description
Google\Cloud\MigrationCenter\V1\GuestConfigDetails|null

hasConfig

clearConfig

setConfig

OS and app configuration.

Parameter
Name Description
var Google\Cloud\MigrationCenter\V1\GuestConfigDetails
Returns
Type Description
$this

getRuntime

Runtime information.

Returns
Type Description
Google\Cloud\MigrationCenter\V1\GuestRuntimeDetails|null

hasRuntime

clearRuntime

setRuntime

Runtime information.

Parameter
Name Description
var Google\Cloud\MigrationCenter\V1\GuestRuntimeDetails
Returns
Type Description
$this