Class: Google::Apis::DataprocV1::JupyterConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ JupyterConfig

Returns a new instance of JupyterConfig.



4629
4630
4631
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4629

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#display_nameString

Optional. Display name, shown in the Jupyter kernelspec card. Corresponds to the JSON property displayName

Returns:

  • (String)


4622
4623
4624
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4622

def display_name
  @display_name
end

#kernelString

Optional. Kernel Corresponds to the JSON property kernel

Returns:

  • (String)


4627
4628
4629
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4627

def kernel
  @kernel
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4634
4635
4636
4637
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4634

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @kernel = args[:kernel] if args.key?(:kernel)
end