Class: Google::Apis::DfareportingV2_1::Report::FloodlightCriteria

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

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FloodlightCriteria

Returns a new instance of FloodlightCriteria



9123
9124
9125
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9123

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

Instance Attribute Details

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

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



9089
9090
9091
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9089

def custom_rich_media_events
  @custom_rich_media_events
end

#date_rangeGoogle::Apis::DfareportingV2_1::DateRange

Represents a date range. Corresponds to the JSON property dateRange



9094
9095
9096
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9094

def date_range
  @date_range
end

#dimension_filtersArray<Google::Apis::DfareportingV2_1::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



9101
9102
9103
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9101

def dimension_filters
  @dimension_filters
end

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

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



9106
9107
9108
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9106

def dimensions
  @dimensions
end

#floodlight_config_idGoogle::Apis::DfareportingV2_1::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property floodlightConfigId



9111
9112
9113
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9111

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


9116
9117
9118
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9116

def metric_names
  @metric_names
end

#report_propertiesGoogle::Apis::DfareportingV2_1::Report::FloodlightCriteria::ReportProperties

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



9121
9122
9123
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9121

def report_properties
  @report_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9128
9129
9130
9131
9132
9133
9134
9135
9136
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9128

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