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



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

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



257
258
259
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 257

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


262
263
264
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 262

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)


267
268
269
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 267

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


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

def metrics
  @metrics
end

#typeString

Report type. Corresponds to the JSON property type

Returns:

  • (String)


278
279
280
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 278

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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