Google Analytics Admin V1alpha Client - Class ListCustomMetricsResponse (0.24.1)

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

Response message for ListCustomMetrics RPC.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ custom_metrics array<CustomMetric>

List of CustomMetrics.

↳ next_page_token string

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
Type Description
Google\Protobuf\Internal\RepeatedField

setCustomMetrics

List of CustomMetrics.

Parameter
Name Description
var array<CustomMetric>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this