Class: Google::Apis::DoubleclickbidmanagerV2::Parameters

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/doubleclickbidmanager_v2/classes.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb

Overview

Parameters of a query or report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Parameters

Returns a new instance of Parameters.



319
320
321
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 319

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#filtersArray<Google::Apis::DoubleclickbidmanagerV2::FilterPair>

Filters used to match traffic data in your report. Corresponds to the JSON property filters



297
298
299
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 297

def filters
  @filters
end

#group_bysArray<String>

Data is grouped by the filters listed in this field. Corresponds to the JSON property groupBys

Returns:

  • (Array<String>)


302
303
304
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 302

def group_bys
  @group_bys
end

#metricsArray<String>

Metrics to include as columns in your report. Corresponds to the JSON property metrics

Returns:

  • (Array<String>)


307
308
309
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 307

def metrics
  @metrics
end

#optionsGoogle::Apis::DoubleclickbidmanagerV2::Options

Additional query options. Corresponds to the JSON property options



312
313
314
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 312

def options
  @options
end

#typeString

Report type. Corresponds to the JSON property type

Returns:

  • (String)


317
318
319
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 317

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



324
325
326
327
328
329
330
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 324

def update!(**args)
  @filters = args[:filters] if args.key?(:filters)
  @group_bys = args[:group_bys] if args.key?(:group_bys)
  @metrics = args[:metrics] if args.key?(:metrics)
  @options = args[:options] if args.key?(:options)
  @type = args[:type] if args.key?(:type)
end