Class: Google::Apis::DfareportingV3_4::Report::PathCriteria

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



10864
10865
10866
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10864

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

Instance Attribute Details

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

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



10832
10833
10834
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10832

def activity_filters
  @activity_filters
end

#custom_channel_groupingGoogle::Apis::DfareportingV3_4::ChannelGrouping

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



10837
10838
10839
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10837

def custom_channel_grouping
  @custom_channel_grouping
end

#date_rangeGoogle::Apis::DfareportingV3_4::DateRange

Represents a date range. Corresponds to the JSON property dateRange



10842
10843
10844
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10842

def date_range
  @date_range
end

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

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



10847
10848
10849
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10847

def dimensions
  @dimensions
end

#floodlight_config_idGoogle::Apis::DfareportingV3_4::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property floodlightConfigId



10852
10853
10854
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10852

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


10857
10858
10859
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10857

def metric_names
  @metric_names
end

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

Path Filters. Corresponds to the JSON property pathFilters



10862
10863
10864
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10862

def path_filters
  @path_filters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10869
10870
10871
10872
10873
10874
10875
10876
10877
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10869

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