Class: Google::Apis::DataprocV1::NativeSqlExecutionUiData
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::NativeSqlExecutionUiData
- 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
Native SQL Execution Data
Instance Attribute Summary collapse
-
#description ⇒ String
Optional.
-
#execution_id ⇒ Fixnum
Required.
-
#fallback_description ⇒ String
Optional.
-
#fallback_node_to_reason ⇒ Array<Google::Apis::DataprocV1::FallbackReason>
Optional.
-
#num_fallback_nodes ⇒ Fixnum
Optional.
-
#num_native_nodes ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NativeSqlExecutionUiData
constructor
A new instance of NativeSqlExecutionUiData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NativeSqlExecutionUiData
Returns a new instance of NativeSqlExecutionUiData.
5418 5419 5420 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5418 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Optional. Description of the execution.
Corresponds to the JSON property description
5391 5392 5393 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5391 def description @description end |
#execution_id ⇒ Fixnum
Required. Execution ID of the Native SQL Execution.
Corresponds to the JSON property executionId
5396 5397 5398 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5396 def execution_id @execution_id end |
#fallback_description ⇒ String
Optional. Description of the fallback.
Corresponds to the JSON property fallbackDescription
5401 5402 5403 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5401 def fallback_description @fallback_description end |
#fallback_node_to_reason ⇒ Array<Google::Apis::DataprocV1::FallbackReason>
Optional. Fallback node to reason.
Corresponds to the JSON property fallbackNodeToReason
5406 5407 5408 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5406 def fallback_node_to_reason @fallback_node_to_reason end |
#num_fallback_nodes ⇒ Fixnum
Optional. Number of nodes fallen back to Spark.
Corresponds to the JSON property numFallbackNodes
5411 5412 5413 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5411 def num_fallback_nodes @num_fallback_nodes end |
#num_native_nodes ⇒ Fixnum
Optional. Number of nodes in Native.
Corresponds to the JSON property numNativeNodes
5416 5417 5418 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5416 def num_native_nodes @num_native_nodes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5423 5424 5425 5426 5427 5428 5429 5430 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5423 def update!(**args) @description = args[:description] if args.key?(:description) @execution_id = args[:execution_id] if args.key?(:execution_id) @fallback_description = args[:fallback_description] if args.key?(:fallback_description) @fallback_node_to_reason = args[:fallback_node_to_reason] if args.key?(:fallback_node_to_reason) @num_fallback_nodes = args[:num_fallback_nodes] if args.key?(:num_fallback_nodes) @num_native_nodes = args[:num_native_nodes] if args.key?(:num_native_nodes) end |