Class: Google::Apis::DataflowV1b3::MetricShortId
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DataflowV1b3::MetricShortId
 
- 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
The metric short id is returned to the user alongside an offset into ReportWorkItemStatusRequest
Instance Attribute Summary collapse
- 
  
    
      #metric_index  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The index of the corresponding metric in the ReportWorkItemStatusRequest. 
- 
  
    
      #short_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The service-generated short identifier for the metric. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ MetricShortId 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of MetricShortId. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MetricShortId
Returns a new instance of MetricShortId
| 2185 2186 2187 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2185 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#metric_index ⇒ Fixnum
The index of the corresponding metric in
the ReportWorkItemStatusRequest. Required.
Corresponds to the JSON property metricIndex
| 2178 2179 2180 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2178 def metric_index @metric_index end | 
#short_id ⇒ Fixnum
The service-generated short identifier for the metric.
Corresponds to the JSON property shortId
| 2183 2184 2185 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2183 def short_id @short_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2190 2191 2192 2193 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2190 def update!(**args) @metric_index = args[:metric_index] if args.key?(:metric_index) @short_id = args[:short_id] if args.key?(:short_id) end |