Reference documentation and code samples for the Google Cloud Notebooks V2 Client class VmImage.
Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM.
Generated from protobuf message google.cloud.notebooks.v2.VmImage
Namespace
Google \ Cloud \ Notebooks \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ project |
string
Required. The name of the Google Cloud project that this VM image belongs to. Format: |
↳ name |
string
Optional. Use VM image name to find the image. |
↳ family |
string
Optional. Use this VM image family to find the image; the newest image in this family will be used. |
getProject
Required. The name of the Google Cloud project that this VM image belongs
to. Format: {project_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setProject
Required. The name of the Google Cloud project that this VM image belongs
to. Format: {project_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
Optional. Use VM image name to find the image.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasName
setName
Optional. Use VM image name to find the image.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFamily
Optional. Use this VM image family to find the image; the newest image in this family will be used.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasFamily
setFamily
Optional. Use this VM image family to find the image; the newest image in this family will be used.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getImage
| Returns | |
|---|---|
| Type | Description |
string |
|