[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["\u003cp\u003eRetrieves a single, specified CustomMetric using its resource name.\u003c/p\u003e\n"],["\u003cp\u003eRequires providing the CustomMetric's name in the request URL path.\u003c/p\u003e\n"],["\u003cp\u003eAn empty request body is necessary, and a successful response returns a CustomMetric object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is required with specific OAuth scopes for either read-only or edit access to Analytics data.\u003c/p\u003e\n"]]],["A `GET` request to `https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/customMetrics/*}` retrieves a single CustomMetric. The `name` path parameter, formatted as `properties/*/customMetrics/*`, is required. The request body must be empty. A successful response returns a `CustomMetric` instance. Authorization requires either `https://www.googleapis.com/auth/analytics.readonly` or `https://www.googleapis.com/auth/analytics.edit` OAuth scopes.\n"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLookup for a single CustomMetric.\n\nHTTP request\n\n`GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/customMetrics/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678 |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body\n\nIf successful, the response body contains an instance of [CustomMetric](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.customMetrics#CustomMetric).\n\nAuthorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/analytics.readonly`\n- `https://www.googleapis.com/auth/analytics.edit`"]]