Method: properties.channelGroups.patch
HTTP request
PATCH https://analyticsadmin.googleapis.com/v1alpha/{channelGroup.name=properties/*/channelGroups/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
channelGroup.name |
string
Output only. The resource name for this Channel Group resource. Format: properties/{property}/channelGroups/{channelGroup}
|
Query parameters
Parameters |
updateMask |
string (FieldMask format)
Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
Request body
The request body contains an instance of ChannelGroup
.
Response body
If successful, the response body contains an instance of ChannelGroup
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.edit
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-14 UTC.
[null,null,["Last updated 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"]]