Method: projects.locations.testCorrelationConfig

Tests correlation config on a conversation.

HTTP request

POST https://{endpoint}/v1/{location=projects/*/locations/*}:testCorrelationConfig

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
location

string

Required. The location to test correlation config. Format: projects/{project}/locations/{location}

Request body

The request body contains data with the following structure:

JSON representation
{
  "correlationConfig": {
    object (CorrelationConfig)
  },
  "maxSampleCount": integer,

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "filter": string,
  "conversations": {
    object (Conversations)
  }
  // End of mutually exclusive fields.
}
Fields
correlationConfig

object (CorrelationConfig)

Required. The correlation config to test.

maxSampleCount

integer

Optional. The maximum number of conversations to sample when using the filter. If not set, defaults to 1000. Values greater than 1000 are coerced to 1000. This field is ignored if conversations is provided.

Data to test the correlation config against. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
filter

string

Optional. Filter to select conversations to test correlation against. Conversations matching this filter will be sampled based on start time. The most recent maxSampleCount conversations will be selected. If no conversations match the filter, the request will fail with an INVALID_ARGUMENT error.

conversations

object (Conversations)

Optional. A list of conversations to test against.

End of mutually exclusive fields.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

Conversations

Wrapper for a list of conversations.

JSON representation
{
  "conversations": [
    {
      object (Conversation)
    }
  ]
}
Fields
conversations[]

object (Conversation)

Optional. The conversations.