Class: Google::Apis::DoubleclickbidmanagerV2::QueryMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclickbidmanagerV2::QueryMetadata
- 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
Query metadata.
Instance Attribute Summary collapse
-
#data_range ⇒ Google::Apis::DoubleclickbidmanagerV2::DataRange
Report data range.
-
#format ⇒ String
Format of the generated report.
-
#send_notification ⇒ Boolean
(also: #send_notification?)
Whether to send an email notification when a report is ready.
-
#share_email_address ⇒ Array<String>
List of email addresses which are sent email notifications when the report is finished.
-
#title ⇒ String
Query title.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryMetadata
constructor
A new instance of QueryMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QueryMetadata
Returns a new instance of QueryMetadata.
489 490 491 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 489 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_range ⇒ Google::Apis::DoubleclickbidmanagerV2::DataRange
Report data range.
Corresponds to the JSON property dataRange
464 465 466 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 464 def data_range @data_range end |
#format ⇒ String
Format of the generated report.
Corresponds to the JSON property format
469 470 471 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 469 def format @format end |
#send_notification ⇒ Boolean Also known as: send_notification?
Whether to send an email notification when a report is ready. Defaults to
false.
Corresponds to the JSON property sendNotification
475 476 477 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 475 def send_notification @send_notification end |
#share_email_address ⇒ Array<String>
List of email addresses which are sent email notifications when the report is
finished. Separate from sendNotification
.
Corresponds to the JSON property shareEmailAddress
482 483 484 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 482 def share_email_address @share_email_address end |
#title ⇒ String
Query title. It is used to name the reports generated from this query.
Corresponds to the JSON property title
487 488 489 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 487 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
494 495 496 497 498 499 500 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 494 def update!(**args) @data_range = args[:data_range] if args.key?(:data_range) @format = args[:format] if args.key?(:format) @send_notification = args[:send_notification] if args.key?(:send_notification) @share_email_address = args[:share_email_address] if args.key?(:share_email_address) @title = args[:title] if args.key?(:title) end |