class Google::Apis::DfareportingV2_1::ReportCompatibleFields

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

Attributes

dimension_filters[RW]

Dimensions which are compatible to be selected in the “dimensionFilters” section of the report. Corresponds to the JSON property `dimensionFilters` @return [Array<Google::Apis::DfareportingV2_1::Dimension>]

dimensions[RW]

Dimensions which are compatible to be selected in the “dimensions” section of the report. Corresponds to the JSON property `dimensions` @return [Array<Google::Apis::DfareportingV2_1::Dimension>]

kind[RW]

The kind of resource this is, in this case dfareporting#reportCompatibleFields. Corresponds to the JSON property `kind` @return [String]

metrics[RW]

Metrics which are compatible to be selected in the “metricNames” section of the report. Corresponds to the JSON property `metrics` @return [Array<Google::Apis::DfareportingV2_1::Metric>]

pivoted_activity_metrics[RW]

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` @return [Array<Google::Apis::DfareportingV2_1::Metric>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 9497
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_1/classes.rb, line 9502
def update!(**args)
  @dimension_filters = args[:dimension_filters] unless args[:dimension_filters].nil?
  @dimensions = args[:dimensions] unless args[:dimensions].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @metrics = args[:metrics] unless args[:metrics].nil?
  @pivoted_activity_metrics = args[:pivoted_activity_metrics] unless args[:pivoted_activity_metrics].nil?
end