Class: Google::Apis::DataflowV1b3::ExecutionStageSummary

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb

Overview

Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExecutionStageSummary

Returns a new instance of ExecutionStageSummary.



1429
1430
1431
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1429

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

Instance Attribute Details

#component_sourceArray<Google::Apis::DataflowV1b3::ComponentSource>

Collections produced and consumed by component transforms of this stage. Corresponds to the JSON property componentSource



1392
1393
1394
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1392

def component_source
  @component_source
end

#component_transformArray<Google::Apis::DataflowV1b3::ComponentTransform>

Transforms that comprise this execution stage. Corresponds to the JSON property componentTransform



1397
1398
1399
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1397

def component_transform
  @component_transform
end

#idString

Dataflow service generated id for this stage. Corresponds to the JSON property id

Returns:

  • (String)


1402
1403
1404
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1402

def id
  @id
end

#input_sourceArray<Google::Apis::DataflowV1b3::StageSource>

Input sources for this stage. Corresponds to the JSON property inputSource



1407
1408
1409
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1407

def input_source
  @input_source
end

#kindString

Type of tranform this stage is executing. Corresponds to the JSON property kind

Returns:

  • (String)


1412
1413
1414
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1412

def kind
  @kind
end

#nameString

Dataflow service generated name for this stage. Corresponds to the JSON property name

Returns:

  • (String)


1417
1418
1419
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1417

def name
  @name
end

#output_sourceArray<Google::Apis::DataflowV1b3::StageSource>

Output sources for this stage. Corresponds to the JSON property outputSource



1422
1423
1424
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1422

def output_source
  @output_source
end

#prerequisite_stageArray<String>

Other stages that must complete before this stage can run. Corresponds to the JSON property prerequisiteStage

Returns:

  • (Array<String>)


1427
1428
1429
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1427

def prerequisite_stage
  @prerequisite_stage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1434

def update!(**args)
  @component_source = args[:component_source] if args.key?(:component_source)
  @component_transform = args[:component_transform] if args.key?(:component_transform)
  @id = args[:id] if args.key?(:id)
  @input_source = args[:input_source] if args.key?(:input_source)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @output_source = args[:output_source] if args.key?(:output_source)
  @prerequisite_stage = args[:prerequisite_stage] if args.key?(:prerequisite_stage)
end