Class: Google::Apis::DfareportingV3_4::ReportCompatibleFields

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

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

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

Returns a new instance of ReportCompatibleFields.



10824
10825
10826
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10824

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

Instance Attribute Details

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

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



10799
10800
10801
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10799

def dimension_filters
  @dimension_filters
end

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

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



10805
10806
10807
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10805

def dimensions
  @dimensions
end

#kindString

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

Returns:

  • (String)


10810
10811
10812
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10810

def kind
  @kind
end

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

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



10816
10817
10818
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10816

def metrics
  @metrics
end

#pivoted_activity_metricsArray<Google::Apis::DfareportingV3_4::Metric>

Metrics which are compatible to be selected as activity metrics to pivot on in the "activities" section of the report. Corresponds to the JSON property pivotedActivityMetrics



10822
10823
10824
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10822

def pivoted_activity_metrics
  @pivoted_activity_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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