class Google::Apis::Adexchangebuyer2V2beta1::TimeInterval

An interval of time, with an absolute start and end.

Attributes

end_time[RW]

The timestamp marking the end of the range (exclusive) for which data is included. Corresponds to the JSON property `endTime` @return [String]

start_time[RW]

The timestamp marking the start of the range (inclusive) for which data is included. Corresponds to the JSON property `startTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 4011
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 4016
def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @start_time = args[:start_time] if args.key?(:start_time)
end