Class: Google::Apis::DfareportingV2_1::ReportCompatibleFields
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::ReportCompatibleFields
- 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
-
#dimension_filters ⇒ Array<Google::Apis::DfareportingV2_1::Dimension>
Dimensions which are compatible to be selected in the "dimensionFilters" section of the report.
-
#dimensions ⇒ Array<Google::Apis::DfareportingV2_1::Dimension>
Dimensions which are compatible to be selected in the "dimensions" section of the report.
-
#kind ⇒ String
The kind of resource this is, in this case dfareporting#reportCompatibleFields.
-
#metrics ⇒ Array<Google::Apis::DfareportingV2_1::Metric>
Metrics which are compatible to be selected in the "metricNames" section of the report.
-
#pivoted_activity_metrics ⇒ Array<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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportCompatibleFields
constructor
A new instance of ReportCompatibleFields.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
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_filters ⇒ Array<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 |
#dimensions ⇒ Array<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 |
#kind ⇒ String
The kind of resource this is, in this case dfareporting#reportCompatibleFields.
Corresponds to the JSON property kind
9483 9484 9485 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9483 def kind @kind end |
#metrics ⇒ Array<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_metrics ⇒ Array<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 |