Google Cloud Vm Migration V1 Client - Class UpgradeStatus (0.2.3)

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

UpgradeStatus contains information about upgradeAppliance operation.

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ version
string

The version to upgrade to.

↳ state
int

The state of the upgradeAppliance operation.

↳ error
Google\Rpc\Status

Provides details on the state of the upgrade operation in case of an error.

↳ start_time
Google\Protobuf\Timestamp

The time the operation was started.

↳ previous_version
string

The version from which we upgraded.

getVersion

The version to upgrade to.

Returns
Type
Description
string

setVersion

The version to upgrade to.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getState

The state of the upgradeAppliance operation.

Returns
Type
Description
int

setState

The state of the upgradeAppliance operation.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getError

Provides details on the state of the upgrade operation in case of an error.

Returns
Type
Description

hasError

clearError

setError

Provides details on the state of the upgrade operation in case of an error.

Parameter
Name
Description
Returns
Type
Description
$this

getStartTime

The time the operation was started.

Returns
Type
Description

hasStartTime

clearStartTime

setStartTime

The time the operation was started.

Parameter
Name
Description
Returns
Type
Description
$this

getPreviousVersion

The version from which we upgraded.

Returns
Type
Description
string

setPreviousVersion

The version from which we upgraded.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: