Reference documentation and code samples for the Google Cloud Notebooks V1 Client class UpgradeInstanceRequest.
Request for upgrading a notebook instance
Generated from protobuf message google.cloud.notebooks.v1.UpgradeInstanceRequest
Namespace
Google \ Cloud \ Notebooks \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
data | 
        
          array
          Optional. Data for populating the Message object.  | 
      
↳ name | 
        
          string
          Required. Format:   | 
      
↳ type | 
        
          int
          Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.  | 
      
getName
Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
| Returns | |
|---|---|
| Type | Description | 
string | 
        |
setName
Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          string
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
getType
Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
setType
Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          int
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |