Class: Google::Apis::DoubleclickbidmanagerV2::QueryMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_rangeGoogle::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

#formatString

Format of the generated report. Corresponds to the JSON property format

Returns:

  • (String)


469
470
471
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 469

def format
  @format
end

#send_notificationBoolean 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

Returns:

  • (Boolean)


475
476
477
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 475

def send_notification
  @send_notification
end

#share_email_addressArray<String>

List of email addresses which are sent email notifications when the report is finished. Separate from sendNotification. Corresponds to the JSON property shareEmailAddress

Returns:

  • (Array<String>)


482
483
484
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 482

def share_email_address
  @share_email_address
end

#titleString

Query title. It is used to name the reports generated from this query. Corresponds to the JSON property title

Returns:

  • (String)


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