Class: Google::Apis::DfareportingV4::CrossDimensionReachReportCompatibleFields

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

Represents fields that are compatible to be selected for a report of type " CROSS_DIMENSION_REACH".

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CrossDimensionReachReportCompatibleFields

Returns a new instance of CrossDimensionReachReportCompatibleFields.



5000
5001
5002
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5000

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

Instance Attribute Details

#breakdownArray<Google::Apis::DfareportingV4::Dimension>

Dimensions which are compatible to be selected in the "breakdown" section of the report. Corresponds to the JSON property breakdown



4974
4975
4976
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4974

def breakdown
  @breakdown
end

#dimension_filtersArray<Google::Apis::DfareportingV4::Dimension>

Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. Corresponds to the JSON property dimensionFilters



4980
4981
4982
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4980

def dimension_filters
  @dimension_filters
end

#kindString

The kind of resource this is, in this case dfareporting# crossDimensionReachReportCompatibleFields. Corresponds to the JSON property kind

Returns:

  • (String)


4986
4987
4988
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4986

def kind
  @kind
end

#metricsArray<Google::Apis::DfareportingV4::Metric>

Metrics which are compatible to be selected in the "metricNames" section of the report. Corresponds to the JSON property metrics



4992
4993
4994
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4992

def metrics
  @metrics
end

#overlap_metricsArray<Google::Apis::DfareportingV4::Metric>

Metrics which are compatible to be selected in the "overlapMetricNames" section of the report. Corresponds to the JSON property overlapMetrics



4998
4999
5000
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4998

def overlap_metrics
  @overlap_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5005
5006
5007
5008
5009
5010
5011
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5005

def update!(**args)
  @breakdown = args[:breakdown] if args.key?(:breakdown)
  @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters)
  @kind = args[:kind] if args.key?(:kind)
  @metrics = args[:metrics] if args.key?(:metrics)
  @overlap_metrics = args[:overlap_metrics] if args.key?(:overlap_metrics)
end