class Google::Apis::AndroidpublisherV3::Timestamp
A Timestamp
represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970.
Attributes
nanos[RW]
Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive. Corresponds to the JSON property `nanos` @return [Fixnum]
seconds[RW]
Represents seconds of UTC time since Unix epoch. Corresponds to the JSON property `seconds` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/androidpublisher_v3/classes.rb, line 1861 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/androidpublisher_v3/classes.rb, line 1866 def update!(**args) @nanos = args[:nanos] if args.key?(:nanos) @seconds = args[:seconds] if args.key?(:seconds) end