Method: properties.dataStreams.measurementProtocolSecrets.patch
Measurement Protocol シークレットを更新します。
HTTP リクエスト
PATCH https://analyticsadmin.googleapis.com/v1alpha/{measurementProtocolSecret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
measurementProtocolSecret.name |
string
出力専用。このシークレットのリソース名。このシークレットは、任意のタイプのストリームの子にできます。Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
クエリ パラメータ
パラメータ |
updateMask |
string (FieldMask format)
必須。更新するフィールドのリスト。省略されたフィールドは更新されません。 完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo" 。
|
リクエストの本文
リクエストの本文には MeasurementProtocolSecret
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には MeasurementProtocolSecret
のインスタンスが含まれます。
認可スコープ
次の 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。"],[[["This documentation outlines how to update a measurement protocol secret using a PATCH request to a specific endpoint."],["It specifies the required path and query parameters, including `measurementProtocolSecret.name` and `updateMask`, respectively."],["The request body should contain a `MeasurementProtocolSecret` object to define the changes, and the response, upon success, will also contain a `MeasurementProtocolSecret` object reflecting the updates."],["To authorize this request, you'll need the `https://www.googleapis.com/auth/analytics.edit` OAuth scope."]]],[]]