Class: Google::Apis::DataflowV1b3::IntegerGauge
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DataflowV1b3::IntegerGauge
 
- 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
A metric value representing temporal values of a variable.
Instance Attribute Summary collapse
- 
  
    
      #timestamp  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The time at which this value was measured. 
- 
  
    
      #value  ⇒ Google::Apis::DataflowV1b3::SplitInt64 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A representation of an int64, n, that is immune to precision loss when encoded in JSON. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ IntegerGauge 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of IntegerGauge. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IntegerGauge
Returns a new instance of IntegerGauge
| 1512 1513 1514 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1512 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#timestamp ⇒ String
The time at which this value was measured. Measured as msecs from epoch.
Corresponds to the JSON property timestamp
| 1504 1505 1506 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1504 def @timestamp end | 
#value ⇒ Google::Apis::DataflowV1b3::SplitInt64
A representation of an int64, n, that is immune to precision loss when
encoded in JSON.
Corresponds to the JSON property value
| 1510 1511 1512 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1510 def value @value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1517 1518 1519 1520 | # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1517 def update!(**args) @timestamp = args[:timestamp] if args.key?(:timestamp) @value = args[:value] if args.key?(:value) end |