class Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata
A single message which encapsulates structured name and metadata for a given counter.
Attributes
metadata[RW]
CounterMetadata
includes all static non-name non-value counter attributes. Corresponds to the JSON property `metadata` @return [Google::Apis::DataflowV1b3::CounterMetadata]
name[RW]
Identifies a counter within a per-job namespace. Counters whose structured names are the same get merged into a single value for the job. Corresponds to the JSON property `name` @return [Google::Apis::DataflowV1b3::CounterStructuredName]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 626 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dataflow_v1b3/classes.rb, line 631 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) end