Method: projects.locations.collections.engines.analytics.updateConfig

Updates the AnalyticsConfig for analytics.

HTTP request

PATCH https://discoveryengine.googleapis.com/v1alpha/{analyticsConfig.name=projects/*/locations/*/collections/*/engines/*/analytics/config}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
analyticsConfig.name

string

Required. The resource name of the analytics customer config. Format: projects/{project}/locations/{location}/collections/{collectionId}/engines/{engineId}/analytics/config

Query parameters

Parameters
updateMask

string (FieldMask format)

The list of fields of AnalyticsConfig to update. If not specified, the method will perform a full replacement.

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

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/discoveryengine.readwrite

For more information, see the Authentication Overview.