Google Cloud Notebooks V2 Client - Class UpgradeHistoryEntry (0.6.2)

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

setSnapshot

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVmImage

Optional. The VM image before this instance upgrade.

Returns
TypeDescription
string

setVmImage

Optional. The VM image before this instance upgrade.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getContainerImage

Optional. The container image before this instance upgrade.

Returns
TypeDescription
string

setContainerImage

Optional. The container image before this instance upgrade.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFramework

Optional. The framework of this notebook instance.

Returns
TypeDescription
string

setFramework

Optional. The framework of this notebook instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVersion

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

Returns
TypeDescription
string

setVersion

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

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

Returns
TypeDescription
int

setState

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCreateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

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

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

getAction

Optional. Action. Rolloback or Upgrade.

Returns
TypeDescription
int

setAction

Optional. Action. Rolloback or Upgrade.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getTargetVersion

Optional. Target VM Version, like m63.

Returns
TypeDescription
string

setTargetVersion

Optional. Target VM Version, like m63.

Parameter
NameDescription
var string
Returns
TypeDescription
$this