Google Cloud Notebooks V1 Client - Class UpgradeHistoryEntry (0.5.0)

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
NameDescription
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
TypeDescription
string

setSnapshot

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVmImage

The VM image before this instance upgrade.

Returns
TypeDescription
string

setVmImage

The VM image before this instance upgrade.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getContainerImage

The container image before this instance upgrade.

Returns
TypeDescription
string

setContainerImage

The container image before this instance upgrade.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFramework

The framework of this notebook instance.

Returns
TypeDescription
string

setFramework

The framework of this notebook instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVersion

The version of the notebook instance before this upgrade.

Returns
TypeDescription
string

setVersion

The version of the notebook instance before this upgrade.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

The state of this instance upgrade history entry.

Returns
TypeDescription
int

setState

The state of this instance upgrade history entry.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCreateTime

The time that this instance upgrade history entry is created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

The time that this instance upgrade history entry is created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getTargetImage

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

Returns
TypeDescription
string

setTargetImage

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAction

Action. Rolloback or Upgrade.

Returns
TypeDescription
int

setAction

Action. Rolloback or Upgrade.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getTargetVersion

Target VM Version, like m63.

Returns
TypeDescription
string

setTargetVersion

Target VM Version, like m63.

Parameter
NameDescription
var string
Returns
TypeDescription
$this