class Google::Apis::DoubleclickbidmanagerV1::Query

Represents a query.

Attributes

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ doubleclickbidmanager#query”. Corresponds to the JSON property `kind` @return [String]

metadata[RW]

Query metadata. Corresponds to the JSON property `metadata` @return [Google::Apis::DoubleclickbidmanagerV1::QueryMetadata]

params[RW]

Parameters of a query or report. Corresponds to the JSON property `params` @return [Google::Apis::DoubleclickbidmanagerV1::Parameters]

query_id[RW]

Query ID. Corresponds to the JSON property `queryId` @return [String]

report_data_end_time_ms[RW]

The ending time for the data that is shown in the report. Note, reportDataEndTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored otherwise. Corresponds to the JSON property `reportDataEndTimeMs` @return [String]

report_data_start_time_ms[RW]

The starting time for the data that is shown in the report. Note, reportDataStartTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored otherwise. Corresponds to the JSON property `reportDataStartTimeMs` @return [String]

schedule[RW]

Information on how frequently and when to run a query. Corresponds to the JSON property `schedule` @return [Google::Apis::DoubleclickbidmanagerV1::QuerySchedule]

timezone_code[RW]

Canonical timezone code for report data time. Defaults to America/New_York. Corresponds to the JSON property `timezoneCode` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/doubleclickbidmanager_v1/classes.rb, line 340
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/doubleclickbidmanager_v1/classes.rb, line 345
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @metadata = args[:metadata] if args.key?(:metadata)
  @params = args[:params] if args.key?(:params)
  @query_id = args[:query_id] if args.key?(:query_id)
  @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)
  @schedule = args[:schedule] if args.key?(:schedule)
  @timezone_code = args[:timezone_code] if args.key?(:timezone_code)
end