Class: Google::Apis::DoubleclickbidmanagerV1::RunQueryRequest

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

Request to run a stored query to generate a report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ RunQueryRequest

Returns a new instance of RunQueryRequest.



704
705
706
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 704

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#data_rangeString

Report data range used to generate the report. Corresponds to the JSON property dataRange

Returns:

  • (String)


683
684
685
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 683

def data_range
  @data_range
end

#report_data_end_time_msString

The ending time for the data that is shown in the report. Note, reportDataEndTimeMs is required if dataRange is CUSTOM_DATES and ignored otherwise. Corresponds to the JSON property reportDataEndTimeMs

Returns:

  • (String)


690
691
692
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 690

def report_data_end_time_ms
  @report_data_end_time_ms
end

#report_data_start_time_msString

The starting time for the data that is shown in the report. Note, reportDataStartTimeMs is required if dataRange is CUSTOM_DATES and ignored otherwise. Corresponds to the JSON property reportDataStartTimeMs

Returns:

  • (String)


697
698
699
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 697

def report_data_start_time_ms
  @report_data_start_time_ms
end

#timezone_codeString

Canonical timezone code for report data time. Defaults to America/New_York. Corresponds to the JSON property timezoneCode

Returns:

  • (String)


702
703
704
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 702

def timezone_code
  @timezone_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



709
710
711
712
713
714
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 709

def update!(**args)
  @data_range = args[:data_range] if args.key?(:data_range)
  @report_data_end_time_ms = args[:report_data_end_time_ms] if args.key?(:report_data_end_time_ms)
  @report_data_start_time_ms = args[:report_data_start_time_ms] if args.key?(:report_data_start_time_ms)
  @timezone_code = args[:timezone_code] if args.key?(:timezone_code)
end