Class: Google::Apis::DataflowV1b3::StreamingComputationTask
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::StreamingComputationTask
- 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
A task which describes what action should be performed for the specified streaming computation ranges.
Instance Attribute Summary collapse
-
#computation_ranges ⇒ Array<Google::Apis::DataflowV1b3::StreamingComputationRanges>
Contains ranges of a streaming computation this task should apply to.
-
#data_disks ⇒ Array<Google::Apis::DataflowV1b3::MountedDataDisk>
Describes the set of data disks this task should apply to.
-
#task_type ⇒ String
A type of streaming computation task.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StreamingComputationTask
constructor
A new instance of StreamingComputationTask.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ StreamingComputationTask
Returns a new instance of StreamingComputationTask.
3636 3637 3638 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3636 def initialize(**args) update!(**args) end |
Instance Attribute Details
#computation_ranges ⇒ Array<Google::Apis::DataflowV1b3::StreamingComputationRanges>
Contains ranges of a streaming computation this task should apply to.
Corresponds to the JSON property computationRanges
3634 3635 3636 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3634 def computation_ranges @computation_ranges end |
#data_disks ⇒ Array<Google::Apis::DataflowV1b3::MountedDataDisk>
Describes the set of data disks this task should apply to.
Corresponds to the JSON property dataDisks
3629 3630 3631 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3629 def data_disks @data_disks end |
#task_type ⇒ String
A type of streaming computation task.
Corresponds to the JSON property taskType
3624 3625 3626 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3624 def task_type @task_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3641 3642 3643 3644 3645 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3641 def update!(**args) @task_type = args[:task_type] if args.key?(:task_type) @data_disks = args[:data_disks] if args.key?(:data_disks) @computation_ranges = args[:computation_ranges] if args.key?(:computation_ranges) end |