Class PropertiesResource.CheckCompatibilityRequest
This compatibility method lists dimensions and metrics that can be added to a report request and maintain compatibility. This method fails if the request's dimensions and metrics are incompatible. In Google Analytics, reports fail if they request incompatible dimensions and/or metrics; in that case, you will need to remove dimensions and/or metrics from the incompatible report until the report is compatible. The Realtime and Core reports have different compatibility rules. This method checks compatibility for Core reports.
Inheritance
Inherited Members
Namespace: Google.Apis.AnalyticsData.v1beta
Assembly: Google.Apis.AnalyticsData.v1beta.dll
Syntax
public class PropertiesResource.CheckCompatibilityRequest : AnalyticsDataBaseServiceRequest<CheckCompatibilityResponse>, IClientServiceRequest<CheckCompatibilityResponse>, IClientServiceRequest
Constructors
CheckCompatibilityRequest(IClientService, CheckCompatibilityRequest, string)
Constructs a new CheckCompatibility request.
Declaration
public CheckCompatibilityRequest(IClientService service, CheckCompatibilityRequest body, string property)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CheckCompatibilityRequest | body | |
string | property |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
Declaration
[RequestParameter("property", RequestParameterType.Path)]
public virtual string Property { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes CheckCompatibility parameter list.
Declaration
protected override void InitParameters()