Google Cloud Vm Migration V1 Client - Class AppliedLicense (0.5.2)

Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class AppliedLicense.

AppliedLicense holds the license data returned by adaptation module report.

Generated from protobuf message google.cloud.vmmigration.v1.AppliedLicense

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ type int

The license type that was used in OS adaptation.

↳ os_license string

The OS license returned from the adaptation module's report.

getType

The license type that was used in OS adaptation.

Returns
TypeDescription
int

setType

The license type that was used in OS adaptation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getOsLicense

The OS license returned from the adaptation module's report.

Returns
TypeDescription
string

setOsLicense

The OS license returned from the adaptation module's report.

Parameter
NameDescription
var string
Returns
TypeDescription
$this