Google Analytics Admin V1beta Client - Class ListCustomMetricsResponse (0.23.0)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ custom_metrics array<Google\Analytics\Admin\V1beta\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<Google\Analytics\Admin\V1beta\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