class Google::Apis::AnalyticsdataV1beta::CheckCompatibilityRequest

The request for compatibility information for a report's dimensions and metrics. Check compatibility provides a preview of the compatibility of a report; fields shared with the `runReport` request should be the same values as in your `runReport` request.

Attributes

compatibility_filter[RW]

Filters the dimensions and metrics in the response to just this compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”` to only return compatible dimensions & metrics. Corresponds to the JSON property `compatibilityFilter` @return [String]

dimension_filter[RW]

To express dimension or metric filters. The fields in the same FilterExpression need to be either all dimensions or all metrics. Corresponds to the JSON property `dimensionFilter` @return [Google::Apis::AnalyticsdataV1beta::FilterExpression]

dimensions[RW]

The dimensions in this report. `dimensions` should be the same value as in your `runReport` request. Corresponds to the JSON property `dimensions` @return [Array<Google::Apis::AnalyticsdataV1beta::Dimension>]

metric_filter[RW]

To express dimension or metric filters. The fields in the same FilterExpression need to be either all dimensions or all metrics. Corresponds to the JSON property `metricFilter` @return [Google::Apis::AnalyticsdataV1beta::FilterExpression]

metrics[RW]

The metrics in this report. `metrics` should be the same value as in your ` runReport` request. Corresponds to the JSON property `metrics` @return [Array<Google::Apis::AnalyticsdataV1beta::Metric>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsdata_v1beta/classes.rb, line 207
def update!(**args)
  @compatibility_filter = args[:compatibility_filter] if args.key?(:compatibility_filter)
  @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @metric_filter = args[:metric_filter] if args.key?(:metric_filter)
  @metrics = args[:metrics] if args.key?(:metrics)
end