Google Cloud Contact Center Insights V1 Client - Class CreateConversationRequest (1.1.0)

Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class CreateConversationRequest.

Request to create a conversation.

Generated from protobuf message google.cloud.contactcenterinsights.v1.CreateConversationRequest

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

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]-

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

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

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