Reference documentation and code samples for the Google Cloud Notebooks V1 Client class Runtime.
The definition of a Runtime for a managed notebook instance.
Generated from protobuf message google.cloud.notebooks.v1.Runtime
Namespace
Google \ Cloud \ Notebooks \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. The resource name of the runtime. Format: |
↳ virtual_machine |
Google\Cloud\Notebooks\V1\VirtualMachine
Use a Compute Engine VM image to start the managed notebook instance. |
↳ state |
int
Output only. Runtime state. |
↳ health_state |
int
Output only. Runtime health_state. |
↳ access_config |
Google\Cloud\Notebooks\V1\RuntimeAccessConfig
The config settings for accessing runtime. |
↳ software_config |
Google\Cloud\Notebooks\V1\RuntimeSoftwareConfig
The config settings for software inside the runtime. |
↳ metrics |
Google\Cloud\Notebooks\V1\RuntimeMetrics
Output only. Contains Runtime daemon metrics such as Service status and JupyterLab stats. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. Runtime creation time. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. Runtime update time. |
getName
Output only. The resource name of the runtime.
Format:
projects/{project}/locations/{location}/runtimes/{runtimeId}
Returns | |
---|---|
Type | Description |
string |
setName
Output only. The resource name of the runtime.
Format:
projects/{project}/locations/{location}/runtimes/{runtimeId}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getVirtualMachine
Use a Compute Engine VM image to start the managed notebook instance.
Returns | |
---|---|
Type | Description |
Google\Cloud\Notebooks\V1\VirtualMachine|null |
hasVirtualMachine
setVirtualMachine
Use a Compute Engine VM image to start the managed notebook instance.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Notebooks\V1\VirtualMachine
|
Returns | |
---|---|
Type | Description |
$this |
getState
Output only. Runtime state.
Returns | |
---|---|
Type | Description |
int |
setState
Output only. Runtime state.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getHealthState
Output only. Runtime health_state.
Returns | |
---|---|
Type | Description |
int |
setHealthState
Output only. Runtime health_state.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getAccessConfig
The config settings for accessing runtime.
Returns | |
---|---|
Type | Description |
Google\Cloud\Notebooks\V1\RuntimeAccessConfig|null |
hasAccessConfig
clearAccessConfig
setAccessConfig
The config settings for accessing runtime.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Notebooks\V1\RuntimeAccessConfig
|
Returns | |
---|---|
Type | Description |
$this |
getSoftwareConfig
The config settings for software inside the runtime.
Returns | |
---|---|
Type | Description |
Google\Cloud\Notebooks\V1\RuntimeSoftwareConfig|null |
hasSoftwareConfig
clearSoftwareConfig
setSoftwareConfig
The config settings for software inside the runtime.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Notebooks\V1\RuntimeSoftwareConfig
|
Returns | |
---|---|
Type | Description |
$this |
getMetrics
Output only. Contains Runtime daemon metrics such as Service status and JupyterLab stats.
Returns | |
---|---|
Type | Description |
Google\Cloud\Notebooks\V1\RuntimeMetrics|null |
hasMetrics
clearMetrics
setMetrics
Output only. Contains Runtime daemon metrics such as Service status and JupyterLab stats.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Notebooks\V1\RuntimeMetrics
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Output only. Runtime creation time.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Output only. Runtime creation time.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Output only. Runtime update time.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Runtime update time.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getRuntimeType
Returns | |
---|---|
Type | Description |
string |