Method: properties.dataStreams.updateEnhancedMeasurementSettings
このデータ ストリームの拡張測定の設定を更新します。これらの設定が有効になるには、ストリームで拡張測定が有効になっている必要があります。
HTTP リクエスト
PATCH https://analyticsadmin.googleapis.com/v1alpha/{enhancedMeasurementSettings.name=properties/*/dataStreams/*/enhancedMeasurementSettings}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
enhancedMeasurementSettings.name |
string
出力専用。拡張計測機能の設定のリソース名。形式: properties/{property_id}/dataStreams/{dataStream}/enhancedMeasurementSettings 例: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
|
クエリ パラメータ
パラメータ |
updateMask |
string (FieldMask format)
必須。更新するフィールドのリスト。フィールド名はスネークケースにする必要があります(例:"field_to_update")。省略されたフィールドは更新されません。エンティティ全体を置き換えるには、文字列「*」を含む 1 つのパスを使用して、すべてのフィールドを照合します。 完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo" 。
|
リクエストの本文
リクエストの本文には EnhancedMeasurementSettings
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には EnhancedMeasurementSettings
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/analytics.edit
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-14 UTC。
[null,null,["最終更新日 2025-01-14 UTC。"],[[["Updates the enhanced measurement settings for a given data stream within a Google Analytics property."],["Requires the `analytics.edit` OAuth scope for authorization."],["Utilizes an HTTP PATCH request with path and query parameters to identify the data stream and specify the updated fields."],["Includes a request body containing the desired EnhancedMeasurementSettings and responds with the updated settings on success."]]],["This document details how to update enhanced measurement settings for a data stream via a PATCH request. Key actions include using the specified URL with gRPC Transcoding syntax, providing the `enhancedMeasurementSettings.name` in the path, and utilizing the `updateMask` query parameter to define fields for modification. The request body contains `EnhancedMeasurementSettings` and a successful response will also include an instance of `EnhancedMeasurementSettings`. Access requires the `analytics.edit` authorization scope.\n"]]