Class: Google::Apis::DoubleclickbidmanagerV1::Parameters

Inherits:
Object
  • Object
show all
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

Parameters of a query or report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Parameters

Returns a new instance of Parameters



287
288
289
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 287

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

Instance Attribute Details

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

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



264
265
266
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 264

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>)


269
270
271
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 269

def group_bys
  @group_bys
end

#include_invite_dataBoolean Also known as: include_invite_data?

Whether to include data from Invite Media. Corresponds to the JSON property includeInviteData

Returns:

  • (Boolean)


274
275
276
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 274

def include_invite_data
  @include_invite_data
end

#metricsArray<String>

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

Returns:

  • (Array<String>)


280
281
282
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 280

def metrics
  @metrics
end

#typeString

Report type. Corresponds to the JSON property type

Returns:

  • (String)


285
286
287
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 285

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



292
293
294
295
296
297
298
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 292

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