Method: properties.calculatedMetrics.get
1 つの CalculatedMetric のルックアップ。
HTTP リクエスト
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/calculatedMetrics/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。取得する CalculatedMetric の名前。形式: properties/{property_id}/calculatedMetrics/{calculatedMetricId} 例: properties/1234/calculatedMetrics/Metric01
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には CalculatedMetric
のインスタンスが含まれます。
承認スコープ
次の OAuth スコープのいずれかが必要です。
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-05-06 UTC。
[null,null,["最終更新日 2024-05-06 UTC。"],[[["This document outlines how to retrieve a single CalculatedMetric using the Google Analytics Admin API."],["The request involves sending an HTTP GET request to the specified URL with necessary path parameters."],["No request body is needed for the lookup."],["Successful requests will return a CalculatedMetric object in the response body."],["Proper authorization with the specified scopes is required to access this functionality."]]],["This document outlines how to retrieve a single CalculatedMetric using the Google Analytics Admin API. The `GET` request targets a specific URL structure: `https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/calculatedMetrics/*}`. The `name` path parameter, which contains the property and metric IDs, is mandatory. The request body must be empty. Upon success, the API returns a `CalculatedMetric` instance. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes.\n"]]