Google Cloud Contact Center Insights V1 Client - Class UploadConversationRequest (2.1.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource of the conversation.

↳ conversation Google\Cloud\ContactCenterInsights\V1\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 ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-

↳ redaction_config Google\Cloud\ContactCenterInsights\V1\RedactionConfig

Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.

↳ speech_config Google\Cloud\ContactCenterInsights\V1\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
Google\Cloud\ContactCenterInsights\V1\Conversation|null

hasConversation

clearConversation

setConversation

Required. The conversation resource to create.

Parameter
Name Description
var Google\Cloud\ContactCenterInsights\V1\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
Google\Cloud\ContactCenterInsights\V1\RedactionConfig|null

hasRedactionConfig

clearRedactionConfig

setRedactionConfig

Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.

Parameter
Name Description
var Google\Cloud\ContactCenterInsights\V1\RedactionConfig
Returns
Type Description
$this

getSpeechConfig

Optional. Speech-to-Text configuration. Will default to the config specified in Settings.

Returns
Type Description
Google\Cloud\ContactCenterInsights\V1\SpeechConfig|null

hasSpeechConfig

clearSpeechConfig

setSpeechConfig

Optional. Speech-to-Text configuration. Will default to the config specified in Settings.

Parameter
Name Description
var Google\Cloud\ContactCenterInsights\V1\SpeechConfig
Returns
Type Description
$this