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

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 GuestConfigDetails

OS and app configuration.

↳ runtime 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
GuestConfigDetails|null

hasConfig

clearConfig

setConfig

OS and app configuration.

Parameter
Name Description
var GuestConfigDetails
Returns
Type Description
$this

getRuntime

Runtime information.

Returns
Type Description
GuestRuntimeDetails|null

hasRuntime

clearRuntime

setRuntime

Runtime information.

Parameter
Name Description
var GuestRuntimeDetails
Returns
Type Description
$this