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



714
715
716
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 714

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)


693
694
695
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 693

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)


700
701
702
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 700

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)


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

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)


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

def timezone_code
  @timezone_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



719
720
721
722
723
724
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 719

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