Class: Google::Apis::NotebooksV1::DataprocParameters

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

Parameters used in Dataproc JobType executions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataprocParameters

Returns a new instance of DataprocParameters.



174
175
176
# File 'lib/google/apis/notebooks_v1/classes.rb', line 174

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

Instance Attribute Details

#clusterString

URI for cluster used to run Dataproc execution. Format: 'projects/PROJECT_ID/ regions/REGION/clusters/CLUSTER_NAME Corresponds to the JSON property cluster

Returns:

  • (String)


172
173
174
# File 'lib/google/apis/notebooks_v1/classes.rb', line 172

def cluster
  @cluster
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



179
180
181
# File 'lib/google/apis/notebooks_v1/classes.rb', line 179

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