Method: properties.patch
HTTP リクエスト
PATCH https://analyticsadmin.googleapis.com/v1beta/{property.name=properties/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
property.name |
string
出力専用。このプロパティのリソース名。形式: properties/{property_id} 例: "properties/1000"
|
クエリ パラメータ
パラメータ |
updateMask |
string (FieldMask format)
必須。更新するフィールドのリスト。フィールド名はスネークケースにする必要があります(例:"field_to_update")。省略されたフィールドは更新されません。エンティティ全体を置き換えるには、文字列「*」を含む 1 つのパスを使用して、すべてのフィールドを照合します。 完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo" 。
|
リクエストの本文
リクエストの本文には Property
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には Property
のインスタンスが含まれます。
認可スコープ
次の 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 method updates a specified Google Analytics 4 property using the provided parameters."],["It utilizes an HTTP PATCH request to the designated endpoint with property name as a path parameter."],["The request body should contain the updated Property object and a query parameter 'updateMask' specifying the fields to be updated."],["Successful execution results in a response body containing the updated Property object."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope."]]],["This outlines how to update a property using a PATCH request to `https://analyticsadmin.googleapis.com/v1beta/{property.name=properties/*}`. The `property.name` path parameter specifies the target property, while the `updateMask` query parameter (using FieldMask format) dictates which fields to modify. The request body contains the updated `Property` details, and a successful response returns the updated `Property`. This operation requires the `analytics.edit` authorization scope.\n"]]