Class: Google::Apis::DoubleclickbidmanagerV1_1::RunQueryRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/doubleclickbidmanager_v1_1/classes.rb,
lib/google/apis/doubleclickbidmanager_v1_1/representations.rb,
lib/google/apis/doubleclickbidmanager_v1_1/representations.rb

Overview

Request to run a stored query to generate a report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RunQueryRequest

Returns a new instance of RunQueryRequest.



755
756
757
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 755

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)


734
735
736
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 734

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)


741
742
743
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 741

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)


748
749
750
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 748

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)


753
754
755
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 753

def timezone_code
  @timezone_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



760
761
762
763
764
765
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 760

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