Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class UploadConversationRequest.
Request to upload a conversation.
Generated from protobuf message google.cloud.contactcenterinsights.v1.UploadConversationRequest
Namespace
Google \ Cloud \ ContactCenterInsights \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource of the conversation. |
↳ conversation |
Conversation
Required. The conversation resource to create. |
↳ conversation_id |
string
Optional. A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression |
↳ redaction_config |
RedactionConfig
Optional. DLP settings for transcript redaction. Will default to the config specified in Settings. |
↳ speech_config |
SpeechConfig
Optional. Speech-to-Text configuration. Will default to the config specified in Settings. |
getParent
Required. The parent resource of the conversation.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent resource of the conversation.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getConversation
Required. The conversation resource to create.
Returns | |
---|---|
Type | Description |
Conversation|null |
hasConversation
clearConversation
setConversation
Required. The conversation resource to create.
Parameter | |
---|---|
Name | Description |
var |
Conversation
|
Returns | |
---|---|
Type | Description |
$this |
getConversationId
Optional. A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression ^[a-z0-9-]{4,64}$
. Valid characters are [a-z][0-9]-
Returns | |
---|---|
Type | Description |
string |
setConversationId
Optional. A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression ^[a-z0-9-]{4,64}$
. Valid characters are [a-z][0-9]-
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRedactionConfig
Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.
Returns | |
---|---|
Type | Description |
RedactionConfig|null |
hasRedactionConfig
clearRedactionConfig
setRedactionConfig
Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.
Parameter | |
---|---|
Name | Description |
var |
RedactionConfig
|
Returns | |
---|---|
Type | Description |
$this |
getSpeechConfig
Optional. Speech-to-Text configuration. Will default to the config specified in Settings.
Returns | |
---|---|
Type | Description |
SpeechConfig|null |
hasSpeechConfig
clearSpeechConfig
setSpeechConfig
Optional. Speech-to-Text configuration. Will default to the config specified in Settings.
Parameter | |
---|---|
Name | Description |
var |
SpeechConfig
|
Returns | |
---|---|
Type | Description |
$this |