Method: projects.locations.collections.dataStores.updateCompletionConfig

Updates the CompletionConfigs.

HTTP request

PATCH https://discoveryengine.googleapis.com/v1alpha/{completionConfig.name=projects/*/locations/*/collections/*/dataStores/*/completionConfig}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
completionConfig.name

string

Required. Immutable. Fully qualified name projects/*/locations/*/dataStores/*/completionConfig projects/*/locations/*/collections/*/dataStores/*/completionConfig projects/*/locations/*/collections/*/engines/*/completionConfig

Query parameters

Parameters
updateMask

string (FieldMask format)

Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields:

If not set, all supported fields are updated.

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

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • discoveryengine.completionConfigs.update

For more information, see the IAM documentation.