Class: Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb
Overview
A single message which encapsulates structured name and metadata for a given counter.
Instance Attribute Summary collapse
-
#metadata ⇒ Google::Apis::DataflowV1b3::CounterMetadata
CounterMetadata includes all static non-name non-value counter attributes.
-
#name ⇒ Google::Apis::DataflowV1b3::CounterStructuredName
Identifies a counter within a per-job namespace.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CounterStructuredNameAndMetadata
constructor
A new instance of CounterStructuredNameAndMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CounterStructuredNameAndMetadata
Returns a new instance of CounterStructuredNameAndMetadata.
702 703 704 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 702 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Google::Apis::DataflowV1b3::CounterMetadata
CounterMetadata includes all static non-name non-value counter attributes.
Corresponds to the JSON property metadata
694 695 696 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 694 def @metadata end |
#name ⇒ Google::Apis::DataflowV1b3::CounterStructuredName
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
700 701 702 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 700 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
707 708 709 710 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 707 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) end |