Class: Google::Apis::DoubleclickbidmanagerV2::QuerySchedule
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclickbidmanagerV2::QuerySchedule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/doubleclickbidmanager_v2/classes.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb
Overview
Information on how frequently and when to run a query.
Instance Attribute Summary collapse
-
#end_date ⇒ Google::Apis::DoubleclickbidmanagerV2::Date
Represents a whole or partial calendar date, such as a birthday.
-
#frequency ⇒ String
How often the query is run.
-
#next_run_timezone_code ⇒ String
Canonical timezone code for report generation time.
-
#start_date ⇒ Google::Apis::DoubleclickbidmanagerV2::Date
Represents a whole or partial calendar date, such as a birthday.
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.
542 543 544 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 542 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_date ⇒ Google::Apis::DoubleclickbidmanagerV2::Date
Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following: * A full date, with non-zero year, month, and day values. * A month
and day, with a zero year (for example, an anniversary). * A year on its own,
with a zero month and a zero day. * A year and month, with a zero day (for
example, a credit card expiration date). Related types: * google.type.
TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
Corresponds to the JSON property endDate
517 518 519 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 517 def end_date @end_date end |
#frequency ⇒ String
How often the query is run.
Corresponds to the JSON property frequency
522 523 524 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 522 def frequency @frequency end |
#next_run_timezone_code ⇒ String
Canonical timezone code for report generation time. Defaults to America/
New_York
.
Corresponds to the JSON property nextRunTimezoneCode
528 529 530 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 528 def next_run_timezone_code @next_run_timezone_code end |
#start_date ⇒ Google::Apis::DoubleclickbidmanagerV2::Date
Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following: * A full date, with non-zero year, month, and day values. * A month
and day, with a zero year (for example, an anniversary). * A year on its own,
with a zero month and a zero day. * A year and month, with a zero day (for
example, a credit card expiration date). Related types: * google.type.
TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
Corresponds to the JSON property startDate
540 541 542 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 540 def start_date @start_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
547 548 549 550 551 552 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 547 def update!(**args) @end_date = args[:end_date] if args.key?(:end_date) @frequency = args[:frequency] if args.key?(:frequency) @next_run_timezone_code = args[:next_run_timezone_code] if args.key?(:next_run_timezone_code) @start_date = args[:start_date] if args.key?(:start_date) end |