agentId = $agentId; } /** * @return string */ public function getAgentId() { return $this->agentId; } /** * Call-specific metadata. * * @param GoogleCloudContactcenterinsightsV1ConversationCallMetadata $callMetadata */ public function setCallMetadata(GoogleCloudContactcenterinsightsV1ConversationCallMetadata $callMetadata) { $this->callMetadata = $callMetadata; } /** * @return GoogleCloudContactcenterinsightsV1ConversationCallMetadata */ public function getCallMetadata() { return $this->callMetadata; } /** * Output only. Info for correlating across conversations. * * @param GoogleCloudContactcenterinsightsV1ConversationCorrelationInfo $correlationInfo */ public function setCorrelationInfo(GoogleCloudContactcenterinsightsV1ConversationCorrelationInfo $correlationInfo) { $this->correlationInfo = $correlationInfo; } /** * @return GoogleCloudContactcenterinsightsV1ConversationCorrelationInfo */ public function getCorrelationInfo() { return $this->correlationInfo; } /** * Output only. The time at which the conversation was created. * * @param string $createTime */ public function setCreateTime($createTime) { $this->createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * The source of the audio and transcription for the conversation. * * @param GoogleCloudContactcenterinsightsV1ConversationDataSource $dataSource */ public function setDataSource(GoogleCloudContactcenterinsightsV1ConversationDataSource $dataSource) { $this->dataSource = $dataSource; } /** * @return GoogleCloudContactcenterinsightsV1ConversationDataSource */ public function getDataSource() { return $this->dataSource; } /** * Output only. All the matched Dialogflow intents in the call. The key * corresponds to a Dialogflow intent, format: * projects/{project}/agent/{agent}/intents/{intent} * * @param GoogleCloudContactcenterinsightsV1DialogflowIntent[] $dialogflowIntents */ public function setDialogflowIntents($dialogflowIntents) { $this->dialogflowIntents = $dialogflowIntents; } /** * @return GoogleCloudContactcenterinsightsV1DialogflowIntent[] */ public function getDialogflowIntents() { return $this->dialogflowIntents; } /** * Output only. The duration of the conversation. * * @param string $duration */ public function setDuration($duration) { $this->duration = $duration; } /** * @return string */ public function getDuration() { return $this->duration; } /** * The time at which this conversation should expire. After this time, the * conversation data and any associated analyses will be deleted. * * @param string $expireTime */ public function setExpireTime($expireTime) { $this->expireTime = $expireTime; } /** * @return string */ public function getExpireTime() { return $this->expireTime; } /** * A map for the user to specify any custom fields. A maximum of 100 labels * per conversation is allowed, with a maximum of 256 characters per entry. * * @param string[] $labels */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * A user-specified language code for the conversation. * * @param string $languageCode */ public function setLanguageCode($languageCode) { $this->languageCode = $languageCode; } /** * @return string */ public function getLanguageCode() { return $this->languageCode; } /** * Output only. The conversation's latest analysis, if one exists. * * @param GoogleCloudContactcenterinsightsV1Analysis $latestAnalysis */ public function setLatestAnalysis(GoogleCloudContactcenterinsightsV1Analysis $latestAnalysis) { $this->latestAnalysis = $latestAnalysis; } /** * @return GoogleCloudContactcenterinsightsV1Analysis */ public function getLatestAnalysis() { return $this->latestAnalysis; } /** * Output only. Latest summary of the conversation. * * @param GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData $latestSummary */ public function setLatestSummary(GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData $latestSummary) { $this->latestSummary = $latestSummary; } /** * @return GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData */ public function getLatestSummary() { return $this->latestSummary; } /** * Immutable. The conversation medium. * * Accepted values: MEDIUM_UNSPECIFIED, PHONE_CALL, CHAT * * @param self::MEDIUM_* $medium */ public function setMedium($medium) { $this->medium = $medium; } /** * @return self::MEDIUM_* */ public function getMedium() { return $this->medium; } /** * Input only. JSON metadata encoded as a string. This field is primarily used * by Insights integrations with various telephony systems and must be in one * of Insight's supported formats. * * @param string $metadataJson */ public function setMetadataJson($metadataJson) { $this->metadataJson = $metadataJson; } /** * @return string */ public function getMetadataJson() { return $this->metadataJson; } /** * Immutable. The resource name of the conversation. Format: * projects/{project}/locations/{location}/conversations/{conversation} * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Obfuscated user ID which the customer sent to us. * * @param string $obfuscatedUserId */ public function setObfuscatedUserId($obfuscatedUserId) { $this->obfuscatedUserId = $obfuscatedUserId; } /** * @return string */ public function getObfuscatedUserId() { return $this->obfuscatedUserId; } /** * Conversation metadata related to quality management. * * @param GoogleCloudContactcenterinsightsV1ConversationQualityMetadata $qualityMetadata */ public function setQualityMetadata(GoogleCloudContactcenterinsightsV1ConversationQualityMetadata $qualityMetadata) { $this->qualityMetadata = $qualityMetadata; } /** * @return GoogleCloudContactcenterinsightsV1ConversationQualityMetadata */ public function getQualityMetadata() { return $this->qualityMetadata; } /** * Output only. The annotations that were generated during the customer and * agent interaction. * * @param GoogleCloudContactcenterinsightsV1RuntimeAnnotation[] $runtimeAnnotations */ public function setRuntimeAnnotations($runtimeAnnotations) { $this->runtimeAnnotations = $runtimeAnnotations; } /** * @return GoogleCloudContactcenterinsightsV1RuntimeAnnotation[] */ public function getRuntimeAnnotations() { return $this->runtimeAnnotations; } /** * The time at which the conversation started. * * @param string $startTime */ public function setStartTime($startTime) { $this->startTime = $startTime; } /** * @return string */ public function getStartTime() { return $this->startTime; } /** * Output only. The conversation transcript. * * @param GoogleCloudContactcenterinsightsV1ConversationTranscript $transcript */ public function setTranscript(GoogleCloudContactcenterinsightsV1ConversationTranscript $transcript) { $this->transcript = $transcript; } /** * @return GoogleCloudContactcenterinsightsV1ConversationTranscript */ public function getTranscript() { return $this->transcript; } /** * Input only. The TTL for this resource. If specified, then this TTL will be * used to calculate the expire time. * * @param string $ttl */ public function setTtl($ttl) { $this->ttl = $ttl; } /** * @return string */ public function getTtl() { return $this->ttl; } /** * Output only. The number of turns in the conversation. * * @param int $turnCount */ public function setTurnCount($turnCount) { $this->turnCount = $turnCount; } /** * @return int */ public function getTurnCount() { return $this->turnCount; } /** * Output only. The most recent time at which the conversation was updated. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudContactcenterinsightsV1Conversation::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1Conversation');