Reference documentation and code samples for the Google Cloud Notebooks V1beta1 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.v1beta1.VmImage
Methods
__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: |
↳ image_name |
string
Use VM image name to find the image. |
↳ image_family |
string
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: projects/{project_id}
Returns | |
---|---|
Type | Description |
string |
setProject
Required. The name of the Google Cloud project that this VM image belongs to.
Format: projects/{project_id}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getImageName
Use VM image name to find the image.
Returns | |
---|---|
Type | Description |
string |
hasImageName
setImageName
Use VM image name to find the image.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getImageFamily
Use this VM image family to find the image; the newest image in this family will be used.
Returns | |
---|---|
Type | Description |
string |
hasImageFamily
setImageFamily
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 |