- 1.35.0 (latest)
- 1.34.0
- 1.33.0
- 1.32.1
- 1.31.0
- 1.30.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.1
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- 0.39.0
- 0.38.0
- 0.37.1
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.2
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.13.0
- 0.12.0
- 0.11.1
- 0.10.0
Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class NotebookRuntime.
A runtime is a virtual machine allocated to a particular user for a particular Notebook file on temporary basis with lifetime limited to 24 hours.
Generated from protobuf message google.cloud.aiplatform.v1.NotebookRuntime
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name of the NotebookRuntime.
↳ runtime_user
string
Required. The user email of the NotebookRuntime.
↳ notebook_runtime_template_ref
Google\Cloud\AIPlatform\V1\NotebookRuntimeTemplateRef
Output only. The pointer to NotebookRuntimeTemplate this NotebookRuntime is created from.
↳ proxy_uri
string
Output only. The proxy endpoint used to access the NotebookRuntime.
↳ create_time
↳ update_time
Google\Protobuf\Timestamp
Output only. Timestamp when this NotebookRuntime was most recently updated.
↳ health_state
int
Output only. The health state of the NotebookRuntime.
↳ display_name
string
Required. The display name of the NotebookRuntime. The name can be up to 128 characters long and can consist of any UTF-8 characters.
↳ description
string
The description of the NotebookRuntime.
↳ service_account
string
Output only. The service account that the NotebookRuntime workload runs as.
↳ runtime_state
int
Output only. The runtime (instance) state of the NotebookRuntime.
↳ is_upgradable
bool
Output only. Whether NotebookRuntime is upgradable.
↳ labels
array| Google\Protobuf\Internal\MapField
The labels with user-defined metadata to organize your NotebookRuntime. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one NotebookRuntime (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for NotebookRuntime: * "aiplatform.googleapis.com/notebook_runtime_gce_instance_id": output only, its value is the Compute Engine instance id. * "aiplatform.googleapis.com/colab_enterprise_entry_service": its value is either "bigquery" or "vertex"; if absent, it should be "vertex". This is to describe the entry service, either BigQuery or Vertex.
↳ expiration_time
Google\Protobuf\Timestamp
Output only. Timestamp when this NotebookRuntime will be expired: 1. System Predefined NotebookRuntime: 24 hours after creation. After expiration, system predifined runtime will be deleted. 2. User created NotebookRuntime: 6 months after last upgrade. After expiration, user created runtime will be stopped and allowed for upgrade.
↳ version
string
Output only. The VM os image version of NotebookRuntime.
↳ notebook_runtime_type
int
Output only. The type of the notebook runtime.
↳ network_tags
getName
Output only. The resource name of the NotebookRuntime.
string
setName
Output only. The resource name of the NotebookRuntime.
var
string
$this
getRuntimeUser
Required. The user email of the NotebookRuntime.
string
setRuntimeUser
Required. The user email of the NotebookRuntime.
var
string
$this
getNotebookRuntimeTemplateRef
Output only. The pointer to NotebookRuntimeTemplate this NotebookRuntime is created from.
hasNotebookRuntimeTemplateRef
clearNotebookRuntimeTemplateRef
setNotebookRuntimeTemplateRef
Output only. The pointer to NotebookRuntimeTemplate this NotebookRuntime is created from.
$this
getProxyUri
Output only. The proxy endpoint used to access the NotebookRuntime.
string
setProxyUri
Output only. The proxy endpoint used to access the NotebookRuntime.
var
string
$this
getCreateTime
Output only. Timestamp when this NotebookRuntime was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Timestamp when this NotebookRuntime was created.
$this
getUpdateTime
Output only. Timestamp when this NotebookRuntime was most recently updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Timestamp when this NotebookRuntime was most recently updated.
$this
getHealthState
Output only. The health state of the NotebookRuntime.
int
setHealthState
Output only. The health state of the NotebookRuntime.
var
int
$this
getDisplayName
Required. The display name of the NotebookRuntime.
The name can be up to 128 characters long and can consist of any UTF-8 characters.
string
setDisplayName
Required. The display name of the NotebookRuntime.
The name can be up to 128 characters long and can consist of any UTF-8 characters.
var
string
$this
getDescription
The description of the NotebookRuntime.
string
setDescription
The description of the NotebookRuntime.
var
string
$this
getServiceAccount
Output only. The service account that the NotebookRuntime workload runs as.
string
setServiceAccount
Output only. The service account that the NotebookRuntime workload runs as.
var
string
$this
getRuntimeState
Output only. The runtime (instance) state of the NotebookRuntime.
int
setRuntimeState
Output only. The runtime (instance) state of the NotebookRuntime.
var
int
$this
getIsUpgradable
Output only. Whether NotebookRuntime is upgradable.
bool
setIsUpgradable
Output only. Whether NotebookRuntime is upgradable.
var
bool
$this
getLabels
The labels with user-defined metadata to organize your NotebookRuntime.
Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one NotebookRuntime (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for NotebookRuntime:
- "aiplatform.googleapis.com/notebook_runtime_gce_instance_id": output only, its value is the Compute Engine instance id.
- "aiplatform.googleapis.com/colab_enterprise_entry_service": its value is either "bigquery" or "vertex"; if absent, it should be "vertex". This is to describe the entry service, either BigQuery or Vertex.
setLabels
The labels with user-defined metadata to organize your NotebookRuntime.
Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one NotebookRuntime (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for NotebookRuntime:
- "aiplatform.googleapis.com/notebook_runtime_gce_instance_id": output only, its value is the Compute Engine instance id.
- "aiplatform.googleapis.com/colab_enterprise_entry_service": its value is either "bigquery" or "vertex"; if absent, it should be "vertex". This is to describe the entry service, either BigQuery or Vertex.
$this
getExpirationTime
Output only. Timestamp when this NotebookRuntime will be expired:
-
System Predefined NotebookRuntime: 24 hours after creation. After expiration, system predifined runtime will be deleted.
-
User created NotebookRuntime: 6 months after last upgrade. After expiration, user created runtime will be stopped and allowed for upgrade.
hasExpirationTime
clearExpirationTime
setExpirationTime
Output only. Timestamp when this NotebookRuntime will be expired:
-
System Predefined NotebookRuntime: 24 hours after creation. After expiration, system predifined runtime will be deleted.
-
User created NotebookRuntime: 6 months after last upgrade. After expiration, user created runtime will be stopped and allowed for upgrade.
$this
getVersion
Output only. The VM os image version of NotebookRuntime.
string
setVersion
Output only. The VM os image version of NotebookRuntime.
var
string
$this
getNotebookRuntimeType
Output only. The type of the notebook runtime.
int
setNotebookRuntimeType
Output only. The type of the notebook runtime.
var
int
$this
getNetworkTags
Optional. The Compute Engine tags to add to runtime (see Tagging instances ).
setNetworkTags
Optional. The Compute Engine tags to add to runtime (see Tagging instances ).
var
string[]
$this