Class: Google::Apis::AnalyticsdataV1beta::CheckCompatibilityRequest
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::CheckCompatibilityRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsdata_v1beta/classes.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#compatibility_filter ⇒ String
Filters the dimensions and metrics in the response to just this compatibility.
-
#dimension_filter ⇒ Google::Apis::AnalyticsdataV1beta::FilterExpression
To express dimension or metric filters.
-
#dimensions ⇒ Array<Google::Apis::AnalyticsdataV1beta::Dimension>
The dimensions in this report.
-
#metric_filter ⇒ Google::Apis::AnalyticsdataV1beta::FilterExpression
To express dimension or metric filters.
-
#metrics ⇒ Array<Google::Apis::AnalyticsdataV1beta::Metric>
The metrics in this report.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckCompatibilityRequest
constructor
A new instance of CheckCompatibilityRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CheckCompatibilityRequest
Returns a new instance of CheckCompatibilityRequest.
326 327 328 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 326 def initialize(**args) update!(**args) end |
Instance Attribute Details
#compatibility_filter ⇒ String
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
300 301 302 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 300 def compatibility_filter @compatibility_filter end |
#dimension_filter ⇒ Google::Apis::AnalyticsdataV1beta::FilterExpression
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
306 307 308 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 306 def dimension_filter @dimension_filter end |
#dimensions ⇒ Array<Google::Apis::AnalyticsdataV1beta::Dimension>
The dimensions in this report. dimensions
should be the same value as in
your runReport
request.
Corresponds to the JSON property dimensions
312 313 314 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 312 def dimensions @dimensions end |
#metric_filter ⇒ Google::Apis::AnalyticsdataV1beta::FilterExpression
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
318 319 320 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 318 def metric_filter @metric_filter end |
#metrics ⇒ Array<Google::Apis::AnalyticsdataV1beta::Metric>
The metrics in this report. metrics
should be the same value as in your
runReport
request.
Corresponds to the JSON property metrics
324 325 326 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 324 def metrics @metrics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
331 332 333 334 335 336 337 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 331 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 |