Class: Google::Apis::DfareportingV2_1::ReportCompatibleFields

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/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::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReportCompatibleFields

Returns a new instance of ReportCompatibleFields.


9497
9498
9499
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9497

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

Instance Attribute Details

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

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


9472
9473
9474
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9472

def dimension_filters
  @dimension_filters
end

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

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


9478
9479
9480
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9478

def dimensions
  @dimensions
end

#kindString

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

Returns:

  • (String)

9483
9484
9485
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9483

def kind
  @kind
end

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

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


9489
9490
9491
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9489

def metrics
  @metrics
end

#pivoted_activity_metricsArray<Google::Apis::DfareportingV2_1::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


9495
9496
9497
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9495

def pivoted_activity_metrics
  @pivoted_activity_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


9502
9503
9504
9505
9506
9507
9508
# 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