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



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

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)


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

def data_range
  @data_range
end

#report_data_end_time_msFixnum

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:

  • (Fixnum)


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

def report_data_end_time_ms
  @report_data_end_time_ms
end

#report_data_start_time_msFixnum

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:

  • (Fixnum)


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

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)


708
709
710
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 708

def timezone_code
  @timezone_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



715
716
717
718
719
720
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 715

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