Google Cloud Notebooks V2 Client - Class UpgradeHistoryEntry (1.0.0-RC1)

Reference documentation and code samples for the Google Cloud Notebooks V2 Client class UpgradeHistoryEntry.

The entry of VM image upgrade history.

Generated from protobuf message google.cloud.notebooks.v2.UpgradeHistoryEntry

Namespace

Google \ Cloud \ Notebooks \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ snapshot string

Optional. The snapshot of the boot disk of this notebook instance before upgrade.

↳ vm_image string

Optional. The VM image before this instance upgrade.

↳ container_image string

Optional. The container image before this instance upgrade.

↳ framework string

Optional. The framework of this notebook instance.

↳ version string

Optional. The version of the notebook instance before this upgrade.

↳ state int

Output only. The state of this instance upgrade history entry.

↳ create_time Google\Protobuf\Timestamp

Immutable. The time that this instance upgrade history entry is created.

↳ action int

Optional. Action. Rolloback or Upgrade.

↳ target_version string

Optional. Target VM Version, like m63.

getSnapshot

Optional. The snapshot of the boot disk of this notebook instance before upgrade.

Returns
Type Description
string

setSnapshot

Optional. The snapshot of the boot disk of this notebook instance before upgrade.

Parameter
Name Description
var string
Returns
Type Description
$this

getVmImage

Optional. The VM image before this instance upgrade.

Returns
Type Description
string

setVmImage

Optional. The VM image before this instance upgrade.

Parameter
Name Description
var string
Returns
Type Description
$this

getContainerImage

Optional. The container image before this instance upgrade.

Returns
Type Description
string

setContainerImage

Optional. The container image before this instance upgrade.

Parameter
Name Description
var string
Returns
Type Description
$this

getFramework

Optional. The framework of this notebook instance.

Returns
Type Description
string

setFramework

Optional. The framework of this notebook instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getVersion

Optional. The version of the notebook instance before this upgrade.

Returns
Type Description
string

setVersion

Optional. The version of the notebook instance before this upgrade.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. The state of this instance upgrade history entry.

Returns
Type Description
int

setState

Output only. The state of this instance upgrade history entry.

Parameter
Name Description
var int
Returns
Type Description
$this

getCreateTime

Immutable. The time that this instance upgrade history entry is created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Immutable. The time that this instance upgrade history entry is created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getAction

Optional. Action. Rolloback or Upgrade.

Returns
Type Description
int

setAction

Optional. Action. Rolloback or Upgrade.

Parameter
Name Description
var int
Returns
Type Description
$this

getTargetVersion

Optional. Target VM Version, like m63.

Returns
Type Description
string

setTargetVersion

Optional. Target VM Version, like m63.

Parameter
Name Description
var string
Returns
Type Description
$this