Google Cloud Notebooks V1 Client - Class IsInstanceUpgradeableRequest (0.5.0)

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

Request for checking if a notebook instance is upgradeable.

Generated from protobuf message google.cloud.notebooks.v1.IsInstanceUpgradeableRequest

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ notebook_instance string

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

↳ type int

Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.

getNotebookInstance

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

Returns
TypeDescription
string

setNotebookInstance

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.

Returns
TypeDescription
int

setType

Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.

Parameter
NameDescription
var int
Returns
TypeDescription
$this