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

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
NameDescription
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
TypeDescription
string

setOsName

The name of the operating system.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFamily

What family the OS belong to, if known.

Returns
TypeDescription
int

setFamily

What family the OS belong to, if known.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getVersion

The version of the operating system.

Returns
TypeDescription
string

setVersion

The version of the operating system.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConfig

OS and app configuration.

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

hasConfig

clearConfig

setConfig

OS and app configuration.

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

getRuntime

Runtime information.

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

hasRuntime

clearRuntime

setRuntime

Runtime information.

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