Method: brands.agents.integrations.patch

  • Updates to an integration should be done using the PATCH HTTP request to the specified URL.

  • Adding a DialogflowDocument requires specifying only the dialogflowEsIntegration.dialogflow_knowledge_bases flag.

  • The integration.name path parameter is a read-only, platform-defined unique identifier for the integration.

  • The updateMask query parameter is required and specifies the fields to be updated using FieldMask format.

  • Both the request and successful response bodies contain an instance of the Integration resource.

Update an integration.

For adding a DialogflowDocument, only the "dialogflowEsIntegration.dialogflow_knowledge_bases" flag should be specified. Adding a document should be an isolated update.

HTTP request

PATCH https://businesscommunications.googleapis.com/v1/{integration.name=brands/*/agents/*/integrations/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
integration.name

string

Output only. The unique identifier of the integration. Read-only. Defined by the platform.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

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

Response body

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