Google Analytics Admin V1beta Client - Class ListCustomMetricsResponse (0.28.1)

Reference documentation and code samples for the Google Analytics Admin V1beta Client class ListCustomMetricsResponse.

Response message for ListCustomMetrics RPC.

Generated from protobuf message google.analytics.admin.v1beta.ListCustomMetricsResponse

Namespace

Google \ Analytics \ Admin \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ custom_metricsarray<CustomMetric>

List of CustomMetrics.

↳ next_page_tokenstring

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

getCustomMetrics

List of CustomMetrics.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCustomMetrics

List of CustomMetrics.

Parameter
NameDescription
vararray<CustomMetric>
Returns
TypeDescription
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
TypeDescription
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this