analyticsadmin.properties.patch
Update Google Analytics Admin property details with a PATCH request, specifying the property name, fields to change via updateMask, and the JSON property body.
Instructions
Updates 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 GoogleAnalyticsAdminV1betaProperty object accepting account, createTime, currencyCode, deleteTime, displayName, expireTime, industryCategory, name and 5 more fields; pass it via params or whole via body_file Siblings over the same resource: acknowledgeUserDataCollection, create, delete, get, getDataRetentionSettings, list, runAccessReport, updateDataRetentionSettings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | [URL path segment] Identifier. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" | |
| 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 GoogleAnalyticsAdminV1betaProperty object. | |
| updateMask | No | [query parameter] 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 enti | |
| request_body | No | Request body of type GoogleAnalyticsAdminV1betaProperty: pass it via `params` (merged into the built body) or whole via `body_file`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| parent | No | ||
| account | No | ||
| timeZone | No | ||
| createTime | No | ||
| deleteTime | No | ||
| expireTime | No | ||
| updateTime | No | ||
| displayName | No | ||
| currencyCode | No | ||
| propertyType | No | ||
| serviceLevel | No | ||
| industryCategory | No |