Method: properties.customDimensions.get
Busca uma única CustomDimension.
Solicitação HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/customDimensions/*}
O URL usa a sintaxe de transcodificação gRPC.
Parâmetros de caminho
Parâmetros |
name |
string
Obrigatório. O nome da CustomDimension a ser obtida. Exemplo de formato: Properties/1234/customDimensões/5678
|
Corpo da solicitação
O corpo da solicitação precisa estar vazio.
Corpo da resposta
Se a solicitação for bem-sucedida, o corpo da resposta conterá uma instância de CustomDimension
.
Escopos de autorização
Requer um dos seguintes escopos de OAuth:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-05-06 UTC.
[null,null,["Última atualização 2024-05-06 UTC."],[[["This page details how to use the Google Analytics Admin API to look up a single custom dimension."],["Requests must use the `GET` method and provide the `name` of the custom dimension in the URL path."],["No request body is needed, and a successful response returns a `CustomDimension` object."],["Authorization is required with either `analytics.readonly` or `analytics.edit` scopes."]]],["To retrieve a CustomDimension, use a `GET` request to the specified URL, including the dimension's `name` in the path. The `name` parameter is required and follows the format `properties/*/customDimensions/*`. The request body should be empty. A successful response returns a `CustomDimension` instance. This action requires authorization via either the `analytics.readonly` or `analytics.edit` OAuth scopes. The URL format uses gRPC Transcoding syntax.\n"]]