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

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
NameDescription
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. Optional, will default to the config specified in Settings.

getParent

Required. The parent resource of the conversation.

Returns
TypeDescription
string

setParent

Required. The parent resource of the conversation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConversation

Required. The conversation resource to create.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\Conversation|null

hasConversation

clearConversation

setConversation

Required. The conversation resource to create.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\Conversation
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getRedactionConfig

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

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\RedactionConfig|null

hasRedactionConfig

clearRedactionConfig

setRedactionConfig

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

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\RedactionConfig
Returns
TypeDescription
$this