Class: Google::Apis::DoubleclickbidmanagerV2::Parameters
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclickbidmanagerV2::Parameters
- 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
-
#filters ⇒ Array<Google::Apis::DoubleclickbidmanagerV2::FilterPair>
Filters used to match traffic data in your report.
-
#group_bys ⇒ Array<String>
Data is grouped by the filters listed in this field.
-
#metrics ⇒ Array<String>
Metrics to include as columns in your report.
-
#options ⇒ Google::Apis::DoubleclickbidmanagerV2::Options
Additional query options.
-
#type ⇒ String
Report type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Parameters
constructor
A new instance of Parameters.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#filters ⇒ Array<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_bys ⇒ Array<String>
Data is grouped by the filters listed in this field.
Corresponds to the JSON property groupBys
302 303 304 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 302 def group_bys @group_bys end |
#metrics ⇒ Array<String>
Metrics to include as columns in your report.
Corresponds to the JSON property metrics
307 308 309 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 307 def metrics @metrics end |
#options ⇒ Google::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 end |
#type ⇒ String
Report type.
Corresponds to the JSON property type
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 |