Class: Google::Apis::DataflowV1b3::CounterStructuredName
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::CounterStructuredName
- 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
Identifies a counter within a per-job namespace. Counters whose structured names are the same get merged into a single value for the job.
Instance Attribute Summary collapse
-
#component_step_name ⇒ String
Name of the optimized step being executed by the workers.
-
#execution_step_name ⇒ String
Name of the stage.
-
#name ⇒ String
Counter name.
-
#original_step_name ⇒ String
System generated name of the original step in the user's graph, before optimization.
-
#other_origin ⇒ String
A string containing the origin of the counter.
-
#portion ⇒ String
Portion of this counter, either key or value.
-
#standard_origin ⇒ String
One of the standard Origins defined above.
-
#worker_id ⇒ String
ID of a particular worker.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CounterStructuredName
constructor
A new instance of CounterStructuredName.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CounterStructuredName
Returns a new instance of CounterStructuredName.
1565 1566 1567 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1565 def initialize(**args) update!(**args) end |
Instance Attribute Details
#component_step_name ⇒ String
Name of the optimized step being executed by the workers.
Corresponds to the JSON property componentStepName
1548 1549 1550 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1548 def component_step_name @component_step_name end |
#execution_step_name ⇒ String
Name of the stage. An execution step contains multiple component steps.
Corresponds to the JSON property executionStepName
1553 1554 1555 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1553 def execution_step_name @execution_step_name end |
#name ⇒ String
Counter name. Not necessarily globally-unique, but unique within the context
of the other fields. Required.
Corresponds to the JSON property name
1527 1528 1529 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1527 def name @name end |
#original_step_name ⇒ String
System generated name of the original step in the user's graph, before
optimization.
Corresponds to the JSON property originalStepName
1543 1544 1545 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1543 def original_step_name @original_step_name end |
#other_origin ⇒ String
A string containing the origin of the counter.
Corresponds to the JSON property otherOrigin
1537 1538 1539 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1537 def other_origin @other_origin end |
#portion ⇒ String
Portion of this counter, either key or value.
Corresponds to the JSON property portion
1563 1564 1565 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1563 def portion @portion end |
#standard_origin ⇒ String
One of the standard Origins defined above.
Corresponds to the JSON property standardOrigin
1532 1533 1534 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1532 def standard_origin @standard_origin end |
#worker_id ⇒ String
ID of a particular worker.
Corresponds to the JSON property workerId
1558 1559 1560 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1558 def worker_id @worker_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1570 def update!(**args) @name = args[:name] if args.key?(:name) @standard_origin = args[:standard_origin] if args.key?(:standard_origin) @other_origin = args[:other_origin] if args.key?(:other_origin) @original_step_name = args[:original_step_name] if args.key?(:original_step_name) @component_step_name = args[:component_step_name] if args.key?(:component_step_name) @execution_step_name = args[:execution_step_name] if args.key?(:execution_step_name) @worker_id = args[:worker_id] if args.key?(:worker_id) @portion = args[:portion] if args.key?(:portion) end |