class Google::Apis::DoubleclickbidmanagerV1::Query
Represents a query.
Attributes
Identifies what kind of resource this is. Value: the fixed string “ doubleclickbidmanager#query”. Corresponds to the JSON property `kind` @return [String]
Query metadata. Corresponds to the JSON property `metadata` @return [Google::Apis::DoubleclickbidmanagerV1::QueryMetadata]
Parameters of a query or report. Corresponds to the JSON property `params` @return [Google::Apis::DoubleclickbidmanagerV1::Parameters]
Query ID. Corresponds to the JSON property `queryId` @return [String]
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]
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]
Information on how frequently and when to run a query. Corresponds to the JSON property `schedule` @return [Google::Apis::DoubleclickbidmanagerV1::QuerySchedule]
Canonical timezone code for report data time. Defaults to America/New_York. Corresponds to the JSON property `timezoneCode` @return [String]
Public Class Methods
# File generated/google/apis/doubleclickbidmanager_v1/classes.rb, line 340 def initialize(**args) update!(**args) end
Public Instance Methods
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