Class: Google::Apis::DoubleclickbidmanagerV1_1::Parameters

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/doubleclickbidmanager_v1_1/classes.rb,
lib/google/apis/doubleclickbidmanager_v1_1/representations.rb,
lib/google/apis/doubleclickbidmanager_v1_1/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.



251
252
253
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 251

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

Instance Attribute Details

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

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



223
224
225
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 223

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


228
229
230
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 228

def group_bys
  @group_bys
end

#include_invite_dataBoolean Also known as: include_invite_data?

Deprecated. This field is no longer in use. Corresponds to the JSON property includeInviteData

Returns:

  • (Boolean)


233
234
235
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 233

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


239
240
241
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 239

def metrics
  @metrics
end

#optionsGoogle::Apis::DoubleclickbidmanagerV1_1::Options

Additional query options. Corresponds to the JSON property options



244
245
246
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 244

def options
  @options
end

#typeString

Report type. Corresponds to the JSON property type

Returns:

  • (String)


249
250
251
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 249

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



256
257
258
259
260
261
262
263
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 256

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)
  @options = args[:options] if args.key?(:options)
  @type = args[:type] if args.key?(:type)
end