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.
323 324 325 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 323 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_range ⇒ Google::Apis::DoubleclickbidmanagerV2::DataRange
Report data range.
Corresponds to the JSON property dataRange
298 299 300 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 298 def data_range @data_range end |
#format ⇒ String
Format of the generated report.
Corresponds to the JSON property format
303 304 305 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 303 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
309 310 311 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 309 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 send_notification.
Corresponds to the JSON property shareEmailAddress
316 317 318 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 316 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
321 322 323 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 321 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
328 329 330 331 332 333 334 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 328 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 |