Class: Google::Apis::DataflowV1b3::StreamingComputationRanges
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::StreamingComputationRanges
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb
Overview
Describes full or partial data disk assignment information of the computation ranges.
Instance Attribute Summary collapse
-
#computation_id ⇒ String
The ID of the computation.
-
#range_assignments ⇒ Array<Google::Apis::DataflowV1b3::KeyRangeDataDiskAssignment>
Data disk assignments for ranges from this computation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StreamingComputationRanges
constructor
A new instance of StreamingComputationRanges.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StreamingComputationRanges
Returns a new instance of StreamingComputationRanges.
6139 6140 6141 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6139 def initialize(**args) update!(**args) end |
Instance Attribute Details
#computation_id ⇒ String
The ID of the computation.
Corresponds to the JSON property computationId
6132 6133 6134 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6132 def computation_id @computation_id end |
#range_assignments ⇒ Array<Google::Apis::DataflowV1b3::KeyRangeDataDiskAssignment>
Data disk assignments for ranges from this computation.
Corresponds to the JSON property rangeAssignments
6137 6138 6139 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6137 def range_assignments @range_assignments end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6144 6145 6146 6147 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 6144 def update!(**args) @computation_id = args[:computation_id] if args.key?(:computation_id) @range_assignments = args[:range_assignments] if args.key?(:range_assignments) end |