Class: Google::Apis::DfareportingV3_3::Report::CrossDimensionReachCriteria

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CrossDimensionReachCriteria

Returns a new instance of CrossDimensionReachCriteria.



9797
9798
9799
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9797

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

Instance Attribute Details

#breakdownArray<Google::Apis::DfareportingV3_3::SortedDimension>

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



9764
9765
9766
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9764

def breakdown
  @breakdown
end

#date_rangeGoogle::Apis::DfareportingV3_3::DateRange

Represents a date range. Corresponds to the JSON property dateRange



9769
9770
9771
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9769

def date_range
  @date_range
end

#dimensionString

The dimension option. Corresponds to the JSON property dimension

Returns:

  • (String)


9774
9775
9776
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9774

def dimension
  @dimension
end

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

The list of filters on which dimensions are filtered. Corresponds to the JSON property dimensionFilters



9779
9780
9781
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9779

def dimension_filters
  @dimension_filters
end

#metric_namesArray<String>

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

Returns:

  • (Array<String>)


9784
9785
9786
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9784

def metric_names
  @metric_names
end

#overlap_metric_namesArray<String>

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

Returns:

  • (Array<String>)


9789
9790
9791
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9789

def overlap_metric_names
  @overlap_metric_names
end

#pivotedBoolean Also known as: pivoted?

Whether the report is pivoted or not. Defaults to true. Corresponds to the JSON property pivoted

Returns:

  • (Boolean)


9794
9795
9796
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9794

def pivoted
  @pivoted
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9802
9803
9804
9805
9806
9807
9808
9809
9810
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9802

def update!(**args)
  @breakdown = args[:breakdown] if args.key?(:breakdown)
  @date_range = args[:date_range] if args.key?(:date_range)
  @dimension = args[:dimension] if args.key?(:dimension)
  @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters)
  @metric_names = args[:metric_names] if args.key?(:metric_names)
  @overlap_metric_names = args[:overlap_metric_names] if args.key?(:overlap_metric_names)
  @pivoted = args[:pivoted] if args.key?(:pivoted)
end