Class: Google::Apis::DfareportingV2_8::Report::CrossDimensionReachCriteria

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

Overview

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

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

Returns a new instance of CrossDimensionReachCriteria



9858
9859
9860
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 9858

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

Instance Attribute Details

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

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



9825
9826
9827
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 9825

def breakdown
  @breakdown
end

#date_rangeGoogle::Apis::DfareportingV2_8::DateRange

Represents a date range. Corresponds to the JSON property dateRange



9830
9831
9832
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 9830

def date_range
  @date_range
end

#dimensionString

The dimension option. Corresponds to the JSON property dimension

Returns:

  • (String)


9835
9836
9837
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 9835

def dimension
  @dimension
end

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

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



9840
9841
9842
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 9840

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


9845
9846
9847
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 9845

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


9850
9851
9852
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 9850

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)


9855
9856
9857
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 9855

def pivoted
  @pivoted
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9863
9864
9865
9866
9867
9868
9869
9870
9871
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 9863

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