Class: Google::Apis::DfareportingV3_4::Report::CrossDimensionReachCriteria

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 "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.



10481
10482
10483
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10481

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

Instance Attribute Details

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

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



10448
10449
10450
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10448

def breakdown
  @breakdown
end

#date_rangeGoogle::Apis::DfareportingV3_4::DateRange

Represents a date range. Corresponds to the JSON property dateRange



10453
10454
10455
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10453

def date_range
  @date_range
end

#dimensionString

The dimension option. Corresponds to the JSON property dimension

Returns:

  • (String)


10458
10459
10460
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10458

def dimension
  @dimension
end

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

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



10463
10464
10465
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10463

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


10468
10469
10470
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10468

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


10473
10474
10475
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10473

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)


10478
10479
10480
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10478

def pivoted
  @pivoted
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10486
10487
10488
10489
10490
10491
10492
10493
10494
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10486

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