Method: properties.reportingDataAnnotations.patch

Updates a Reporting Data Annotation.

HTTP request

PATCH https://analyticsadmin.googleapis.com/v1alpha/{reportingDataAnnotation.name=properties/*/reportingDataAnnotations/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
reportingDataAnnotation.name

string

Required. Identifier. Resource name of this Reporting Data Annotation. Format: 'properties/{property_id}/reportingDataAnnotations/{reportingDataAnnotation}' Format: 'properties/123/reportingDataAnnotations/456'

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The list of fields to update. Field names must be in snake case (for example, "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 ReportingDataAnnotation.

Response body

If successful, the response body contains an instance of ReportingDataAnnotation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/analytics.edit