Class: Google::Apis::DfareportingV4::Report::PathCriteria

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PathCriteria

Returns a new instance of PathCriteria.



11070
11071
11072
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11070

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

Instance Attribute Details

#activity_filtersArray<Google::Apis::DfareportingV4::DimensionValue>

The list of 'dfa:activity' values to filter on. Corresponds to the JSON property activityFilters



11038
11039
11040
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11038

def activity_filters
  @activity_filters
end

#custom_channel_groupingGoogle::Apis::DfareportingV4::ChannelGrouping

Represents a DfaReporting channel grouping. Corresponds to the JSON property customChannelGrouping



11043
11044
11045
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11043

def custom_channel_grouping
  @custom_channel_grouping
end

#date_rangeGoogle::Apis::DfareportingV4::DateRange

Represents a date range. Corresponds to the JSON property dateRange



11048
11049
11050
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11048

def date_range
  @date_range
end

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

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



11053
11054
11055
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11053

def dimensions
  @dimensions
end

#floodlight_config_idGoogle::Apis::DfareportingV4::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property floodlightConfigId



11058
11059
11060
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11058

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


11063
11064
11065
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11063

def metric_names
  @metric_names
end

#path_filtersArray<Google::Apis::DfareportingV4::PathFilter>

Path Filters. Corresponds to the JSON property pathFilters



11068
11069
11070
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11068

def path_filters
  @path_filters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11075
11076
11077
11078
11079
11080
11081
11082
11083
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11075

def update!(**args)
  @activity_filters = args[:activity_filters] if args.key?(:activity_filters)
  @custom_channel_grouping = args[:custom_channel_grouping] if args.key?(:custom_channel_grouping)
  @date_range = args[:date_range] if args.key?(:date_range)
  @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)
  @path_filters = args[:path_filters] if args.key?(:path_filters)
end