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.
-
#origin ⇒ String
One of the standard Origins defined above.
-
#origin_namespace ⇒ String
A string containing a more specific namespace of the counter's origin.
-
#original_step_name ⇒ String
System generated name of the original step in the user's graph, before optimization.
-
#portion ⇒ String
Portion of this counter, either key or value.
-
#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
2706 2707 2708 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2706 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
2704 2705 2706 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2704 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
2699 2700 2701 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2699 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
2694 2695 2696 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2694 def name @name end |
#origin ⇒ String
One of the standard Origins defined above.
Corresponds to the JSON property origin
2687 2688 2689 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2687 def origin @origin end |
#origin_namespace ⇒ String
A string containing a more specific namespace of the counter's origin.
Corresponds to the JSON property originNamespace
2682 2683 2684 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2682 def origin_namespace @origin_namespace 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
2672 2673 2674 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2672 def original_step_name @original_step_name end |
#portion ⇒ String
Portion of this counter, either key or value.
Corresponds to the JSON property portion
2666 2667 2668 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2666 def portion @portion end |
#worker_id ⇒ String
ID of a particular worker.
Corresponds to the JSON property workerId
2677 2678 2679 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2677 def worker_id @worker_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2711 def update!(**args) @portion = args[:portion] if args.key?(:portion) @original_step_name = args[:original_step_name] if args.key?(:original_step_name) @worker_id = args[:worker_id] if args.key?(:worker_id) @origin_namespace = args[:origin_namespace] if args.key?(:origin_namespace) @origin = args[:origin] if args.key?(:origin) @name = args[:name] if args.key?(:name) @execution_step_name = args[:execution_step_name] if args.key?(:execution_step_name) @component_step_name = args[:component_step_name] if args.key?(:component_step_name) end |