Class: Google::Apis::DoubleclickbidmanagerV1::Query
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DoubleclickbidmanagerV1::Query
 
- 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
Represents a query.
Instance Attribute Summary collapse
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies what kind of resource this is. 
- 
  
    
      #metadata  ⇒ Google::Apis::DoubleclickbidmanagerV1::QueryMetadata 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Query metadata. 
- 
  
    
      #params  ⇒ Google::Apis::DoubleclickbidmanagerV1::Parameters 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Parameters of a query or report. 
- 
  
    
      #query_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Query ID. 
- 
  
    
      #report_data_end_time_ms  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ending time for the data that is shown in the report. 
- 
  
    
      #report_data_start_time_ms  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The starting time for the data that is shown in the report. 
- 
  
    
      #schedule  ⇒ Google::Apis::DoubleclickbidmanagerV1::QuerySchedule 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Information on how frequently and when to run a query. 
- 
  
    
      #timezone_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Canonical timezone code for report data time. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Query 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Query. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Query
Returns a new instance of Query
| 339 340 341 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 339 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
doubleclickbidmanager#query".
Corresponds to the JSON property kind
| 298 299 300 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 298 def kind @kind end | 
#metadata ⇒ Google::Apis::DoubleclickbidmanagerV1::QueryMetadata
Query metadata.
Corresponds to the JSON property metadata
| 303 304 305 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 303 def @metadata end | 
#params ⇒ Google::Apis::DoubleclickbidmanagerV1::Parameters
Parameters of a query or report.
Corresponds to the JSON property params
| 308 309 310 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 308 def params @params end | 
#query_id ⇒ Fixnum
Query ID.
Corresponds to the JSON property queryId
| 313 314 315 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 313 def query_id @query_id end | 
#report_data_end_time_ms ⇒ Fixnum
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
| 320 321 322 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 320 def report_data_end_time_ms @report_data_end_time_ms end | 
#report_data_start_time_ms ⇒ Fixnum
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
| 327 328 329 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 327 def report_data_start_time_ms @report_data_start_time_ms end | 
#schedule ⇒ Google::Apis::DoubleclickbidmanagerV1::QuerySchedule
Information on how frequently and when to run a query.
Corresponds to the JSON property schedule
| 332 333 334 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 332 def schedule @schedule end | 
#timezone_code ⇒ String
Canonical timezone code for report data time. Defaults to America/New_York.
Corresponds to the JSON property timezoneCode
| 337 338 339 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 337 def timezone_code @timezone_code end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 344 345 346 347 348 349 350 351 352 353 | # File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 344 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 |