GET /v1beta/properties/{propertiesId}/customMetrics/{customMetricsId}
Changed onLookup for a single CustomMetric.
Request
- Base URLhttps://analyticsadmin.googleapis.com
- Auth
- OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/analytics.editAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/analytics.edit
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/analytics.readonlyAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/analytics.readonly
Path parameters
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
Response
Successful response
A definition for a custom metric.
Optional. Description for this custom dimension. Max length of 150 characters.
Required. Display name for this custom metric as shown in the Analytics UI. Max length of 82 characters, alphanumeric plus space and underscore starting with a letter. Legacy system-generated display names may contain square brackets, but updates to this field will never permit square brackets.
Required. The type for the custom metric's value.
Identifier. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric}
Required. Immutable. Tagging name for this custom metric. If this is an event-scoped metric, then this is the event parameter name. May only contain alphanumeric and underscore charactes, starting with a letter. Max length of 40 characters for event-scoped metrics.
Optional. Types of restricted data that this metric may contain. Required for metrics with CURRENCY measurement unit. Must be empty for metrics with a non-CURRENCY measurement unit.
Required. Immutable. The scope of this custom metric.
Changes
- info
the security scope
https://www.googleapis.com/auth/analytics.editwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/analytics.editwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/analytics.readonlywas removed from the endpoint's security schemeOauth2
1 more change in this revision
- info