Google Analytics Data V1beta API - Class Google::Analytics::Data::V1beta::CheckCompatibilityRequest (v0.4.3)

Reference documentation and code samples for the Google Analytics Data V1beta API class Google::Analytics::Data::V1beta::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#compatibility_filter

defcompatibility_filter()->::Google::Analytics::Data::V1beta::Compatibility
Returns

#compatibility_filter=

defcompatibility_filter=(value)->::Google::Analytics::Data::V1beta::Compatibility
Parameter
  • value (::Google::Analytics::Data::V1beta::Compatibility) — Filters the dimensions and metrics in the response to just this compatibility. Commonly used as "compatibilityFilter": "COMPATIBLE" to only return compatible dimensions & metrics.
Returns

#dimension_filter

defdimension_filter()->::Google::Analytics::Data::V1beta::FilterExpression
Returns

#dimension_filter=

defdimension_filter=(value)->::Google::Analytics::Data::V1beta::FilterExpression
Parameter
Returns

#dimensions

defdimensions()->::Array<::Google::Analytics::Data::V1beta::Dimension>
Returns

#dimensions=

defdimensions=(value)->::Array<::Google::Analytics::Data::V1beta::Dimension>
Parameter
Returns

#metric_filter

defmetric_filter()->::Google::Analytics::Data::V1beta::FilterExpression
Returns

#metric_filter=

defmetric_filter=(value)->::Google::Analytics::Data::V1beta::FilterExpression
Parameter
Returns

#metrics

defmetrics()->::Array<::Google::Analytics::Data::V1beta::Metric>
Returns

#metrics=

defmetrics=(value)->::Array<::Google::Analytics::Data::V1beta::Metric>
Parameter
Returns

#property

defproperty()->::String
Returns
  • (::String) — A Google Analytics GA4 property identifier whose events are tracked. To learn more, see where to find your Property ID. property should be the same value as in your runReport request.

    Example: properties/1234

    Set the Property ID to 0 for compatibility checking on dimensions and metrics common to all properties. In this special mode, this method will not return custom dimensions and metrics.

#property=

defproperty=(value)->::String
Parameter
  • value (::String) — A Google Analytics GA4 property identifier whose events are tracked. To learn more, see where to find your Property ID. property should be the same value as in your runReport request.

    Example: properties/1234

    Set the Property ID to 0 for compatibility checking on dimensions and metrics common to all properties. In this special mode, this method will not return custom dimensions and metrics.

Returns
  • (::String) — A Google Analytics GA4 property identifier whose events are tracked. To learn more, see where to find your Property ID. property should be the same value as in your runReport request.

    Example: properties/1234

    Set the Property ID to 0 for compatibility checking on dimensions and metrics common to all properties. In this special mode, this method will not return custom dimensions and metrics.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.