Class: Google::Apis::DoubleclickbidmanagerV1::QueryMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclickbidmanagerV1::QueryMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/doubleclickbidmanager_v1/classes.rb,
generated/google/apis/doubleclickbidmanager_v1/representations.rb,
generated/google/apis/doubleclickbidmanager_v1/representations.rb
Overview
Query metadata.
Instance Attribute Summary collapse
-
#data_range ⇒ String
Range of report data.
-
#format ⇒ String
Format of the generated report.
-
#google_cloud_storage_path_for_latest_report ⇒ String
The path to the location in Google Cloud Storage where the latest report is stored.
-
#google_drive_path_for_latest_report ⇒ String
The path in Google Drive for the latest report.
-
#latest_report_run_time_ms ⇒ Fixnum
The time when the latest report started to run.
-
#locale ⇒ String
Locale of the generated reports.
-
#report_count ⇒ Fixnum
Number of reports that have been generated for the query.
-
#running ⇒ Boolean
(also: #running?)
Whether the latest report is currently running.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ QueryMetadata
Returns a new instance of QueryMetadata
423 424 425 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 423 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_range ⇒ String
Range of report data.
Corresponds to the JSON property dataRange
363 364 365 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 363 def data_range @data_range end |
#format ⇒ String
Format of the generated report.
Corresponds to the JSON property format
368 369 370 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 368 def format @format end |
#google_cloud_storage_path_for_latest_report ⇒ String
The path to the location in Google Cloud Storage where the latest report is
stored.
Corresponds to the JSON property googleCloudStoragePathForLatestReport
374 375 376 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 374 def google_cloud_storage_path_for_latest_report @google_cloud_storage_path_for_latest_report end |
#google_drive_path_for_latest_report ⇒ String
The path in Google Drive for the latest report.
Corresponds to the JSON property googleDrivePathForLatestReport
379 380 381 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 379 def google_drive_path_for_latest_report @google_drive_path_for_latest_report end |
#latest_report_run_time_ms ⇒ Fixnum
The time when the latest report started to run.
Corresponds to the JSON property latestReportRunTimeMs
384 385 386 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 384 def latest_report_run_time_ms @latest_report_run_time_ms end |
#locale ⇒ String
Locale of the generated reports. Valid values are cs CZECH de GERMAN en
ENGLISH es SPANISH fr FRENCH it ITALIAN ja JAPANESE ko KOREAN pl POLISH pt-BR
BRAZILIAN_PORTUGUESE ru RUSSIAN tr TURKISH uk UKRAINIAN zh-CN CHINA_CHINESE zh-
TW TAIWAN_CHINESE
An locale string not in the list above will generate reports in English.
Corresponds to the JSON property locale
393 394 395 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 393 def locale @locale end |
#report_count ⇒ Fixnum
Number of reports that have been generated for the query.
Corresponds to the JSON property reportCount
398 399 400 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 398 def report_count @report_count end |
#running ⇒ Boolean Also known as: running?
Whether the latest report is currently running.
Corresponds to the JSON property running
403 404 405 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 403 def running @running end |
#send_notification ⇒ Boolean Also known as: send_notification?
Whether to send an email notification when a report is ready. Default to false.
Corresponds to the JSON property sendNotification
409 410 411 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 409 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
416 417 418 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 416 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
421 422 423 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 421 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
428 429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 428 def update!(**args) @data_range = args[:data_range] if args.key?(:data_range) @format = args[:format] if args.key?(:format) @google_cloud_storage_path_for_latest_report = args[:google_cloud_storage_path_for_latest_report] if args.key?(:google_cloud_storage_path_for_latest_report) @google_drive_path_for_latest_report = args[:google_drive_path_for_latest_report] if args.key?(:google_drive_path_for_latest_report) @latest_report_run_time_ms = args[:latest_report_run_time_ms] if args.key?(:latest_report_run_time_ms) @locale = args[:locale] if args.key?(:locale) @report_count = args[:report_count] if args.key?(:report_count) @running = args[:running] if args.key?(:running) @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 |