Google Cloud Notebooks V2 Client - Class CheckInstanceUpgradabilityResponse (0.7.5)

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

Response for checking if a notebook instance is upgradeable.

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

Namespace

Google \ Cloud \ Notebooks \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ upgradeable bool

If an instance is upgradeable.

↳ upgrade_version string

The version this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.

↳ upgrade_info string

Additional information about upgrade.

↳ upgrade_image string

The new image self link this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.

getUpgradeable

If an instance is upgradeable.

Returns
Type Description
bool

setUpgradeable

If an instance is upgradeable.

Parameter
Name Description
var bool
Returns
Type Description
$this

getUpgradeVersion

The version this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.

Returns
Type Description
string

setUpgradeVersion

The version this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.

Parameter
Name Description
var string
Returns
Type Description
$this

getUpgradeInfo

Additional information about upgrade.

Returns
Type Description
string

setUpgradeInfo

Additional information about upgrade.

Parameter
Name Description
var string
Returns
Type Description
$this

getUpgradeImage

The new image self link this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.

Returns
Type Description
string

setUpgradeImage

The new image self link this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.

Parameter
Name Description
var string
Returns
Type Description
$this