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
Type
Description
string
setParent
Required. The parent resource of the conversation.
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
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
static::build
Parameters
Name
Description
parent
string
Required. The parent resource of the conversation. Please see
ContactCenterInsightsClient::locationName() for help formatting this field.
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]-
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Contact Center Insights V1 Client - Class CreateConversationRequest (2.3.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.3 (latest)](/php/docs/reference/cloud-contact-center-insights/latest/V1.CreateConversationRequest)\n- [2.3.2](/php/docs/reference/cloud-contact-center-insights/2.3.2/V1.CreateConversationRequest)\n- [2.2.1](/php/docs/reference/cloud-contact-center-insights/2.2.1/V1.CreateConversationRequest)\n- [2.1.1](/php/docs/reference/cloud-contact-center-insights/2.1.1/V1.CreateConversationRequest)\n- [2.0.1](/php/docs/reference/cloud-contact-center-insights/2.0.1/V1.CreateConversationRequest)\n- [1.9.5](/php/docs/reference/cloud-contact-center-insights/1.9.5/V1.CreateConversationRequest)\n- [1.8.0](/php/docs/reference/cloud-contact-center-insights/1.8.0/V1.CreateConversationRequest)\n- [1.7.1](/php/docs/reference/cloud-contact-center-insights/1.7.1/V1.CreateConversationRequest)\n- [1.6.2](/php/docs/reference/cloud-contact-center-insights/1.6.2/V1.CreateConversationRequest)\n- [1.5.0](/php/docs/reference/cloud-contact-center-insights/1.5.0/V1.CreateConversationRequest)\n- [1.4.1](/php/docs/reference/cloud-contact-center-insights/1.4.1/V1.CreateConversationRequest)\n- [1.3.0](/php/docs/reference/cloud-contact-center-insights/1.3.0/V1.CreateConversationRequest)\n- [1.2.1](/php/docs/reference/cloud-contact-center-insights/1.2.1/V1.CreateConversationRequest)\n- [1.1.0](/php/docs/reference/cloud-contact-center-insights/1.1.0/V1.CreateConversationRequest)\n- [1.0.3](/php/docs/reference/cloud-contact-center-insights/1.0.3/V1.CreateConversationRequest) \nReference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class CreateConversationRequest.\n\nRequest to create a conversation.\n\nGenerated from protobuf message `google.cloud.contactcenterinsights.v1.CreateConversationRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ContactCenterInsights \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The parent resource of the conversation.\n\n### setParent\n\nRequired. The parent resource of the conversation.\n\n### getConversation\n\nRequired. The conversation resource to create.\n\n### hasConversation\n\n### clearConversation\n\n### setConversation\n\nRequired. The conversation resource to create.\n\n### getConversationId\n\nA unique ID for the new conversation. This ID will become the final\ncomponent of the conversation's resource name. If no ID is specified, a\nserver-generated ID will be used.\n\nThis value should be 4-64 characters and must match the regular\nexpression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`\n\n### setConversationId\n\nA unique ID for the new conversation. This ID will become the final\ncomponent of the conversation's resource name. If no ID is specified, a\nserver-generated ID will be used.\n\nThis value should be 4-64 characters and must match the regular\nexpression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`\n\n### static::build"]]