Reference documentation and code samples for the Google Analytics Data V1beta Client class DimensionCompatibility.
The compatibility for a single dimension.
Generated from protobuf message google.analytics.data.v1beta.DimensionCompatibility
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ dimension_metadata |
Google\Analytics\Data\V1beta\DimensionMetadata
The dimension metadata contains the API name for this compatibility information. The dimension metadata also contains other helpful information like the UI name and description. |
↳ compatibility |
int
The compatibility of this dimension. If the compatibility is COMPATIBLE, this dimension can be successfully added to the report. |
getDimensionMetadata
The dimension metadata contains the API name for this compatibility information. The dimension metadata also contains other helpful information like the UI name and description.
Returns | |
---|---|
Type | Description |
Google\Analytics\Data\V1beta\DimensionMetadata|null |
hasDimensionMetadata
clearDimensionMetadata
setDimensionMetadata
The dimension metadata contains the API name for this compatibility information. The dimension metadata also contains other helpful information like the UI name and description.
Parameter | |
---|---|
Name | Description |
var |
Google\Analytics\Data\V1beta\DimensionMetadata
|
Returns | |
---|---|
Type | Description |
$this |
getCompatibility
The compatibility of this dimension. If the compatibility is COMPATIBLE, this dimension can be successfully added to the report.
Returns | |
---|---|
Type | Description |
int |
hasCompatibility
clearCompatibility
setCompatibility
The compatibility of this dimension. If the compatibility is COMPATIBLE, this dimension can be successfully added to the report.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |