Google Cloud Notebooks V1 Client - Class UpgradeHistoryEntry (0.7.5)

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

The entry of VM image upgrade history.

Generated from protobuf message google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry

Namespace

Google \ Cloud \ Notebooks \ V1 \ Instance

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ snapshot string

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

↳ vm_image string

The VM image before this instance upgrade.

↳ container_image string

The container image before this instance upgrade.

↳ framework string

The framework of this notebook instance.

↳ version string

The version of the notebook instance before this upgrade.

↳ state int

The state of this instance upgrade history entry.

↳ create_time Google\Protobuf\Timestamp

The time that this instance upgrade history entry is created.

↳ target_image string

Target VM Image. Format: ainotebooks-vm/project/image-name/name.

↳ action int

Action. Rolloback or Upgrade.

↳ target_version string

Target VM Version, like m63.

getSnapshot

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

Returns
Type Description
string

setSnapshot

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

Parameter
Name Description
var string
Returns
Type Description
$this

getVmImage

The VM image before this instance upgrade.

Returns
Type Description
string

setVmImage

The VM image before this instance upgrade.

Parameter
Name Description
var string
Returns
Type Description
$this

getContainerImage

The container image before this instance upgrade.

Returns
Type Description
string

setContainerImage

The container image before this instance upgrade.

Parameter
Name Description
var string
Returns
Type Description
$this

getFramework

The framework of this notebook instance.

Returns
Type Description
string

setFramework

The framework of this notebook instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getVersion

The version of the notebook instance before this upgrade.

Returns
Type Description
string

setVersion

The version of the notebook instance before this upgrade.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

The state of this instance upgrade history entry.

Returns
Type Description
int

setState

The state of this instance upgrade history entry.

Parameter
Name Description
var int
Returns
Type Description
$this

getCreateTime

The time that this instance upgrade history entry is created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

The time that this instance upgrade history entry is created.

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

getTargetImage

Target VM Image. Format: ainotebooks-vm/project/image-name/name.

Returns
Type Description
string

setTargetImage

Target VM Image. Format: ainotebooks-vm/project/image-name/name.

Parameter
Name Description
var string
Returns
Type Description
$this

getAction

Action. Rolloback or Upgrade.

Returns
Type Description
int

setAction

Action. Rolloback or Upgrade.

Parameter
Name Description
var int
Returns
Type Description
$this

getTargetVersion

Target VM Version, like m63.

Returns
Type Description
string

setTargetVersion

Target VM Version, like m63.

Parameter
Name Description
var string
Returns
Type Description
$this