class Google::Apis::NotebooksV1::Runtime

The definition of a Runtime for a managed notebook instance.

Attributes

access_config[RW]

Specifies the login configuration for Runtime Corresponds to the JSON property `accessConfig` @return [Google::Apis::NotebooksV1::RuntimeAccessConfig]

create_time[RW]

Output only. Runtime creation time. Corresponds to the JSON property `createTime` @return [String]

health_state[RW]

Output only. Runtime health_state. Corresponds to the JSON property `healthState` @return [String]

metrics[RW]

Contains runtime daemon metrics, such as OS and kernels and sessions stats. Corresponds to the JSON property `metrics` @return [Google::Apis::NotebooksV1::RuntimeMetrics]

name[RW]

Output only. The resource name of the runtime. Format: `projects/`project`/ locations/`location`/runtimes/`runtimeId“ Corresponds to the JSON property `name` @return [String]

software_config[RW]

Specifies the selection and configuration of software inside the runtime. The properties to set on runtime. Properties keys are specified in `key:value` format, for example: * `idle_shutdown: true` * `idle_shutdown_timeout: 180` * ` report-system-health: true` Corresponds to the JSON property `softwareConfig` @return [Google::Apis::NotebooksV1::RuntimeSoftwareConfig]

state[RW]

Output only. Runtime state. Corresponds to the JSON property `state` @return [String]

update_time[RW]

Output only. Runtime update time. Corresponds to the JSON property `updateTime` @return [String]

virtual_machine[RW]

Runtime using Virtual Machine for computing. Corresponds to the JSON property `virtualMachine` @return [Google::Apis::NotebooksV1::VirtualMachine]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/notebooks_v1/classes.rb, line 1874
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/notebooks_v1/classes.rb, line 1879
def update!(**args)
  @access_config = args[:access_config] if args.key?(:access_config)
  @create_time = args[:create_time] if args.key?(:create_time)
  @health_state = args[:health_state] if args.key?(:health_state)
  @metrics = args[:metrics] if args.key?(:metrics)
  @name = args[:name] if args.key?(:name)
  @software_config = args[:software_config] if args.key?(:software_config)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
  @virtual_machine = args[:virtual_machine] if args.key?(:virtual_machine)
end