Class: Google::Apis::DataprocV1::JupyterConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::JupyterConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
Jupyter configuration for an interactive session.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Optional.
-
#kernel ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JupyterConfig
constructor
A new instance of JupyterConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JupyterConfig
Returns a new instance of JupyterConfig.
3077 3078 3079 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3077 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Optional. Display name, shown in the Jupyter kernelspec card.
Corresponds to the JSON property displayName
3070 3071 3072 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3070 def display_name @display_name end |
#kernel ⇒ String
Optional. Kernel
Corresponds to the JSON property kernel
3075 3076 3077 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3075 def kernel @kernel end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3082 3083 3084 3085 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3082 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @kernel = args[:kernel] if args.key?(:kernel) end |