- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Export insights data to a destination defined in the request body.
HTTP request
POST https://{endpoint}/v1/{parent=projects/*/locations/*}/insightsdata:export
Where {endpoint}
is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource to export data from. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "filter": string, "kmsKey": string, "writeDisposition": enum ( |
Fields | |
---|---|
filter |
A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties. |
kms |
A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version} |
write |
Options for what to do if the destination table already exists. |
Union field destination . Exporter destination. destination can be only one of the following: |
|
big |
Specified if sink is a BigQuery table. |
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.
IAM Permissions
Requires the following IAM permission on the parent
resource:
contactcenterinsights.conversations.list
For more information, see the IAM documentation.