Class: Google::Apis::NotebooksV1::Runtime
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::Runtime
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/notebooks_v1/classes.rb,
lib/google/apis/notebooks_v1/representations.rb,
lib/google/apis/notebooks_v1/representations.rb
Overview
The definition of a Runtime for a managed notebook instance.
Instance Attribute Summary collapse
-
#access_config ⇒ Google::Apis::NotebooksV1::RuntimeAccessConfig
Specifies the login configuration for Runtime Corresponds to the JSON property
accessConfig. -
#create_time ⇒ String
Output only.
-
#health_state ⇒ String
Output only.
-
#metrics ⇒ Google::Apis::NotebooksV1::RuntimeMetrics
Contains runtime daemon metrics, such as OS and kernels and sessions stats.
-
#name ⇒ String
Output only.
-
#software_config ⇒ Google::Apis::NotebooksV1::RuntimeSoftwareConfig
Specifies the selection and configuration of software inside the runtime.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
-
#virtual_machine ⇒ Google::Apis::NotebooksV1::VirtualMachine
Runtime using Virtual Machine for computing.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Runtime
constructor
A new instance of Runtime.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Runtime
Returns a new instance of Runtime.
1907 1908 1909 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1907 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_config ⇒ Google::Apis::NotebooksV1::RuntimeAccessConfig
Specifies the login configuration for Runtime
Corresponds to the JSON property accessConfig
1861 1862 1863 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1861 def access_config @access_config end |
#create_time ⇒ String
Output only. Runtime creation time.
Corresponds to the JSON property createTime
1866 1867 1868 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1866 def create_time @create_time end |
#health_state ⇒ String
Output only. Runtime health_state.
Corresponds to the JSON property healthState
1871 1872 1873 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1871 def health_state @health_state end |
#metrics ⇒ Google::Apis::NotebooksV1::RuntimeMetrics
Contains runtime daemon metrics, such as OS and kernels and sessions stats.
Corresponds to the JSON property metrics
1876 1877 1878 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1876 def metrics @metrics end |
#name ⇒ String
Output only. The resource name of the runtime. Format: projects/project/
locations/location/runtimes/runtimeId`
Corresponds to the JSON propertyname`
1882 1883 1884 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1882 def name @name end |
#software_config ⇒ Google::Apis::NotebooksV1::RuntimeSoftwareConfig
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 *
enable_health_monitoring: true
Corresponds to the JSON property softwareConfig
1890 1891 1892 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1890 def software_config @software_config end |
#state ⇒ String
Output only. Runtime state.
Corresponds to the JSON property state
1895 1896 1897 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1895 def state @state end |
#update_time ⇒ String
Output only. Runtime update time.
Corresponds to the JSON property updateTime
1900 1901 1902 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1900 def update_time @update_time end |
#virtual_machine ⇒ Google::Apis::NotebooksV1::VirtualMachine
Runtime using Virtual Machine for computing.
Corresponds to the JSON property virtualMachine
1905 1906 1907 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1905 def virtual_machine @virtual_machine end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1912 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 |