Reference documentation and code samples for the Google Analytics Data V1beta Client class Metadata.
The dimensions, metrics and comparisons currently accepted in reporting methods.
Generated from protobuf message google.analytics.data.v1beta.Metadata
Namespace
Google \ Analytics \ Data \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Resource name of this metadata. |
↳ dimensions |
array<Google\Analytics\Data\V1beta\DimensionMetadata>
The dimension descriptions. |
↳ metrics |
array<Google\Analytics\Data\V1beta\MetricMetadata>
The metric descriptions. |
↳ comparisons |
array<Google\Analytics\Data\V1beta\ComparisonMetadata>
The comparison descriptions. |
getName
Resource name of this metadata.
Returns | |
---|---|
Type | Description |
string |
setName
Resource name of this metadata.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDimensions
The dimension descriptions.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDimensions
The dimension descriptions.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Analytics\Data\V1beta\DimensionMetadata>
|
Returns | |
---|---|
Type | Description |
$this |
getMetrics
The metric descriptions.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setMetrics
The metric descriptions.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Analytics\Data\V1beta\MetricMetadata>
|
Returns | |
---|---|
Type | Description |
$this |
getComparisons
The comparison descriptions.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setComparisons
The comparison descriptions.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Analytics\Data\V1beta\ComparisonMetadata>
|
Returns | |
---|---|
Type | Description |
$this |