Class: Google::Apis::DfareportingV3_2::Report::FloodlightCriteria

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_2/classes.rb,
generated/google/apis/dfareporting_v3_2/representations.rb,
generated/google/apis/dfareporting_v3_2/representations.rb

Overview

The report criteria for a report of type "FLOODLIGHT".

Defined Under Namespace

Classes: ReportProperties

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

Returns a new instance of FloodlightCriteria



10198
10199
10200
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 10198

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

Instance Attribute Details

#custom_rich_media_eventsArray<Google::Apis::DfareportingV3_2::DimensionValue>

The list of custom rich media events to include. Corresponds to the JSON property customRichMediaEvents



10164
10165
10166
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 10164

def custom_rich_media_events
  @custom_rich_media_events
end

#date_rangeGoogle::Apis::DfareportingV3_2::DateRange

Represents a date range. Corresponds to the JSON property dateRange



10169
10170
10171
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 10169

def date_range
  @date_range
end

#dimension_filtersArray<Google::Apis::DfareportingV3_2::DimensionValue>

The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed. Corresponds to the JSON property dimensionFilters



10176
10177
10178
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 10176

def dimension_filters
  @dimension_filters
end

#dimensionsArray<Google::Apis::DfareportingV3_2::SortedDimension>

The list of dimensions the report should include. Corresponds to the JSON property dimensions



10181
10182
10183
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 10181

def dimensions
  @dimensions
end

#floodlight_config_idGoogle::Apis::DfareportingV3_2::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property floodlightConfigId



10186
10187
10188
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 10186

def floodlight_config_id
  @floodlight_config_id
end

#metric_namesArray<String>

The list of names of metrics the report should include. Corresponds to the JSON property metricNames

Returns:

  • (Array<String>)


10191
10192
10193
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 10191

def metric_names
  @metric_names
end

#report_propertiesGoogle::Apis::DfareportingV3_2::Report::FloodlightCriteria::ReportProperties

The properties of the report. Corresponds to the JSON property reportProperties



10196
10197
10198
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 10196

def report_properties
  @report_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10203
10204
10205
10206
10207
10208
10209
10210
10211
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 10203

def update!(**args)
  @custom_rich_media_events = args[:custom_rich_media_events] if args.key?(:custom_rich_media_events)
  @date_range = args[:date_range] if args.key?(:date_range)
  @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @floodlight_config_id = args[:floodlight_config_id] if args.key?(:floodlight_config_id)
  @metric_names = args[:metric_names] if args.key?(:metric_names)
  @report_properties = args[:report_properties] if args.key?(:report_properties)
end