analyticsadmin.properties.customDimensions.patch
Updates a Google Analytics property's custom dimension via PATCH using an update mask, with optional dry-run preview and JSON response.
Instructions
Updates a CustomDimension on a property [HTTP PATCH] — updates the resource; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON GoogleAnalyticsAdminV1betaCustomDimension object accepting description, disallowAdsPersonalization, displayName, name, parameterName, scope; pass it via params or whole via body_file Siblings over the same resource: archive, create, get, list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | [URL path segment] Identifier. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} | |
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON GoogleAnalyticsAdminV1betaCustomDimension object. | |
| updateMask | No | [query parameter] Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fiel | |
| request_body | No | Request body of type GoogleAnalyticsAdminV1betaCustomDimension: pass it via `params` (merged into the built body) or whole via `body_file`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| scope | No | ||
| description | No | ||
| displayName | No | ||
| parameterName | No | ||
| disallowAdsPersonalization | No |