Show / Hide Table of Contents

Class 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.

Inheritance
System.Object
CheckCompatibilityRequest
Implements
Google.Protobuf.IMessage<CheckCompatibilityRequest>
System.IEquatable<CheckCompatibilityRequest>
Google.Protobuf.IDeepCloneable<CheckCompatibilityRequest>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage
Inherited Members
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
Namespace: Google.Analytics.Data.V1Beta
Assembly: Google.Analytics.Data.V1Beta.dll
Syntax
public sealed class CheckCompatibilityRequest : IMessage<CheckCompatibilityRequest>, IEquatable<CheckCompatibilityRequest>, IDeepCloneable<CheckCompatibilityRequest>, IBufferMessage, IMessage

Constructors

CheckCompatibilityRequest()

Declaration
public CheckCompatibilityRequest()

CheckCompatibilityRequest(CheckCompatibilityRequest)

Declaration
public CheckCompatibilityRequest(CheckCompatibilityRequest other)
Parameters
Type Name Description
CheckCompatibilityRequest other

Properties

CompatibilityFilter

Filters the dimensions and metrics in the response to just this compatibility. Commonly used as ”compatibilityFilter”: “COMPATIBLE” to only return compatible dimensions & metrics.

Declaration
public Compatibility CompatibilityFilter { get; set; }
Property Value
Type Description
Compatibility

DimensionFilter

The filter clause of dimensions. dimensionFilter should be the same value as in your runReport request.

Declaration
public FilterExpression DimensionFilter { get; set; }
Property Value
Type Description
FilterExpression

Dimensions

The dimensions in this report. dimensions should be the same value as in your runReport request.

Declaration
public RepeatedField<Dimension> Dimensions { get; }
Property Value
Type Description
Google.Protobuf.Collections.RepeatedField<Dimension>

MetricFilter

The filter clause of metrics. metricFilter should be the same value as in your runReport request

Declaration
public FilterExpression MetricFilter { get; set; }
Property Value
Type Description
FilterExpression

Metrics

The metrics in this report. metrics should be the same value as in your runReport request.

Declaration
public RepeatedField<Metric> Metrics { get; }
Property Value
Type Description
Google.Protobuf.Collections.RepeatedField<Metric>

Property

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.

Declaration
public string Property { get; set; }
Property Value
Type Description
System.String
In This Article
Back to top