Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::Runtime.
The definition of a Runtime for a managed notebook instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#access_config
def access_config() -> ::Google::Cloud::Notebooks::V1::RuntimeAccessConfig
Returns
- (::Google::Cloud::Notebooks::V1::RuntimeAccessConfig) — The config settings for accessing runtime.
#access_config=
def access_config=(value) -> ::Google::Cloud::Notebooks::V1::RuntimeAccessConfig
Parameter
- value (::Google::Cloud::Notebooks::V1::RuntimeAccessConfig) — The config settings for accessing runtime.
Returns
- (::Google::Cloud::Notebooks::V1::RuntimeAccessConfig) — The config settings for accessing runtime.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Runtime creation time.
#health_state
def health_state() -> ::Google::Cloud::Notebooks::V1::Runtime::HealthState
Returns
- (::Google::Cloud::Notebooks::V1::Runtime::HealthState) — Output only. Runtime health_state.
#metrics
def metrics() -> ::Google::Cloud::Notebooks::V1::RuntimeMetrics
Returns
- (::Google::Cloud::Notebooks::V1::RuntimeMetrics) — Output only. Contains Runtime daemon metrics such as Service status and JupyterLab stats.
#name
def name() -> ::String
Returns
-
(::String) — Output only. The resource name of the runtime.
Format:
projects/{project}/locations/{location}/runtimes/{runtimeId}
#software_config
def software_config() -> ::Google::Cloud::Notebooks::V1::RuntimeSoftwareConfig
Returns
- (::Google::Cloud::Notebooks::V1::RuntimeSoftwareConfig) — The config settings for software inside the runtime.
#software_config=
def software_config=(value) -> ::Google::Cloud::Notebooks::V1::RuntimeSoftwareConfig
Parameter
- value (::Google::Cloud::Notebooks::V1::RuntimeSoftwareConfig) — The config settings for software inside the runtime.
Returns
- (::Google::Cloud::Notebooks::V1::RuntimeSoftwareConfig) — The config settings for software inside the runtime.
#state
def state() -> ::Google::Cloud::Notebooks::V1::Runtime::State
Returns
- (::Google::Cloud::Notebooks::V1::Runtime::State) — Output only. Runtime state.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Runtime update time.
#virtual_machine
def virtual_machine() -> ::Google::Cloud::Notebooks::V1::VirtualMachine
Returns
- (::Google::Cloud::Notebooks::V1::VirtualMachine) — Use a Compute Engine VM image to start the managed notebook instance.
#virtual_machine=
def virtual_machine=(value) -> ::Google::Cloud::Notebooks::V1::VirtualMachine
Parameter
- value (::Google::Cloud::Notebooks::V1::VirtualMachine) — Use a Compute Engine VM image to start the managed notebook instance.
Returns
- (::Google::Cloud::Notebooks::V1::VirtualMachine) — Use a Compute Engine VM image to start the managed notebook instance.