- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- GcsSource
- Try it!
Imports an issue model from a Cloud Storage bucket.
HTTP request
POST https://{endpoint}/v1/{parent=projects/*/locations/*}/issueModels:import
Where {endpoint}
is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource of the issue model. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "createNewModel": boolean, // Union field |
Fields | |
---|---|
create |
Optional. If set to true, will create an issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file. |
Union field
|
|
gcs |
Google Cloud Storage source message. |
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 permissions on the parent
resource:
contactcenterinsights.issueModels.create
contactcenterinsights.issueModels.import
For more information, see the IAM documentation.
GcsSource
Google Cloud Storage Object URI to get the issue model file from.
JSON representation |
---|
{ "objectUri": string } |
Fields | |
---|---|
object |
Required. Format: |