Google Analytics Data V1beta Client - Class Metadata (0.10.1)

Reference documentation and code samples for the Google Analytics Data V1beta Client class Metadata.

The dimensions and metrics currently accepted in reporting methods.

Generated from protobuf message google.analytics.data.v1beta.Metadata

Namespace

Google \ Analytics \ Data \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
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.

getName

Resource name of this metadata.

Returns
TypeDescription
string

setName

Resource name of this metadata.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDimensions

The dimension descriptions.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDimensions

The dimension descriptions.

Parameter
NameDescription
var array<Google\Analytics\Data\V1beta\DimensionMetadata>
Returns
TypeDescription
$this

getMetrics

The metric descriptions.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMetrics

The metric descriptions.

Parameter
NameDescription
var array<Google\Analytics\Data\V1beta\MetricMetadata>
Returns
TypeDescription
$this