Method: properties.channelGroups.patch
HTTP リクエスト
PATCH https://analyticsadmin.googleapis.com/v1alpha/{channelGroup.name=properties/*/channelGroups/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
channelGroup.name |
string
出力専用。このチャネル グループ リソースのリソース名。形式: properties/{property}/channelGroups/{channelGroup}
|
クエリ パラメータ
パラメータ |
updateMask |
string (FieldMask format)
必須。更新するフィールドのリスト。フィールド名はスネークケースにする必要があります(例:"field_to_update")。省略されたフィールドは更新されません。エンティティ全体を置き換えるには、文字列「*」を含む 1 つのパスを使用して、すべてのフィールドを照合します。 完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo" 。
|
リクエストの本文
リクエストの本文には ChannelGroup
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には ChannelGroup
のインスタンスが含まれます。
認可スコープ
次の 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 API endpoint updates a ChannelGroup resource using a PATCH request to the specified URL with the necessary parameters."],["The request requires a `updateMask` query parameter to specify fields to be updated and a request body containing a `ChannelGroup` object with the desired changes."],["Successful responses will contain the updated `ChannelGroup` object in the response body."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope."],["The URL path includes the ChannelGroup resource name, and uses gRPC Transcoding syntax."]]],["This document outlines the process for updating a ChannelGroup via a PATCH request to the Google Analytics Admin API. The core actions involve using a specific URL structure that includes the channel group's name. It requires a `FieldMask` parameter specifying which fields to update. The request body and successful response both use the `ChannelGroup` resource. The process requires `analytics.edit` authorization. This process utilizes HTTP requests, path/query parameters, and request/response bodies.\n"]]