Class: Google::Apis::DataflowV1b3::CounterStructuredName

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

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CounterStructuredName

Returns a new instance of CounterStructuredName



471
472
473
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 471

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

Instance Attribute Details

#component_step_nameString

Name of the optimized step being executed by the workers. Corresponds to the JSON property componentStepName

Returns:

  • (String)


421
422
423
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 421

def component_step_name
  @component_step_name
end

#execution_step_nameString

Name of the stage. An execution step contains multiple component steps. Corresponds to the JSON property executionStepName

Returns:

  • (String)


426
427
428
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 426

def execution_step_name
  @execution_step_name
end

#nameString

Counter name. Not necessarily globally-unique, but unique within the context of the other fields. Required. Corresponds to the JSON property name

Returns:

  • (String)


433
434
435
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 433

def name
  @name
end

#originString

One of the standard Origins defined above. Corresponds to the JSON property origin

Returns:

  • (String)


438
439
440
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 438

def origin
  @origin
end

#origin_namespaceString

A string containing a more specific namespace of the counter's origin. Corresponds to the JSON property originNamespace

Returns:

  • (String)


443
444
445
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 443

def origin_namespace
  @origin_namespace
end

#original_shuffle_step_nameString

The GroupByKey step name from the original graph. Corresponds to the JSON property originalShuffleStepName

Returns:

  • (String)


448
449
450
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 448

def original_shuffle_step_name
  @original_shuffle_step_name
end

#original_step_nameString

System generated name of the original step in the user's graph, before optimization. Corresponds to the JSON property originalStepName

Returns:

  • (String)


454
455
456
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 454

def original_step_name
  @original_step_name
end

#portionString

Portion of this counter, either key or value. Corresponds to the JSON property portion

Returns:

  • (String)


459
460
461
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 459

def portion
  @portion
end

#side_inputGoogle::Apis::DataflowV1b3::SideInputId

Uniquely identifies a side input. Corresponds to the JSON property sideInput



464
465
466
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 464

def side_input
  @side_input
end

#worker_idString

ID of a particular worker. Corresponds to the JSON property workerId

Returns:

  • (String)


469
470
471
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 469

def worker_id
  @worker_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



476
477
478
479
480
481
482
483
484
485
486
487
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 476

def update!(**args)
  @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)
  @name = args[:name] if args.key?(:name)
  @origin = args[:origin] if args.key?(:origin)
  @origin_namespace = args[:origin_namespace] if args.key?(:origin_namespace)
  @original_shuffle_step_name = args[:original_shuffle_step_name] if args.key?(:original_shuffle_step_name)
  @original_step_name = args[:original_step_name] if args.key?(:original_step_name)
  @portion = args[:portion] if args.key?(:portion)
  @side_input = args[:side_input] if args.key?(:side_input)
  @worker_id = args[:worker_id] if args.key?(:worker_id)
end