Class: Google::Apis::DoubleclickbidmanagerV2::Parameters

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Parameters

Returns a new instance of Parameters.



247
248
249
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 247

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

Instance Attribute Details

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

Filters to limit the scope of reported data. Corresponds to the JSON property filters



222
223
224
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 222

def filters
  @filters
end

#group_bysArray<String>

Dimensions by which to segment and group the data. Defined by Filter values. Corresponds to the JSON property groupBys

Returns:

  • (Array<String>)


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

def group_bys
  @group_bys
end

#metricsArray<String>

Metrics to define the data populating the report. Defined by Metric values. Corresponds to the JSON property metrics

Returns:

  • (Array<String>)


234
235
236
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 234

def metrics
  @metrics
end

#optionsGoogle::Apis::DoubleclickbidmanagerV2::Options

Report parameter options. Corresponds to the JSON property options



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

def options
  @options
end

#typeString

The type of the report. The type of the report determines the dimesions, filters, and metrics that can be used. Corresponds to the JSON property type

Returns:

  • (String)


245
246
247
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 245

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



252
253
254
255
256
257
258
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 252

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