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.



194
195
196
# File 'lib/google/apis/notebooks_v1/classes.rb', line 194

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 propertycluster`

Returns:

  • (String)


192
193
194
# File 'lib/google/apis/notebooks_v1/classes.rb', line 192

def cluster
  @cluster
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



199
200
201
# File 'lib/google/apis/notebooks_v1/classes.rb', line 199

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