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



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

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



247
248
249
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 247

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


252
253
254
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 252

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)


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

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


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

def metrics
  @metrics
end

#typeString

Report type. Corresponds to the JSON property type

Returns:

  • (String)


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

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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