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

Constructor Details

#initialize(**args) ⇒ RunQueryRequest

Returns a new instance of RunQueryRequest.



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

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)


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

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)


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

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)


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

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)


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

def timezone_code
  @timezone_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



722
723
724
725
726
727
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 722

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