Class: Google::Apis::DataflowV1b3::StreamingComputationRanges

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

Describes full or partial data disk assignment information of the computation ranges.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ StreamingComputationRanges

Returns a new instance of StreamingComputationRanges.



4682
4683
4684
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4682

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

Instance Attribute Details

#computation_idString

The ID of the computation. Corresponds to the JSON property computationId

Returns:

  • (String)


4675
4676
4677
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4675

def computation_id
  @computation_id
end

#range_assignmentsArray<Google::Apis::DataflowV1b3::KeyRangeDataDiskAssignment>

Data disk assignments for ranges from this computation. Corresponds to the JSON property rangeAssignments



4680
4681
4682
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4680

def range_assignments
  @range_assignments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4687
4688
4689
4690
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4687

def update!(**args)
  @computation_id = args[:computation_id] if args.key?(:computation_id)
  @range_assignments = args[:range_assignments] if args.key?(:range_assignments)
end