class Google::Apis::BigquerydatatransferV1::TimeRange

A specification for a time range, this will request transfer runs with run_time between start_time (inclusive) and end_time (exclusive).

Attributes

end_time[RW]

End time of the range of transfer runs. For example, `“2017-05-30T00:00:00+00: 00”`. The end_time must not be in the future. Creates transfer runs where run_time is in the range between start_time (inclusive) and end_time ( exclusive). Corresponds to the JSON property `endTime` @return [String]

start_time[RW]

Start time of the range of transfer runs. For example, `“2017-05-25T00:00:00+ 00:00”`. The start_time must be strictly less than the end_time. Creates transfer runs where run_time is in the range between start_time (inclusive) and end_time (exclusive). Corresponds to the JSON property `startTime` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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