Class: Google::Apis::AndroidpublisherV2::Timestamp
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidpublisherV2::Timestamp
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidpublisher_v2/classes.rb,
 generated/google/apis/androidpublisher_v2/representations.rb,
 generated/google/apis/androidpublisher_v2/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #nanos  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property nanos.
- 
  
    
      #seconds  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property seconds.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Timestamp 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Timestamp. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Timestamp
Returns a new instance of Timestamp
| 1622 1623 1624 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1622 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#nanos ⇒ Fixnum
Corresponds to the JSON property nanos
| 1615 1616 1617 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1615 def nanos @nanos end | 
#seconds ⇒ Fixnum
Corresponds to the JSON property seconds
| 1620 1621 1622 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1620 def seconds @seconds end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1627 1628 1629 1630 | # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1627 def update!(**args) @nanos = args[:nanos] if args.key?(:nanos) @seconds = args[:seconds] if args.key?(:seconds) end |