Class: Google::Apis::DoubleclickbidmanagerV1_1::QuerySchedule
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclickbidmanagerV1_1::QuerySchedule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/doubleclickbidmanager_v1_1/classes.rb,
lib/google/apis/doubleclickbidmanager_v1_1/representations.rb,
lib/google/apis/doubleclickbidmanager_v1_1/representations.rb
Overview
Information on how frequently and when to run a query.
Instance Attribute Summary collapse
-
#end_time_ms ⇒ Fixnum
Datetime to periodically run the query until.
-
#frequency ⇒ String
How often the query is run.
-
#next_run_minute_of_day ⇒ Fixnum
Time of day at which a new report will be generated, represented as minutes past midnight.
-
#next_run_timezone_code ⇒ String
Canonical timezone code for report generation time.
-
#start_time_ms ⇒ Fixnum
When to start running the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QuerySchedule
constructor
A new instance of QuerySchedule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QuerySchedule
Returns a new instance of QuerySchedule.
537 538 539 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 537 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time_ms ⇒ Fixnum
Datetime to periodically run the query until.
Corresponds to the JSON property endTimeMs
513 514 515 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 513 def end_time_ms @end_time_ms end |
#frequency ⇒ String
How often the query is run.
Corresponds to the JSON property frequency
518 519 520 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 518 def frequency @frequency end |
#next_run_minute_of_day ⇒ Fixnum
Time of day at which a new report will be generated, represented as minutes
past midnight. Range is 0 to 1439. Only applies to scheduled reports.
Corresponds to the JSON property nextRunMinuteOfDay
524 525 526 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 524 def next_run_minute_of_day @next_run_minute_of_day end |
#next_run_timezone_code ⇒ String
Canonical timezone code for report generation time. Defaults to America/
New_York.
Corresponds to the JSON property nextRunTimezoneCode
530 531 532 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 530 def next_run_timezone_code @next_run_timezone_code end |
#start_time_ms ⇒ Fixnum
When to start running the query. Not applicable to ONE_TIME
frequency.
Corresponds to the JSON property startTimeMs
535 536 537 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 535 def start_time_ms @start_time_ms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
542 543 544 545 546 547 548 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 542 def update!(**args) @end_time_ms = args[:end_time_ms] if args.key?(:end_time_ms) @frequency = args[:frequency] if args.key?(:frequency) @next_run_minute_of_day = args[:next_run_minute_of_day] if args.key?(:next_run_minute_of_day) @next_run_timezone_code = args[:next_run_timezone_code] if args.key?(:next_run_timezone_code) @start_time_ms = args[:start_time_ms] if args.key?(:start_time_ms) end |