Class: Google::Apis::DataprocV1::WriteSparkApplicationContextRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::WriteSparkApplicationContextRequest
- 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
-
#parent ⇒ String
Required.
-
#spark_wrapper_objects ⇒ Array<Google::Apis::DataprocV1::SparkWrapperObject>
Corresponds to the JSON property
sparkWrapperObjects.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WriteSparkApplicationContextRequest
constructor
A new instance of WriteSparkApplicationContextRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WriteSparkApplicationContextRequest
Returns a new instance of WriteSparkApplicationContextRequest.
11644 11645 11646 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11644 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parent ⇒ String
Required. Parent (Batch) resource reference.
Corresponds to the JSON property parent
11637 11638 11639 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11637 def parent @parent end |
#spark_wrapper_objects ⇒ Array<Google::Apis::DataprocV1::SparkWrapperObject>
Corresponds to the JSON property sparkWrapperObjects
11642 11643 11644 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11642 def spark_wrapper_objects @spark_wrapper_objects end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11649 11650 11651 11652 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 11649 def update!(**args) @parent = args[:parent] if args.key?(:parent) @spark_wrapper_objects = args[:spark_wrapper_objects] if args.key?(:spark_wrapper_objects) end |