Google Cloud Notebooks V1beta1 Client - Class IsInstanceUpgradeableResponse (0.5.0)

Reference documentation and code samples for the Google Cloud Notebooks V1beta1 Client class IsInstanceUpgradeableResponse.

Response for checking if a notebook instance is upgradeable.

Generated from protobuf message google.cloud.notebooks.v1beta1.IsInstanceUpgradeableResponse

Namespace

Google \ Cloud \ Notebooks \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
bool

setUpgradeable

If an instance is upgradeable.

Parameter
NameDescription
var bool
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getUpgradeInfo

Additional information about upgrade.

Returns
TypeDescription
string

setUpgradeInfo

Additional information about upgrade.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this