Method: properties.expandedDataSets.patch

  • The PATCH request updates an ExpandedDataSet on a property using a specific URL format.

  • The expandedDataSet.name path parameter specifies the resource name of the ExpandedDataSet to update.

  • The required updateMask query parameter indicates which fields of the ExpandedDataSet should be updated.

  • The request and response bodies both contain an instance of an ExpandedDataSet.

  • Updating an ExpandedDataSet requires the https://www.googleapis.com/auth/analytics.edit authorization scope.

Updates a ExpandedDataSet on a property.

HTTP request

PATCH https://analyticsadmin.googleapis.com/v1alpha/{expandedDataSet.name=properties/*/expandedDataSets/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
expandedDataSet.name

string

Output only. The resource name for this ExpandedDataSet resource. Format: properties/{property_id}/expandedDataSets/{expandedDataSet}

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 ExpandedDataSet.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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