Google Analytics Admin V1beta Client - Class ListCustomMetricsResponse (0.19.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCustomMetrics

List of CustomMetrics.

Parameter
NameDescription
var array<Google\Analytics\Admin\V1beta\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
var string
Returns
TypeDescription
$this