Class: Google::Apis::DataprocV1::WriteSessionSparkApplicationContextRequest

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

Write Spark Application data to internal storage systems

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WriteSessionSparkApplicationContextRequest

Returns a new instance of WriteSessionSparkApplicationContextRequest.



12326
12327
12328
# File 'lib/google/apis/dataproc_v1/classes.rb', line 12326

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

Instance Attribute Details

#parentString

Required. Parent (Batch) resource reference. Corresponds to the JSON property parent

Returns:

  • (String)


12319
12320
12321
# File 'lib/google/apis/dataproc_v1/classes.rb', line 12319

def parent
  @parent
end

#spark_wrapper_objectsArray<Google::Apis::DataprocV1::SparkWrapperObject>

Required. The batch of spark application context objects sent for ingestion. Corresponds to the JSON property sparkWrapperObjects



12324
12325
12326
# File 'lib/google/apis/dataproc_v1/classes.rb', line 12324

def spark_wrapper_objects
  @spark_wrapper_objects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12331
12332
12333
12334
# File 'lib/google/apis/dataproc_v1/classes.rb', line 12331

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