From ab93e1bc4f469a25ed64b198761a964db424e2d5 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 12 May 2026 18:29:25 -0700 Subject: [PATCH] Regenerate contactcenterinsights client --- .../GoogleCloudAiplatformV1Blob.php | 98 +++++++ ...leCloudAiplatformV1CodeExecutionResult.php | 93 +++++++ .../GoogleCloudAiplatformV1Content.php | 71 +++++ .../GoogleCloudAiplatformV1ExecutableCode.php | 80 ++++++ .../GoogleCloudAiplatformV1FileData.php | 98 +++++++ .../GoogleCloudAiplatformV1FunctionCall.php | 118 ++++++++ ...oogleCloudAiplatformV1FunctionResponse.php | 145 ++++++++++ ...eCloudAiplatformV1FunctionResponseBlob.php | 100 +++++++ ...udAiplatformV1FunctionResponseFileData.php | 100 +++++++ ...eCloudAiplatformV1FunctionResponsePart.php | 62 +++++ .../GoogleCloudAiplatformV1Part.php | 251 ++++++++++++++++++ ...leCloudAiplatformV1PartMediaResolution.php | 71 +++++ .../GoogleCloudAiplatformV1PartialArg.php | 160 +++++++++++ .../GoogleCloudAiplatformV1VideoMetadata.php | 85 ++++++ ...nsightsV1DiagnoseConversationsMetadata.php | 8 +- ...insightsV1DiagnoseConversationsRequest.php | 34 ++- ...nsightsV1DiagnoseConversationsResponse.php | 43 ++- ...ontactcenterinsightsV1DiagnosticReport.php | 44 ++- ...htsV1DiagnosticReportConversationSlice.php | 49 ++++ ...loudContactcenterinsightsV1LossPattern.php | 20 +- ...ContactcenterinsightsV1LossPatternLink.php | 169 ++++++++++++ ...htsV1LossPatternLinkBotInstructionLink.php | 92 +++++++ ...ightsV1LossPatternLinkConversationLink.php | 48 ++++ ...dContactcenterinsightsV1RedirectAction.php | 22 ++ ...oudContactcenterinsightsV1SherlockStep.php | 109 +++++++- ...sV1alpha1DiagnoseConversationsMetadata.php | 8 +- ...tsV1alpha1DiagnoseConversationsRequest.php | 34 ++- ...sV1alpha1DiagnoseConversationsResponse.php | 43 ++- ...centerinsightsV1alpha1DiagnosticReport.php | 44 ++- ...lpha1DiagnosticReportConversationSlice.php | 49 ++++ ...ntactcenterinsightsV1alpha1LossPattern.php | 20 +- ...tcenterinsightsV1alpha1LossPatternLink.php | 169 ++++++++++++ ...lpha1LossPatternLinkBotInstructionLink.php | 92 +++++++ ...1alpha1LossPatternLinkConversationLink.php | 48 ++++ ...tactcenterinsightsV1alpha1SherlockStep.php | 109 +++++++- ...htsV1mainDiagnoseConversationsMetadata.php | 8 +- ...ghtsV1mainDiagnoseConversationsRequest.php | 34 ++- ...htsV1mainDiagnoseConversationsResponse.php | 43 ++- ...ctcenterinsightsV1mainDiagnosticReport.php | 44 ++- ...1mainDiagnosticReportConversationSlice.php | 49 ++++ ...ContactcenterinsightsV1mainLossPattern.php | 20 +- ...actcenterinsightsV1mainLossPatternLink.php | 169 ++++++++++++ ...1mainLossPatternLinkBotInstructionLink.php | 92 +++++++ ...sV1mainLossPatternLinkConversationLink.php | 48 ++++ ...ontactcenterinsightsV1mainSherlockStep.php | 109 +++++++- 45 files changed, 3294 insertions(+), 108 deletions(-) create mode 100644 src/Contactcenterinsights/GoogleCloudAiplatformV1Blob.php create mode 100644 src/Contactcenterinsights/GoogleCloudAiplatformV1CodeExecutionResult.php create mode 100644 src/Contactcenterinsights/GoogleCloudAiplatformV1Content.php create mode 100644 src/Contactcenterinsights/GoogleCloudAiplatformV1ExecutableCode.php create mode 100644 src/Contactcenterinsights/GoogleCloudAiplatformV1FileData.php create mode 100644 src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionCall.php create mode 100644 src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponse.php create mode 100644 src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponseBlob.php create mode 100644 src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponseFileData.php create mode 100644 src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponsePart.php create mode 100644 src/Contactcenterinsights/GoogleCloudAiplatformV1Part.php create mode 100644 src/Contactcenterinsights/GoogleCloudAiplatformV1PartMediaResolution.php create mode 100644 src/Contactcenterinsights/GoogleCloudAiplatformV1PartialArg.php create mode 100644 src/Contactcenterinsights/GoogleCloudAiplatformV1VideoMetadata.php create mode 100644 src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice.php create mode 100644 src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPatternLink.php create mode 100644 src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.php create mode 100644 src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink.php create mode 100644 src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice.php create mode 100644 src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.php create mode 100644 src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.php create mode 100644 src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink.php create mode 100644 src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice.php create mode 100644 src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPatternLink.php create mode 100644 src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.php create mode 100644 src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink.php diff --git a/src/Contactcenterinsights/GoogleCloudAiplatformV1Blob.php b/src/Contactcenterinsights/GoogleCloudAiplatformV1Blob.php new file mode 100644 index 0000000000..25add269a4 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudAiplatformV1Blob.php @@ -0,0 +1,98 @@ +data = $data; + } + /** + * @return string + */ + public function getData() + { + return $this->data; + } + /** + * Optional. The display name of the blob. Used to provide a label or filename + * to distinguish blobs. This field is only returned in `PromptMessage` for + * prompt management. It is used in the Gemini calls only when server-side + * tools (`code_execution`, `google_search`, and `url_context`) are enabled. + * + * @param string $displayName + */ + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * Required. The IANA standard MIME type of the source data. + * + * @param string $mimeType + */ + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + /** + * @return string + */ + public function getMimeType() + { + return $this->mimeType; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudAiplatformV1Blob::class, 'Google_Service_Contactcenterinsights_GoogleCloudAiplatformV1Blob'); diff --git a/src/Contactcenterinsights/GoogleCloudAiplatformV1CodeExecutionResult.php b/src/Contactcenterinsights/GoogleCloudAiplatformV1CodeExecutionResult.php new file mode 100644 index 0000000000..9895a33cbc --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudAiplatformV1CodeExecutionResult.php @@ -0,0 +1,93 @@ +outcome = $outcome; + } + /** + * @return self::OUTCOME_* + */ + public function getOutcome() + { + return $this->outcome; + } + /** + * Optional. Contains stdout when code execution is successful, stderr or + * other description otherwise. + * + * @param string $output + */ + public function setOutput($output) + { + $this->output = $output; + } + /** + * @return string + */ + public function getOutput() + { + return $this->output; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudAiplatformV1CodeExecutionResult::class, 'Google_Service_Contactcenterinsights_GoogleCloudAiplatformV1CodeExecutionResult'); diff --git a/src/Contactcenterinsights/GoogleCloudAiplatformV1Content.php b/src/Contactcenterinsights/GoogleCloudAiplatformV1Content.php new file mode 100644 index 0000000000..9d794e0021 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudAiplatformV1Content.php @@ -0,0 +1,71 @@ +parts = $parts; + } + /** + * @return GoogleCloudAiplatformV1Part[] + */ + public function getParts() + { + return $this->parts; + } + /** + * Optional. The producer of the content. Must be either 'user' or 'model'. If + * not set, the service will default to 'user'. + * + * @param string $role + */ + public function setRole($role) + { + $this->role = $role; + } + /** + * @return string + */ + public function getRole() + { + return $this->role; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudAiplatformV1Content::class, 'Google_Service_Contactcenterinsights_GoogleCloudAiplatformV1Content'); diff --git a/src/Contactcenterinsights/GoogleCloudAiplatformV1ExecutableCode.php b/src/Contactcenterinsights/GoogleCloudAiplatformV1ExecutableCode.php new file mode 100644 index 0000000000..c162433ab9 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudAiplatformV1ExecutableCode.php @@ -0,0 +1,80 @@ += 3.10, with numpy and simpy available. + */ + public const LANGUAGE_PYTHON = 'PYTHON'; + /** + * Required. The code to be executed. + * + * @var string + */ + public $code; + /** + * Required. Programming language of the `code`. + * + * @var string + */ + public $language; + + /** + * Required. The code to be executed. + * + * @param string $code + */ + public function setCode($code) + { + $this->code = $code; + } + /** + * @return string + */ + public function getCode() + { + return $this->code; + } + /** + * Required. Programming language of the `code`. + * + * Accepted values: LANGUAGE_UNSPECIFIED, PYTHON + * + * @param self::LANGUAGE_* $language + */ + public function setLanguage($language) + { + $this->language = $language; + } + /** + * @return self::LANGUAGE_* + */ + public function getLanguage() + { + return $this->language; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudAiplatformV1ExecutableCode::class, 'Google_Service_Contactcenterinsights_GoogleCloudAiplatformV1ExecutableCode'); diff --git a/src/Contactcenterinsights/GoogleCloudAiplatformV1FileData.php b/src/Contactcenterinsights/GoogleCloudAiplatformV1FileData.php new file mode 100644 index 0000000000..1539071cd4 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudAiplatformV1FileData.php @@ -0,0 +1,98 @@ +displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * Required. The URI of the file in Google Cloud Storage. + * + * @param string $fileUri + */ + public function setFileUri($fileUri) + { + $this->fileUri = $fileUri; + } + /** + * @return string + */ + public function getFileUri() + { + return $this->fileUri; + } + /** + * Required. The IANA standard MIME type of the source data. + * + * @param string $mimeType + */ + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + /** + * @return string + */ + public function getMimeType() + { + return $this->mimeType; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudAiplatformV1FileData::class, 'Google_Service_Contactcenterinsights_GoogleCloudAiplatformV1FileData'); diff --git a/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionCall.php b/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionCall.php new file mode 100644 index 0000000000..0a81f1ac6b --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionCall.php @@ -0,0 +1,118 @@ +args = $args; + } + /** + * @return array[] + */ + public function getArgs() + { + return $this->args; + } + /** + * Optional. The name of the function to call. Matches + * FunctionDeclaration.name. + * + * @param string $name + */ + public function setName($name) + { + $this->name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * Optional. The partial argument value of the function call. If provided, + * represents the arguments/fields that are streamed incrementally. + * + * @param GoogleCloudAiplatformV1PartialArg[] $partialArgs + */ + public function setPartialArgs($partialArgs) + { + $this->partialArgs = $partialArgs; + } + /** + * @return GoogleCloudAiplatformV1PartialArg[] + */ + public function getPartialArgs() + { + return $this->partialArgs; + } + /** + * Optional. Whether this is the last part of the FunctionCall. If true, + * another partial message for the current FunctionCall is expected to follow. + * + * @param bool $willContinue + */ + public function setWillContinue($willContinue) + { + $this->willContinue = $willContinue; + } + /** + * @return bool + */ + public function getWillContinue() + { + return $this->willContinue; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudAiplatformV1FunctionCall::class, 'Google_Service_Contactcenterinsights_GoogleCloudAiplatformV1FunctionCall'); diff --git a/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponse.php b/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponse.php new file mode 100644 index 0000000000..d23ba8035c --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponse.php @@ -0,0 +1,145 @@ +name = $name; + } + /** + * @return string + */ + public function getName() + { + return $this->name; + } + /** + * Optional. Ordered `Parts` that constitute a function response. Parts may + * have different IANA MIME types. + * + * @param GoogleCloudAiplatformV1FunctionResponsePart[] $parts + */ + public function setParts($parts) + { + $this->parts = $parts; + } + /** + * @return GoogleCloudAiplatformV1FunctionResponsePart[] + */ + public function getParts() + { + return $this->parts; + } + /** + * Required. The function response in JSON object format. Use "output" key to + * specify function output and "error" key to specify error details (if any). + * If "output" and "error" keys are not specified, then whole "response" is + * treated as function output. + * + * @param array[] $response + */ + public function setResponse($response) + { + $this->response = $response; + } + /** + * @return array[] + */ + public function getResponse() + { + return $this->response; + } + /** + * Optional. Specifies how the response should be scheduled in the + * conversation. Only applicable to NON_BLOCKING function calls, is ignored + * otherwise. Defaults to WHEN_IDLE. + * + * Accepted values: SCHEDULING_UNSPECIFIED, SILENT, WHEN_IDLE, INTERRUPT + * + * @param self::SCHEDULING_* $scheduling + */ + public function setScheduling($scheduling) + { + $this->scheduling = $scheduling; + } + /** + * @return self::SCHEDULING_* + */ + public function getScheduling() + { + return $this->scheduling; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudAiplatformV1FunctionResponse::class, 'Google_Service_Contactcenterinsights_GoogleCloudAiplatformV1FunctionResponse'); diff --git a/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponseBlob.php b/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponseBlob.php new file mode 100644 index 0000000000..5292d10b23 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponseBlob.php @@ -0,0 +1,100 @@ +data = $data; + } + /** + * @return string + */ + public function getData() + { + return $this->data; + } + /** + * Optional. Display name of the blob. Used to provide a label or filename to + * distinguish blobs. This field is only returned in PromptMessage for prompt + * management. It is currently used in the Gemini GenerateContent calls only + * when server side tools (code_execution, google_search, and url_context) are + * enabled. + * + * @param string $displayName + */ + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * Required. The IANA standard MIME type of the source data. + * + * @param string $mimeType + */ + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + /** + * @return string + */ + public function getMimeType() + { + return $this->mimeType; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudAiplatformV1FunctionResponseBlob::class, 'Google_Service_Contactcenterinsights_GoogleCloudAiplatformV1FunctionResponseBlob'); diff --git a/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponseFileData.php b/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponseFileData.php new file mode 100644 index 0000000000..e815e5d257 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponseFileData.php @@ -0,0 +1,100 @@ +displayName = $displayName; + } + /** + * @return string + */ + public function getDisplayName() + { + return $this->displayName; + } + /** + * Required. URI. + * + * @param string $fileUri + */ + public function setFileUri($fileUri) + { + $this->fileUri = $fileUri; + } + /** + * @return string + */ + public function getFileUri() + { + return $this->fileUri; + } + /** + * Required. The IANA standard MIME type of the source data. + * + * @param string $mimeType + */ + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + /** + * @return string + */ + public function getMimeType() + { + return $this->mimeType; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudAiplatformV1FunctionResponseFileData::class, 'Google_Service_Contactcenterinsights_GoogleCloudAiplatformV1FunctionResponseFileData'); diff --git a/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponsePart.php b/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponsePart.php new file mode 100644 index 0000000000..be868f7e81 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudAiplatformV1FunctionResponsePart.php @@ -0,0 +1,62 @@ +fileData = $fileData; + } + /** + * @return GoogleCloudAiplatformV1FunctionResponseFileData + */ + public function getFileData() + { + return $this->fileData; + } + /** + * Inline media bytes. + * + * @param GoogleCloudAiplatformV1FunctionResponseBlob $inlineData + */ + public function setInlineData(GoogleCloudAiplatformV1FunctionResponseBlob $inlineData) + { + $this->inlineData = $inlineData; + } + /** + * @return GoogleCloudAiplatformV1FunctionResponseBlob + */ + public function getInlineData() + { + return $this->inlineData; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudAiplatformV1FunctionResponsePart::class, 'Google_Service_Contactcenterinsights_GoogleCloudAiplatformV1FunctionResponsePart'); diff --git a/src/Contactcenterinsights/GoogleCloudAiplatformV1Part.php b/src/Contactcenterinsights/GoogleCloudAiplatformV1Part.php new file mode 100644 index 0000000000..0b86d7c8fb --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudAiplatformV1Part.php @@ -0,0 +1,251 @@ +codeExecutionResult = $codeExecutionResult; + } + /** + * @return GoogleCloudAiplatformV1CodeExecutionResult + */ + public function getCodeExecutionResult() + { + return $this->codeExecutionResult; + } + /** + * Optional. Code generated by the model that is intended to be executed. + * + * @param GoogleCloudAiplatformV1ExecutableCode $executableCode + */ + public function setExecutableCode(GoogleCloudAiplatformV1ExecutableCode $executableCode) + { + $this->executableCode = $executableCode; + } + /** + * @return GoogleCloudAiplatformV1ExecutableCode + */ + public function getExecutableCode() + { + return $this->executableCode; + } + /** + * Optional. The URI-based data of the part. This can be used to include files + * from Google Cloud Storage. + * + * @param GoogleCloudAiplatformV1FileData $fileData + */ + public function setFileData(GoogleCloudAiplatformV1FileData $fileData) + { + $this->fileData = $fileData; + } + /** + * @return GoogleCloudAiplatformV1FileData + */ + public function getFileData() + { + return $this->fileData; + } + /** + * Optional. A predicted function call returned from the model. This contains + * the name of the function to call and the arguments to pass to the function. + * + * @param GoogleCloudAiplatformV1FunctionCall $functionCall + */ + public function setFunctionCall(GoogleCloudAiplatformV1FunctionCall $functionCall) + { + $this->functionCall = $functionCall; + } + /** + * @return GoogleCloudAiplatformV1FunctionCall + */ + public function getFunctionCall() + { + return $this->functionCall; + } + /** + * Optional. The result of a function call. This is used to provide the model + * with the result of a function call that it predicted. + * + * @param GoogleCloudAiplatformV1FunctionResponse $functionResponse + */ + public function setFunctionResponse(GoogleCloudAiplatformV1FunctionResponse $functionResponse) + { + $this->functionResponse = $functionResponse; + } + /** + * @return GoogleCloudAiplatformV1FunctionResponse + */ + public function getFunctionResponse() + { + return $this->functionResponse; + } + /** + * Optional. The inline data content of the part. This can be used to include + * images, audio, or video in a request. + * + * @param GoogleCloudAiplatformV1Blob $inlineData + */ + public function setInlineData(GoogleCloudAiplatformV1Blob $inlineData) + { + $this->inlineData = $inlineData; + } + /** + * @return GoogleCloudAiplatformV1Blob + */ + public function getInlineData() + { + return $this->inlineData; + } + /** + * per part media resolution. Media resolution for the input media. + * + * @param GoogleCloudAiplatformV1PartMediaResolution $mediaResolution + */ + public function setMediaResolution(GoogleCloudAiplatformV1PartMediaResolution $mediaResolution) + { + $this->mediaResolution = $mediaResolution; + } + /** + * @return GoogleCloudAiplatformV1PartMediaResolution + */ + public function getMediaResolution() + { + return $this->mediaResolution; + } + /** + * Optional. The text content of the part. When sent from the VSCode Gemini + * Code Assist extension, references to @mentioned items will be converted to + * markdown boldface text. For example `@my-repo` will be converted to and + * sent as `**my-repo**` by the IDE agent. + * + * @param string $text + */ + public function setText($text) + { + $this->text = $text; + } + /** + * @return string + */ + public function getText() + { + return $this->text; + } + /** + * Optional. Indicates whether the `part` represents the model's thought + * process or reasoning. + * + * @param bool $thought + */ + public function setThought($thought) + { + $this->thought = $thought; + } + /** + * @return bool + */ + public function getThought() + { + return $this->thought; + } + /** + * Optional. An opaque signature for the thought so it can be reused in + * subsequent requests. + * + * @param string $thoughtSignature + */ + public function setThoughtSignature($thoughtSignature) + { + $this->thoughtSignature = $thoughtSignature; + } + /** + * @return string + */ + public function getThoughtSignature() + { + return $this->thoughtSignature; + } + /** + * Optional. Video metadata. The metadata should only be specified while the + * video data is presented in inline_data or file_data. + * + * @param GoogleCloudAiplatformV1VideoMetadata $videoMetadata + */ + public function setVideoMetadata(GoogleCloudAiplatformV1VideoMetadata $videoMetadata) + { + $this->videoMetadata = $videoMetadata; + } + /** + * @return GoogleCloudAiplatformV1VideoMetadata + */ + public function getVideoMetadata() + { + return $this->videoMetadata; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudAiplatformV1Part::class, 'Google_Service_Contactcenterinsights_GoogleCloudAiplatformV1Part'); diff --git a/src/Contactcenterinsights/GoogleCloudAiplatformV1PartMediaResolution.php b/src/Contactcenterinsights/GoogleCloudAiplatformV1PartMediaResolution.php new file mode 100644 index 0000000000..a475511085 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudAiplatformV1PartMediaResolution.php @@ -0,0 +1,71 @@ +level = $level; + } + /** + * @return self::LEVEL_* + */ + public function getLevel() + { + return $this->level; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudAiplatformV1PartMediaResolution::class, 'Google_Service_Contactcenterinsights_GoogleCloudAiplatformV1PartMediaResolution'); diff --git a/src/Contactcenterinsights/GoogleCloudAiplatformV1PartialArg.php b/src/Contactcenterinsights/GoogleCloudAiplatformV1PartialArg.php new file mode 100644 index 0000000000..efcf985681 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudAiplatformV1PartialArg.php @@ -0,0 +1,160 @@ +boolValue = $boolValue; + } + /** + * @return bool + */ + public function getBoolValue() + { + return $this->boolValue; + } + /** + * Required. A JSON Path (RFC 9535) to the argument being streamed. + * https://datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data". + * + * @param string $jsonPath + */ + public function setJsonPath($jsonPath) + { + $this->jsonPath = $jsonPath; + } + /** + * @return string + */ + public function getJsonPath() + { + return $this->jsonPath; + } + /** + * Optional. Represents a null value. + * + * Accepted values: NULL_VALUE + * + * @param self::NULL_VALUE_* $nullValue + */ + public function setNullValue($nullValue) + { + $this->nullValue = $nullValue; + } + /** + * @return self::NULL_VALUE_* + */ + public function getNullValue() + { + return $this->nullValue; + } + public function setNumberValue($numberValue) + { + $this->numberValue = $numberValue; + } + public function getNumberValue() + { + return $this->numberValue; + } + /** + * Optional. Represents a string value. + * + * @param string $stringValue + */ + public function setStringValue($stringValue) + { + $this->stringValue = $stringValue; + } + /** + * @return string + */ + public function getStringValue() + { + return $this->stringValue; + } + /** + * Optional. Whether this is not the last part of the same json_path. If true, + * another PartialArg message for the current json_path is expected to follow. + * + * @param bool $willContinue + */ + public function setWillContinue($willContinue) + { + $this->willContinue = $willContinue; + } + /** + * @return bool + */ + public function getWillContinue() + { + return $this->willContinue; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudAiplatformV1PartialArg::class, 'Google_Service_Contactcenterinsights_GoogleCloudAiplatformV1PartialArg'); diff --git a/src/Contactcenterinsights/GoogleCloudAiplatformV1VideoMetadata.php b/src/Contactcenterinsights/GoogleCloudAiplatformV1VideoMetadata.php new file mode 100644 index 0000000000..1060a82ee6 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudAiplatformV1VideoMetadata.php @@ -0,0 +1,85 @@ +endOffset = $endOffset; + } + /** + * @return string + */ + public function getEndOffset() + { + return $this->endOffset; + } + public function setFps($fps) + { + $this->fps = $fps; + } + public function getFps() + { + return $this->fps; + } + /** + * Optional. The start offset of the video. + * + * @param string $startOffset + */ + public function setStartOffset($startOffset) + { + $this->startOffset = $startOffset; + } + /** + * @return string + */ + public function getStartOffset() + { + return $this->startOffset; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudAiplatformV1VideoMetadata::class, 'Google_Service_Contactcenterinsights_GoogleCloudAiplatformV1VideoMetadata'); diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnoseConversationsMetadata.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnoseConversationsMetadata.php index 8aa7f354d6..2b4fca4d86 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnoseConversationsMetadata.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnoseConversationsMetadata.php @@ -62,8 +62,8 @@ class GoogleCloudContactcenterinsightsV1DiagnoseConversationsMetadata extends \G */ public $metricType; /** - * Output only. Deprecated: Use partial_trajectory_steps instead. The - * intermediate trajectory updates (partial trajectory). + * Output only. Deprecated: Use partial_trajectory_steps instead. Output only. + * The intermediate trajectory updates (partial trajectory). * * @deprecated * @var string[] @@ -176,8 +176,8 @@ public function getMetricType() return $this->metricType; } /** - * Output only. Deprecated: Use partial_trajectory_steps instead. The - * intermediate trajectory updates (partial trajectory). + * Output only. Deprecated: Use partial_trajectory_steps instead. Output only. + * The intermediate trajectory updates (partial trajectory). * * @deprecated * @param string[] $partialTrajectories diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.php index 352edfccc5..c375535653 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.php @@ -32,9 +32,11 @@ class GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest extends \Go */ public const METRIC_TYPE_CONTAINMENT = 'CONTAINMENT'; /** - * Optional. If true, the request will be validated and a simulation of the - * analysis will be performed without actually executing the task. + * Optional. Deprecated: If true, the request will be validated and a + * simulation of the analysis will be performed without actually executing the + * task. This field is unused. Use validate_only instead. * + * @deprecated * @var bool */ public $dryRun; @@ -45,9 +47,12 @@ class GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest extends \Go */ public $filter; /** - * Optional. If true, the agent will generate a full diagnostic report for all - * sub-agents. + * Optional. Deprecated: If true, the agent will generate a full diagnostic + * report for all sub-agents. Subagent reporting configuration is unused. The + * final diagnostic details are already persisted inside the Diagnostic + * resource instead. * + * @deprecated * @var bool */ public $fullReport; @@ -104,9 +109,11 @@ class GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest extends \Go public $validateOnly; /** - * Optional. If true, the request will be validated and a simulation of the - * analysis will be performed without actually executing the task. + * Optional. Deprecated: If true, the request will be validated and a + * simulation of the analysis will be performed without actually executing the + * task. This field is unused. Use validate_only instead. * + * @deprecated * @param bool $dryRun */ public function setDryRun($dryRun) @@ -114,6 +121,7 @@ public function setDryRun($dryRun) $this->dryRun = $dryRun; } /** + * @deprecated * @return bool */ public function getDryRun() @@ -137,9 +145,12 @@ public function getFilter() return $this->filter; } /** - * Optional. If true, the agent will generate a full diagnostic report for all - * sub-agents. + * Optional. Deprecated: If true, the agent will generate a full diagnostic + * report for all sub-agents. Subagent reporting configuration is unused. The + * final diagnostic details are already persisted inside the Diagnostic + * resource instead. * + * @deprecated * @param bool $fullReport */ public function setFullReport($fullReport) @@ -147,6 +158,7 @@ public function setFullReport($fullReport) $this->fullReport = $fullReport; } /** + * @deprecated * @return bool */ public function getFullReport() @@ -206,8 +218,11 @@ public function getMetricType() return $this->metricType; } /** - * Optional. The configuration for the output of the task. + * Optional. Deprecated: The configuration for the output of the task. The + * export destination is unused. Detailed markdown and conversation slices are + * already persisted inside the Diagnostic resource instead. * + * @deprecated * @param GoogleCloudContactcenterinsightsV1OutputConfig $outputConfig */ public function setOutputConfig(GoogleCloudContactcenterinsightsV1OutputConfig $outputConfig) @@ -215,6 +230,7 @@ public function setOutputConfig(GoogleCloudContactcenterinsightsV1OutputConfig $ $this->outputConfig = $outputConfig; } /** + * @deprecated * @return GoogleCloudContactcenterinsightsV1OutputConfig */ public function getOutputConfig() diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse.php index 3e436803a3..08b637a725 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse.php @@ -21,22 +21,27 @@ class GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse extends \G { protected $collection_key = 'fullTrajectorySteps'; /** - * Output only. The final, high-level answer or diagnostic summary returned by - * the Sherlock worker. + * Output only. Deprecated: Output only. The final, high-level answer or + * diagnostic summary returned by the Sherlock worker is deprecated. The + * persistent analysis summary is stored inside the Diagnostic resource + * instead. * + * @deprecated * @var string */ public $answer; /** - * Output only. If an external destination was requested, the URI of the - * exported data. + * Output only. Deprecated: Output only. If an external destination was + * requested, the URI of the exported data is deprecated. The persistent + * diagnostic details are stored inside the Diagnostic resource instead. * + * @deprecated * @var string */ public $exportUri; /** - * Output only. Deprecated: Use full_trajectory_steps instead. The complete - * sequence of thoughts and actions (full trajectory). + * Output only. Deprecated: Use full_trajectory_steps instead. Output only. + * The complete sequence of thoughts and actions (full trajectory). * * @deprecated * @var string[] @@ -46,9 +51,12 @@ class GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse extends \G protected $fullTrajectoryStepsDataType = 'array'; /** - * Output only. The final, high-level answer or diagnostic summary returned by - * the Sherlock worker. + * Output only. Deprecated: Output only. The final, high-level answer or + * diagnostic summary returned by the Sherlock worker is deprecated. The + * persistent analysis summary is stored inside the Diagnostic resource + * instead. * + * @deprecated * @param string $answer */ public function setAnswer($answer) @@ -56,6 +64,7 @@ public function setAnswer($answer) $this->answer = $answer; } /** + * @deprecated * @return string */ public function getAnswer() @@ -63,9 +72,11 @@ public function getAnswer() return $this->answer; } /** - * Output only. If an external destination was requested, the URI of the - * exported data. + * Output only. Deprecated: Output only. If an external destination was + * requested, the URI of the exported data is deprecated. The persistent + * diagnostic details are stored inside the Diagnostic resource instead. * + * @deprecated * @param string $exportUri */ public function setExportUri($exportUri) @@ -73,6 +84,7 @@ public function setExportUri($exportUri) $this->exportUri = $exportUri; } /** + * @deprecated * @return string */ public function getExportUri() @@ -80,8 +92,8 @@ public function getExportUri() return $this->exportUri; } /** - * Output only. Deprecated: Use full_trajectory_steps instead. The complete - * sequence of thoughts and actions (full trajectory). + * Output only. Deprecated: Use full_trajectory_steps instead. Output only. + * The complete sequence of thoughts and actions (full trajectory). * * @deprecated * @param string[] $fullTrajectories @@ -99,9 +111,11 @@ public function getFullTrajectories() return $this->fullTrajectories; } /** - * Output only. The complete sequence of thoughts and actions taken by the - * agent. + * Output only. Deprecated: Output only. The complete sequence of thoughts and + * actions taken by the agent is deprecated under LRO response completions. + * Use the persistent details inside the Diagnostic resource instead. * + * @deprecated * @param GoogleCloudContactcenterinsightsV1SherlockStep[] $fullTrajectorySteps */ public function setFullTrajectorySteps($fullTrajectorySteps) @@ -109,6 +123,7 @@ public function setFullTrajectorySteps($fullTrajectorySteps) $this->fullTrajectorySteps = $fullTrajectorySteps; } /** + * @deprecated * @return GoogleCloudContactcenterinsightsV1SherlockStep[] */ public function getFullTrajectorySteps() diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnosticReport.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnosticReport.php index 817966c860..b331442685 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnosticReport.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnosticReport.php @@ -20,16 +20,41 @@ class GoogleCloudContactcenterinsightsV1DiagnosticReport extends \Google\Collection { protected $collection_key = 'lossPatterns'; + protected $conversationSlicesType = GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice::class; + protected $conversationSlicesDataType = 'map'; protected $intentStatsType = GoogleCloudContactcenterinsightsV1DiagnosticReportIntentStats::class; protected $intentStatsDataType = 'array'; protected $lossPatternsType = GoogleCloudContactcenterinsightsV1LossPattern::class; protected $lossPatternsDataType = 'array'; protected $metricsType = GoogleCloudContactcenterinsightsV1MetricValue::class; protected $metricsDataType = 'map'; + /** + * Output only. The final report in markdown format. + * + * @var string + */ + public $report; /** - * Output only. A breakdown of metrics grouped by intent. + * Output only. A map of conversation slices used in the report. + * + * @param GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice[] $conversationSlices + */ + public function setConversationSlices($conversationSlices) + { + $this->conversationSlices = $conversationSlices; + } + /** + * @return GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice[] + */ + public function getConversationSlices() + { + return $this->conversationSlices; + } + /** + * Output only. Deprecated: Intent breakdowns are no longer used. * + * @deprecated * @param GoogleCloudContactcenterinsightsV1DiagnosticReportIntentStats[] $intentStats */ public function setIntentStats($intentStats) @@ -37,6 +62,7 @@ public function setIntentStats($intentStats) $this->intentStats = $intentStats; } /** + * @deprecated * @return GoogleCloudContactcenterinsightsV1DiagnosticReportIntentStats[] */ public function getIntentStats() @@ -79,6 +105,22 @@ public function getMetrics() { return $this->metrics; } + /** + * Output only. The final report in markdown format. + * + * @param string $report + */ + public function setReport($report) + { + $this->report = $report; + } + /** + * @return string + */ + public function getReport() + { + return $this->report; + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice.php new file mode 100644 index 0000000000..8b637e6664 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice.php @@ -0,0 +1,49 @@ +conversationIds = $conversationIds; + } + /** + * @return string[] + */ + public function getConversationIds() + { + return $this->conversationIds; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice'); diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPattern.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPattern.php index 902cf79109..878cd82855 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPattern.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPattern.php @@ -19,7 +19,7 @@ class GoogleCloudContactcenterinsightsV1LossPattern extends \Google\Collection { - protected $collection_key = 'conversationIds'; + protected $collection_key = 'links'; /** * Output only. A list of conversation IDs that match this loss pattern. * @@ -50,6 +50,8 @@ class GoogleCloudContactcenterinsightsV1LossPattern extends \Google\Collection * @var string */ public $id; + protected $linksType = GoogleCloudContactcenterinsightsV1LossPatternLink::class; + protected $linksDataType = 'array'; /** * Output only. The percentage of conversations that match this loss pattern. * @@ -143,6 +145,22 @@ public function getId() { return $this->id; } + /** + * Output only. A list of links to conversations or bot instructions. + * + * @param GoogleCloudContactcenterinsightsV1LossPatternLink[] $links + */ + public function setLinks($links) + { + $this->links = $links; + } + /** + * @return GoogleCloudContactcenterinsightsV1LossPatternLink[] + */ + public function getLinks() + { + return $this->links; + } public function setPercentage($percentage) { $this->percentage = $percentage; diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPatternLink.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPatternLink.php new file mode 100644 index 0000000000..8aaef9ae7f --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPatternLink.php @@ -0,0 +1,169 @@ +botInstructionLink = $botInstructionLink; + } + /** + * @return GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink + */ + public function getBotInstructionLink() + { + return $this->botInstructionLink; + } + /** + * A link to a conversation. + * + * @param GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink $conversationLink + */ + public function setConversationLink(GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink $conversationLink) + { + $this->conversationLink = $conversationLink; + } + /** + * @return GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink + */ + public function getConversationLink() + { + return $this->conversationLink; + } + /** + * The end byte index of the highlighted text (exclusive). + * + * @param int $endByteIndex + */ + public function setEndByteIndex($endByteIndex) + { + $this->endByteIndex = $endByteIndex; + } + /** + * @return int + */ + public function getEndByteIndex() + { + return $this->endByteIndex; + } + /** + * The text that is highlighted. (populated for debugging purposes) + * + * @param string $highlightedText + */ + public function setHighlightedText($highlightedText) + { + $this->highlightedText = $highlightedText; + } + /** + * @return string + */ + public function getHighlightedText() + { + return $this->highlightedText; + } + /** + * The location type. + * + * Accepted values: LOCATION_TYPE_UNSPECIFIED, DESCRIPTION, SUGGESTED_FIXES, + * EXAMPLES + * + * @param self::LOCATION_TYPE_* $locationType + */ + public function setLocationType($locationType) + { + $this->locationType = $locationType; + } + /** + * @return self::LOCATION_TYPE_* + */ + public function getLocationType() + { + return $this->locationType; + } + /** + * The start byte index of the highlighted text (inclusive). + * + * @param int $startByteIndex + */ + public function setStartByteIndex($startByteIndex) + { + $this->startByteIndex = $startByteIndex; + } + /** + * @return int + */ + public function getStartByteIndex() + { + return $this->startByteIndex; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudContactcenterinsightsV1LossPatternLink::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1LossPatternLink'); diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.php new file mode 100644 index 0000000000..bd74309c73 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.php @@ -0,0 +1,92 @@ +endLine = $endLine; + } + /** + * @return int + */ + public function getEndLine() + { + return $this->endLine; + } + /** + * The inclusive start line number of the instructions. + * + * @param int $startLine + */ + public function setStartLine($startLine) + { + $this->startLine = $startLine; + } + /** + * @return int + */ + public function getStartLine() + { + return $this->startLine; + } + /** + * The name of the subagent. + * + * @param string $subagent + */ + public function setSubagent($subagent) + { + $this->subagent = $subagent; + } + /** + * @return string + */ + public function getSubagent() + { + return $this->subagent; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink'); diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink.php new file mode 100644 index 0000000000..ac2098a210 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink.php @@ -0,0 +1,48 @@ +conversationId = $conversationId; + } + /** + * @return string + */ + public function getConversationId() + { + return $this->conversationId; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink'); diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1RedirectAction.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1RedirectAction.php index 7f102b9045..507fc848bd 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1RedirectAction.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1RedirectAction.php @@ -19,6 +19,12 @@ class GoogleCloudContactcenterinsightsV1RedirectAction extends \Google\Model { + /** + * The query params to be added to the redirect path. + * + * @var string[] + */ + public $queryParams; /** * The relative path to redirect to. * @@ -26,6 +32,22 @@ class GoogleCloudContactcenterinsightsV1RedirectAction extends \Google\Model */ public $relativePath; + /** + * The query params to be added to the redirect path. + * + * @param string[] $queryParams + */ + public function setQueryParams($queryParams) + { + $this->queryParams = $queryParams; + } + /** + * @return string[] + */ + public function getQueryParams() + { + return $this->queryParams; + } /** * The relative path to redirect to. * diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1SherlockStep.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1SherlockStep.php index 08a7e6de97..13c7128c07 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1SherlockStep.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1SherlockStep.php @@ -21,29 +21,117 @@ class GoogleCloudContactcenterinsightsV1SherlockStep extends \Google\Collection { protected $collection_key = 'toolCalls'; /** - * Output only. Natural language input stimulus. + * Output only. The ID of the agent that produced/received this content. * + * @var string + */ + public $agentId; + protected $contentType = GoogleCloudAiplatformV1Content::class; + protected $contentDataType = ''; + /** + * Output only. List of state changes caused by this specific turn. + * + * @var array[] + */ + public $stateDeltas; + /** + * Output only. Unique ID for this specific turn. + * + * @var string + */ + public $stepId; + /** + * Output only. Deprecated: Use content instead. + * + * @deprecated * @var string[] */ public $textInput; /** - * Output only. The reasoning or internal monologue of the agent. + * Output only. Deprecated: Use content instead. * + * @deprecated * @var string */ public $thought; protected $toolCallsType = GoogleCloudContactcenterinsightsV1ToolCall::class; protected $toolCallsDataType = 'array'; /** - * Output only. The output response from the tool execution. + * Output only. Deprecated: Use content instead. * + * @deprecated * @var array[] */ public $toolOutput; /** - * Output only. Natural language input stimulus. + * Output only. The ID of the agent that produced/received this content. + * + * @param string $agentId + */ + public function setAgentId($agentId) + { + $this->agentId = $agentId; + } + /** + * @return string + */ + public function getAgentId() + { + return $this->agentId; + } + /** + * Output only. The content of the turn (either Model or User role). + * + * @param GoogleCloudAiplatformV1Content $content + */ + public function setContent(GoogleCloudAiplatformV1Content $content) + { + $this->content = $content; + } + /** + * @return GoogleCloudAiplatformV1Content + */ + public function getContent() + { + return $this->content; + } + /** + * Output only. List of state changes caused by this specific turn. + * + * @param array[] $stateDeltas + */ + public function setStateDeltas($stateDeltas) + { + $this->stateDeltas = $stateDeltas; + } + /** + * @return array[] + */ + public function getStateDeltas() + { + return $this->stateDeltas; + } + /** + * Output only. Unique ID for this specific turn. + * + * @param string $stepId + */ + public function setStepId($stepId) + { + $this->stepId = $stepId; + } + /** + * @return string + */ + public function getStepId() + { + return $this->stepId; + } + /** + * Output only. Deprecated: Use content instead. * + * @deprecated * @param string[] $textInput */ public function setTextInput($textInput) @@ -51,6 +139,7 @@ public function setTextInput($textInput) $this->textInput = $textInput; } /** + * @deprecated * @return string[] */ public function getTextInput() @@ -58,8 +147,9 @@ public function getTextInput() return $this->textInput; } /** - * Output only. The reasoning or internal monologue of the agent. + * Output only. Deprecated: Use content instead. * + * @deprecated * @param string $thought */ public function setThought($thought) @@ -67,6 +157,7 @@ public function setThought($thought) $this->thought = $thought; } /** + * @deprecated * @return string */ public function getThought() @@ -74,8 +165,9 @@ public function getThought() return $this->thought; } /** - * Output only. The tool call issued by the agent. + * Output only. Deprecated: Use content instead. * + * @deprecated * @param GoogleCloudContactcenterinsightsV1ToolCall[] $toolCalls */ public function setToolCalls($toolCalls) @@ -83,6 +175,7 @@ public function setToolCalls($toolCalls) $this->toolCalls = $toolCalls; } /** + * @deprecated * @return GoogleCloudContactcenterinsightsV1ToolCall[] */ public function getToolCalls() @@ -90,8 +183,9 @@ public function getToolCalls() return $this->toolCalls; } /** - * Output only. The output response from the tool execution. + * Output only. Deprecated: Use content instead. * + * @deprecated * @param array[] $toolOutput */ public function setToolOutput($toolOutput) @@ -99,6 +193,7 @@ public function setToolOutput($toolOutput) $this->toolOutput = $toolOutput; } /** + * @deprecated * @return array[] */ public function getToolOutput() diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsMetadata.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsMetadata.php index b74fd14e44..dc70fe5957 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsMetadata.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsMetadata.php @@ -62,8 +62,8 @@ class GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsMetadata exte */ public $metricType; /** - * Output only. Deprecated: Use partial_trajectory_steps instead. The - * intermediate trajectory updates (partial trajectory). + * Output only. Deprecated: Use partial_trajectory_steps instead. Output only. + * The intermediate trajectory updates (partial trajectory). * * @deprecated * @var string[] @@ -176,8 +176,8 @@ public function getMetricType() return $this->metricType; } /** - * Output only. Deprecated: Use partial_trajectory_steps instead. The - * intermediate trajectory updates (partial trajectory). + * Output only. Deprecated: Use partial_trajectory_steps instead. Output only. + * The intermediate trajectory updates (partial trajectory). * * @deprecated * @param string[] $partialTrajectories diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.php index 9dfbfa8cef..2de703c4e7 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.php @@ -32,9 +32,11 @@ class GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest exten */ public const METRIC_TYPE_CONTAINMENT = 'CONTAINMENT'; /** - * Optional. If true, the request will be validated and a simulation of the - * analysis will be performed without actually executing the task. + * Optional. Deprecated: If true, the request will be validated and a + * simulation of the analysis will be performed without actually executing the + * task. This field is unused. Use validate_only instead. * + * @deprecated * @var bool */ public $dryRun; @@ -45,9 +47,12 @@ class GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest exten */ public $filter; /** - * Optional. If true, the agent will generate a full diagnostic report for all - * sub-agents. + * Optional. Deprecated: If true, the agent will generate a full diagnostic + * report for all sub-agents. Subagent reporting configuration is unused. The + * final diagnostic details are already persisted inside the Diagnostic + * resource instead. * + * @deprecated * @var bool */ public $fullReport; @@ -104,9 +109,11 @@ class GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest exten public $validateOnly; /** - * Optional. If true, the request will be validated and a simulation of the - * analysis will be performed without actually executing the task. + * Optional. Deprecated: If true, the request will be validated and a + * simulation of the analysis will be performed without actually executing the + * task. This field is unused. Use validate_only instead. * + * @deprecated * @param bool $dryRun */ public function setDryRun($dryRun) @@ -114,6 +121,7 @@ public function setDryRun($dryRun) $this->dryRun = $dryRun; } /** + * @deprecated * @return bool */ public function getDryRun() @@ -137,9 +145,12 @@ public function getFilter() return $this->filter; } /** - * Optional. If true, the agent will generate a full diagnostic report for all - * sub-agents. + * Optional. Deprecated: If true, the agent will generate a full diagnostic + * report for all sub-agents. Subagent reporting configuration is unused. The + * final diagnostic details are already persisted inside the Diagnostic + * resource instead. * + * @deprecated * @param bool $fullReport */ public function setFullReport($fullReport) @@ -147,6 +158,7 @@ public function setFullReport($fullReport) $this->fullReport = $fullReport; } /** + * @deprecated * @return bool */ public function getFullReport() @@ -206,8 +218,11 @@ public function getMetricType() return $this->metricType; } /** - * Optional. The configuration for the output of the task. + * Optional. Deprecated: The configuration for the output of the task. The + * export destination is unused. Detailed markdown and conversation slices are + * already persisted inside the Diagnostic resource instead. * + * @deprecated * @param GoogleCloudContactcenterinsightsV1alpha1OutputConfig $outputConfig */ public function setOutputConfig(GoogleCloudContactcenterinsightsV1alpha1OutputConfig $outputConfig) @@ -215,6 +230,7 @@ public function setOutputConfig(GoogleCloudContactcenterinsightsV1alpha1OutputCo $this->outputConfig = $outputConfig; } /** + * @deprecated * @return GoogleCloudContactcenterinsightsV1alpha1OutputConfig */ public function getOutputConfig() diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse.php index 8a5c69b0fa..b69d56fcbb 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse.php @@ -21,22 +21,27 @@ class GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse exte { protected $collection_key = 'fullTrajectorySteps'; /** - * Output only. The final, high-level answer or diagnostic summary returned by - * the Sherlock worker. + * Output only. Deprecated: Output only. The final, high-level answer or + * diagnostic summary returned by the Sherlock worker is deprecated. The + * persistent analysis summary is stored inside the Diagnostic resource + * instead. * + * @deprecated * @var string */ public $answer; /** - * Output only. If an external destination was requested, the URI of the - * exported data. + * Output only. Deprecated: Output only. If an external destination was + * requested, the URI of the exported data is deprecated. The persistent + * diagnostic details are stored inside the Diagnostic resource instead. * + * @deprecated * @var string */ public $exportUri; /** - * Output only. Deprecated: Use full_trajectory_steps instead. The complete - * sequence of thoughts and actions (full trajectory). + * Output only. Deprecated: Use full_trajectory_steps instead. Output only. + * The complete sequence of thoughts and actions (full trajectory). * * @deprecated * @var string[] @@ -46,9 +51,12 @@ class GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse exte protected $fullTrajectoryStepsDataType = 'array'; /** - * Output only. The final, high-level answer or diagnostic summary returned by - * the Sherlock worker. + * Output only. Deprecated: Output only. The final, high-level answer or + * diagnostic summary returned by the Sherlock worker is deprecated. The + * persistent analysis summary is stored inside the Diagnostic resource + * instead. * + * @deprecated * @param string $answer */ public function setAnswer($answer) @@ -56,6 +64,7 @@ public function setAnswer($answer) $this->answer = $answer; } /** + * @deprecated * @return string */ public function getAnswer() @@ -63,9 +72,11 @@ public function getAnswer() return $this->answer; } /** - * Output only. If an external destination was requested, the URI of the - * exported data. + * Output only. Deprecated: Output only. If an external destination was + * requested, the URI of the exported data is deprecated. The persistent + * diagnostic details are stored inside the Diagnostic resource instead. * + * @deprecated * @param string $exportUri */ public function setExportUri($exportUri) @@ -73,6 +84,7 @@ public function setExportUri($exportUri) $this->exportUri = $exportUri; } /** + * @deprecated * @return string */ public function getExportUri() @@ -80,8 +92,8 @@ public function getExportUri() return $this->exportUri; } /** - * Output only. Deprecated: Use full_trajectory_steps instead. The complete - * sequence of thoughts and actions (full trajectory). + * Output only. Deprecated: Use full_trajectory_steps instead. Output only. + * The complete sequence of thoughts and actions (full trajectory). * * @deprecated * @param string[] $fullTrajectories @@ -99,9 +111,11 @@ public function getFullTrajectories() return $this->fullTrajectories; } /** - * Output only. The complete sequence of thoughts and actions taken by the - * agent. + * Output only. Deprecated: Output only. The complete sequence of thoughts and + * actions taken by the agent is deprecated under LRO response completions. + * Use the persistent details inside the Diagnostic resource instead. * + * @deprecated * @param GoogleCloudContactcenterinsightsV1alpha1SherlockStep[] $fullTrajectorySteps */ public function setFullTrajectorySteps($fullTrajectorySteps) @@ -109,6 +123,7 @@ public function setFullTrajectorySteps($fullTrajectorySteps) $this->fullTrajectorySteps = $fullTrajectorySteps; } /** + * @deprecated * @return GoogleCloudContactcenterinsightsV1alpha1SherlockStep[] */ public function getFullTrajectorySteps() diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport.php index ec8f267fb6..42e55ff380 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport.php @@ -20,16 +20,41 @@ class GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport extends \Google\Collection { protected $collection_key = 'lossPatterns'; + protected $conversationSlicesType = GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice::class; + protected $conversationSlicesDataType = 'map'; protected $intentStatsType = GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportIntentStats::class; protected $intentStatsDataType = 'array'; protected $lossPatternsType = GoogleCloudContactcenterinsightsV1alpha1LossPattern::class; protected $lossPatternsDataType = 'array'; protected $metricsType = GoogleCloudContactcenterinsightsV1alpha1MetricValue::class; protected $metricsDataType = 'map'; + /** + * Output only. The final report in markdown format. + * + * @var string + */ + public $report; /** - * Output only. A breakdown of metrics grouped by intent. + * Output only. A map of conversation slices used in the report. + * + * @param GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice[] $conversationSlices + */ + public function setConversationSlices($conversationSlices) + { + $this->conversationSlices = $conversationSlices; + } + /** + * @return GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice[] + */ + public function getConversationSlices() + { + return $this->conversationSlices; + } + /** + * Output only. Deprecated: Intent breakdowns are no longer used. * + * @deprecated * @param GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportIntentStats[] $intentStats */ public function setIntentStats($intentStats) @@ -37,6 +62,7 @@ public function setIntentStats($intentStats) $this->intentStats = $intentStats; } /** + * @deprecated * @return GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportIntentStats[] */ public function getIntentStats() @@ -79,6 +105,22 @@ public function getMetrics() { return $this->metrics; } + /** + * Output only. The final report in markdown format. + * + * @param string $report + */ + public function setReport($report) + { + $this->report = $report; + } + /** + * @return string + */ + public function getReport() + { + return $this->report; + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice.php new file mode 100644 index 0000000000..34331d16c3 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice.php @@ -0,0 +1,49 @@ +conversationIds = $conversationIds; + } + /** + * @return string[] + */ + public function getConversationIds() + { + return $this->conversationIds; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice'); diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPattern.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPattern.php index b91806778d..1540c4d848 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPattern.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPattern.php @@ -19,7 +19,7 @@ class GoogleCloudContactcenterinsightsV1alpha1LossPattern extends \Google\Collection { - protected $collection_key = 'conversationIds'; + protected $collection_key = 'links'; /** * Output only. A list of conversation IDs that match this loss pattern. * @@ -50,6 +50,8 @@ class GoogleCloudContactcenterinsightsV1alpha1LossPattern extends \Google\Collec * @var string */ public $id; + protected $linksType = GoogleCloudContactcenterinsightsV1alpha1LossPatternLink::class; + protected $linksDataType = 'array'; /** * Output only. The percentage of conversations that match this loss pattern. * @@ -143,6 +145,22 @@ public function getId() { return $this->id; } + /** + * Output only. A list of links to conversations or bot instructions. + * + * @param GoogleCloudContactcenterinsightsV1alpha1LossPatternLink[] $links + */ + public function setLinks($links) + { + $this->links = $links; + } + /** + * @return GoogleCloudContactcenterinsightsV1alpha1LossPatternLink[] + */ + public function getLinks() + { + return $this->links; + } public function setPercentage($percentage) { $this->percentage = $percentage; diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.php new file mode 100644 index 0000000000..a8ae762e64 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.php @@ -0,0 +1,169 @@ +botInstructionLink = $botInstructionLink; + } + /** + * @return GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink + */ + public function getBotInstructionLink() + { + return $this->botInstructionLink; + } + /** + * A link to a conversation. + * + * @param GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink $conversationLink + */ + public function setConversationLink(GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink $conversationLink) + { + $this->conversationLink = $conversationLink; + } + /** + * @return GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink + */ + public function getConversationLink() + { + return $this->conversationLink; + } + /** + * The end byte index of the highlighted text (exclusive). + * + * @param int $endByteIndex + */ + public function setEndByteIndex($endByteIndex) + { + $this->endByteIndex = $endByteIndex; + } + /** + * @return int + */ + public function getEndByteIndex() + { + return $this->endByteIndex; + } + /** + * The text that is highlighted. (populated for debugging purposes) + * + * @param string $highlightedText + */ + public function setHighlightedText($highlightedText) + { + $this->highlightedText = $highlightedText; + } + /** + * @return string + */ + public function getHighlightedText() + { + return $this->highlightedText; + } + /** + * The location type. + * + * Accepted values: LOCATION_TYPE_UNSPECIFIED, DESCRIPTION, SUGGESTED_FIXES, + * EXAMPLES + * + * @param self::LOCATION_TYPE_* $locationType + */ + public function setLocationType($locationType) + { + $this->locationType = $locationType; + } + /** + * @return self::LOCATION_TYPE_* + */ + public function getLocationType() + { + return $this->locationType; + } + /** + * The start byte index of the highlighted text (inclusive). + * + * @param int $startByteIndex + */ + public function setStartByteIndex($startByteIndex) + { + $this->startByteIndex = $startByteIndex; + } + /** + * @return int + */ + public function getStartByteIndex() + { + return $this->startByteIndex; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudContactcenterinsightsV1alpha1LossPatternLink::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1LossPatternLink'); diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.php new file mode 100644 index 0000000000..12eda29837 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.php @@ -0,0 +1,92 @@ +endLine = $endLine; + } + /** + * @return int + */ + public function getEndLine() + { + return $this->endLine; + } + /** + * The inclusive start line number of the instructions. + * + * @param int $startLine + */ + public function setStartLine($startLine) + { + $this->startLine = $startLine; + } + /** + * @return int + */ + public function getStartLine() + { + return $this->startLine; + } + /** + * The name of the subagent. + * + * @param string $subagent + */ + public function setSubagent($subagent) + { + $this->subagent = $subagent; + } + /** + * @return string + */ + public function getSubagent() + { + return $this->subagent; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink'); diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink.php new file mode 100644 index 0000000000..76a7cc53f1 --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink.php @@ -0,0 +1,48 @@ +conversationId = $conversationId; + } + /** + * @return string + */ + public function getConversationId() + { + return $this->conversationId; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink'); diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1SherlockStep.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1SherlockStep.php index 8f37304790..619f672b91 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1SherlockStep.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1alpha1SherlockStep.php @@ -21,29 +21,117 @@ class GoogleCloudContactcenterinsightsV1alpha1SherlockStep extends \Google\Colle { protected $collection_key = 'toolCalls'; /** - * Output only. Natural language input stimulus. + * Output only. The ID of the agent that produced/received this content. * + * @var string + */ + public $agentId; + protected $contentType = GoogleCloudAiplatformV1Content::class; + protected $contentDataType = ''; + /** + * Output only. List of state changes caused by this specific turn. + * + * @var array[] + */ + public $stateDeltas; + /** + * Output only. Unique ID for this specific turn. + * + * @var string + */ + public $stepId; + /** + * Output only. Deprecated: Use content instead. + * + * @deprecated * @var string[] */ public $textInput; /** - * Output only. The reasoning or internal monologue of the agent. + * Output only. Deprecated: Use content instead. * + * @deprecated * @var string */ public $thought; protected $toolCallsType = GoogleCloudContactcenterinsightsV1alpha1ToolCall::class; protected $toolCallsDataType = 'array'; /** - * Output only. The output response from the tool execution. + * Output only. Deprecated: Use content instead. * + * @deprecated * @var array[] */ public $toolOutput; /** - * Output only. Natural language input stimulus. + * Output only. The ID of the agent that produced/received this content. + * + * @param string $agentId + */ + public function setAgentId($agentId) + { + $this->agentId = $agentId; + } + /** + * @return string + */ + public function getAgentId() + { + return $this->agentId; + } + /** + * Output only. The content of the turn (either Model or User role). + * + * @param GoogleCloudAiplatformV1Content $content + */ + public function setContent(GoogleCloudAiplatformV1Content $content) + { + $this->content = $content; + } + /** + * @return GoogleCloudAiplatformV1Content + */ + public function getContent() + { + return $this->content; + } + /** + * Output only. List of state changes caused by this specific turn. + * + * @param array[] $stateDeltas + */ + public function setStateDeltas($stateDeltas) + { + $this->stateDeltas = $stateDeltas; + } + /** + * @return array[] + */ + public function getStateDeltas() + { + return $this->stateDeltas; + } + /** + * Output only. Unique ID for this specific turn. + * + * @param string $stepId + */ + public function setStepId($stepId) + { + $this->stepId = $stepId; + } + /** + * @return string + */ + public function getStepId() + { + return $this->stepId; + } + /** + * Output only. Deprecated: Use content instead. * + * @deprecated * @param string[] $textInput */ public function setTextInput($textInput) @@ -51,6 +139,7 @@ public function setTextInput($textInput) $this->textInput = $textInput; } /** + * @deprecated * @return string[] */ public function getTextInput() @@ -58,8 +147,9 @@ public function getTextInput() return $this->textInput; } /** - * Output only. The reasoning or internal monologue of the agent. + * Output only. Deprecated: Use content instead. * + * @deprecated * @param string $thought */ public function setThought($thought) @@ -67,6 +157,7 @@ public function setThought($thought) $this->thought = $thought; } /** + * @deprecated * @return string */ public function getThought() @@ -74,8 +165,9 @@ public function getThought() return $this->thought; } /** - * Output only. The tool call issued by the agent. + * Output only. Deprecated: Use content instead. * + * @deprecated * @param GoogleCloudContactcenterinsightsV1alpha1ToolCall[] $toolCalls */ public function setToolCalls($toolCalls) @@ -83,6 +175,7 @@ public function setToolCalls($toolCalls) $this->toolCalls = $toolCalls; } /** + * @deprecated * @return GoogleCloudContactcenterinsightsV1alpha1ToolCall[] */ public function getToolCalls() @@ -90,8 +183,9 @@ public function getToolCalls() return $this->toolCalls; } /** - * Output only. The output response from the tool execution. + * Output only. Deprecated: Use content instead. * + * @deprecated * @param array[] $toolOutput */ public function setToolOutput($toolOutput) @@ -99,6 +193,7 @@ public function setToolOutput($toolOutput) $this->toolOutput = $toolOutput; } /** + * @deprecated * @return array[] */ public function getToolOutput() diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsMetadata.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsMetadata.php index ee0b10d20c..bafa4bbb89 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsMetadata.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsMetadata.php @@ -62,8 +62,8 @@ class GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsMetadata extend */ public $metricType; /** - * Output only. Deprecated: Use partial_trajectory_steps instead. The - * intermediate trajectory updates (partial trajectory). + * Output only. Deprecated: Use partial_trajectory_steps instead. Output only. + * The intermediate trajectory updates (partial trajectory). * * @deprecated * @var string[] @@ -176,8 +176,8 @@ public function getMetricType() return $this->metricType; } /** - * Output only. Deprecated: Use partial_trajectory_steps instead. The - * intermediate trajectory updates (partial trajectory). + * Output only. Deprecated: Use partial_trajectory_steps instead. Output only. + * The intermediate trajectory updates (partial trajectory). * * @deprecated * @param string[] $partialTrajectories diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.php index f27c59fec0..82074ce4fc 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.php @@ -32,9 +32,11 @@ class GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest extends */ public const METRIC_TYPE_CONTAINMENT = 'CONTAINMENT'; /** - * Optional. If true, the request will be validated and a simulation of the - * analysis will be performed without actually executing the task. + * Optional. Deprecated: If true, the request will be validated and a + * simulation of the analysis will be performed without actually executing the + * task. This field is unused. Use validate_only instead. * + * @deprecated * @var bool */ public $dryRun; @@ -45,9 +47,12 @@ class GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest extends */ public $filter; /** - * Optional. If true, the agent will generate a full diagnostic report for all - * sub-agents. + * Optional. Deprecated: If true, the agent will generate a full diagnostic + * report for all sub-agents. Subagent reporting configuration is unused. The + * final diagnostic details are already persisted inside the Diagnostic + * resource instead. * + * @deprecated * @var bool */ public $fullReport; @@ -104,9 +109,11 @@ class GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest extends public $validateOnly; /** - * Optional. If true, the request will be validated and a simulation of the - * analysis will be performed without actually executing the task. + * Optional. Deprecated: If true, the request will be validated and a + * simulation of the analysis will be performed without actually executing the + * task. This field is unused. Use validate_only instead. * + * @deprecated * @param bool $dryRun */ public function setDryRun($dryRun) @@ -114,6 +121,7 @@ public function setDryRun($dryRun) $this->dryRun = $dryRun; } /** + * @deprecated * @return bool */ public function getDryRun() @@ -137,9 +145,12 @@ public function getFilter() return $this->filter; } /** - * Optional. If true, the agent will generate a full diagnostic report for all - * sub-agents. + * Optional. Deprecated: If true, the agent will generate a full diagnostic + * report for all sub-agents. Subagent reporting configuration is unused. The + * final diagnostic details are already persisted inside the Diagnostic + * resource instead. * + * @deprecated * @param bool $fullReport */ public function setFullReport($fullReport) @@ -147,6 +158,7 @@ public function setFullReport($fullReport) $this->fullReport = $fullReport; } /** + * @deprecated * @return bool */ public function getFullReport() @@ -206,8 +218,11 @@ public function getMetricType() return $this->metricType; } /** - * Optional. The configuration for the output of the task. + * Optional. Deprecated: The configuration for the output of the task. The + * export destination is unused. Detailed markdown and conversation slices are + * already persisted inside the Diagnostic resource instead. * + * @deprecated * @param GoogleCloudContactcenterinsightsV1mainOutputConfig $outputConfig */ public function setOutputConfig(GoogleCloudContactcenterinsightsV1mainOutputConfig $outputConfig) @@ -215,6 +230,7 @@ public function setOutputConfig(GoogleCloudContactcenterinsightsV1mainOutputConf $this->outputConfig = $outputConfig; } /** + * @deprecated * @return GoogleCloudContactcenterinsightsV1mainOutputConfig */ public function getOutputConfig() diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse.php index 6258e2e4b5..e6e44f3c88 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse.php @@ -21,22 +21,27 @@ class GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse extend { protected $collection_key = 'fullTrajectorySteps'; /** - * Output only. The final, high-level answer or diagnostic summary returned by - * the Sherlock worker. + * Output only. Deprecated: Output only. The final, high-level answer or + * diagnostic summary returned by the Sherlock worker is deprecated. The + * persistent analysis summary is stored inside the Diagnostic resource + * instead. * + * @deprecated * @var string */ public $answer; /** - * Output only. If an external destination was requested, the URI of the - * exported data. + * Output only. Deprecated: Output only. If an external destination was + * requested, the URI of the exported data is deprecated. The persistent + * diagnostic details are stored inside the Diagnostic resource instead. * + * @deprecated * @var string */ public $exportUri; /** - * Output only. Deprecated: Use full_trajectory_steps instead. The complete - * sequence of thoughts and actions (full trajectory). + * Output only. Deprecated: Use full_trajectory_steps instead. Output only. + * The complete sequence of thoughts and actions (full trajectory). * * @deprecated * @var string[] @@ -46,9 +51,12 @@ class GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse extend protected $fullTrajectoryStepsDataType = 'array'; /** - * Output only. The final, high-level answer or diagnostic summary returned by - * the Sherlock worker. + * Output only. Deprecated: Output only. The final, high-level answer or + * diagnostic summary returned by the Sherlock worker is deprecated. The + * persistent analysis summary is stored inside the Diagnostic resource + * instead. * + * @deprecated * @param string $answer */ public function setAnswer($answer) @@ -56,6 +64,7 @@ public function setAnswer($answer) $this->answer = $answer; } /** + * @deprecated * @return string */ public function getAnswer() @@ -63,9 +72,11 @@ public function getAnswer() return $this->answer; } /** - * Output only. If an external destination was requested, the URI of the - * exported data. + * Output only. Deprecated: Output only. If an external destination was + * requested, the URI of the exported data is deprecated. The persistent + * diagnostic details are stored inside the Diagnostic resource instead. * + * @deprecated * @param string $exportUri */ public function setExportUri($exportUri) @@ -73,6 +84,7 @@ public function setExportUri($exportUri) $this->exportUri = $exportUri; } /** + * @deprecated * @return string */ public function getExportUri() @@ -80,8 +92,8 @@ public function getExportUri() return $this->exportUri; } /** - * Output only. Deprecated: Use full_trajectory_steps instead. The complete - * sequence of thoughts and actions (full trajectory). + * Output only. Deprecated: Use full_trajectory_steps instead. Output only. + * The complete sequence of thoughts and actions (full trajectory). * * @deprecated * @param string[] $fullTrajectories @@ -99,9 +111,11 @@ public function getFullTrajectories() return $this->fullTrajectories; } /** - * Output only. The complete sequence of thoughts and actions taken by the - * agent. + * Output only. Deprecated: Output only. The complete sequence of thoughts and + * actions taken by the agent is deprecated under LRO response completions. + * Use the persistent details inside the Diagnostic resource instead. * + * @deprecated * @param GoogleCloudContactcenterinsightsV1mainSherlockStep[] $fullTrajectorySteps */ public function setFullTrajectorySteps($fullTrajectorySteps) @@ -109,6 +123,7 @@ public function setFullTrajectorySteps($fullTrajectorySteps) $this->fullTrajectorySteps = $fullTrajectorySteps; } /** + * @deprecated * @return GoogleCloudContactcenterinsightsV1mainSherlockStep[] */ public function getFullTrajectorySteps() diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnosticReport.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnosticReport.php index 60df3c0aee..a21e53d561 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnosticReport.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnosticReport.php @@ -20,16 +20,41 @@ class GoogleCloudContactcenterinsightsV1mainDiagnosticReport extends \Google\Collection { protected $collection_key = 'lossPatterns'; + protected $conversationSlicesType = GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice::class; + protected $conversationSlicesDataType = 'map'; protected $intentStatsType = GoogleCloudContactcenterinsightsV1mainDiagnosticReportIntentStats::class; protected $intentStatsDataType = 'array'; protected $lossPatternsType = GoogleCloudContactcenterinsightsV1mainLossPattern::class; protected $lossPatternsDataType = 'array'; protected $metricsType = GoogleCloudContactcenterinsightsV1mainMetricValue::class; protected $metricsDataType = 'map'; + /** + * Output only. The final report in markdown format. + * + * @var string + */ + public $report; /** - * Output only. A breakdown of metrics grouped by intent. + * Output only. A map of conversation slices used in the report. + * + * @param GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice[] $conversationSlices + */ + public function setConversationSlices($conversationSlices) + { + $this->conversationSlices = $conversationSlices; + } + /** + * @return GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice[] + */ + public function getConversationSlices() + { + return $this->conversationSlices; + } + /** + * Output only. Deprecated: Intent breakdowns are no longer used. * + * @deprecated * @param GoogleCloudContactcenterinsightsV1mainDiagnosticReportIntentStats[] $intentStats */ public function setIntentStats($intentStats) @@ -37,6 +62,7 @@ public function setIntentStats($intentStats) $this->intentStats = $intentStats; } /** + * @deprecated * @return GoogleCloudContactcenterinsightsV1mainDiagnosticReportIntentStats[] */ public function getIntentStats() @@ -79,6 +105,22 @@ public function getMetrics() { return $this->metrics; } + /** + * Output only. The final report in markdown format. + * + * @param string $report + */ + public function setReport($report) + { + $this->report = $report; + } + /** + * @return string + */ + public function getReport() + { + return $this->report; + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice.php new file mode 100644 index 0000000000..99d53fa36f --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice.php @@ -0,0 +1,49 @@ +conversationIds = $conversationIds; + } + /** + * @return string[] + */ + public function getConversationIds() + { + return $this->conversationIds; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice'); diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPattern.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPattern.php index b5e56b24c8..ddb9fa3723 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPattern.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPattern.php @@ -19,7 +19,7 @@ class GoogleCloudContactcenterinsightsV1mainLossPattern extends \Google\Collection { - protected $collection_key = 'conversationIds'; + protected $collection_key = 'links'; /** * Output only. A list of conversation IDs that match this loss pattern. * @@ -50,6 +50,8 @@ class GoogleCloudContactcenterinsightsV1mainLossPattern extends \Google\Collecti * @var string */ public $id; + protected $linksType = GoogleCloudContactcenterinsightsV1mainLossPatternLink::class; + protected $linksDataType = 'array'; /** * Output only. The percentage of conversations that match this loss pattern. * @@ -143,6 +145,22 @@ public function getId() { return $this->id; } + /** + * Output only. A list of links to conversations or bot instructions. + * + * @param GoogleCloudContactcenterinsightsV1mainLossPatternLink[] $links + */ + public function setLinks($links) + { + $this->links = $links; + } + /** + * @return GoogleCloudContactcenterinsightsV1mainLossPatternLink[] + */ + public function getLinks() + { + return $this->links; + } public function setPercentage($percentage) { $this->percentage = $percentage; diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPatternLink.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPatternLink.php new file mode 100644 index 0000000000..93f470926b --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPatternLink.php @@ -0,0 +1,169 @@ +botInstructionLink = $botInstructionLink; + } + /** + * @return GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink + */ + public function getBotInstructionLink() + { + return $this->botInstructionLink; + } + /** + * A link to a conversation. + * + * @param GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink $conversationLink + */ + public function setConversationLink(GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink $conversationLink) + { + $this->conversationLink = $conversationLink; + } + /** + * @return GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink + */ + public function getConversationLink() + { + return $this->conversationLink; + } + /** + * The end byte index of the highlighted text (exclusive). + * + * @param int $endByteIndex + */ + public function setEndByteIndex($endByteIndex) + { + $this->endByteIndex = $endByteIndex; + } + /** + * @return int + */ + public function getEndByteIndex() + { + return $this->endByteIndex; + } + /** + * The text that is highlighted. (populated for debugging purposes) + * + * @param string $highlightedText + */ + public function setHighlightedText($highlightedText) + { + $this->highlightedText = $highlightedText; + } + /** + * @return string + */ + public function getHighlightedText() + { + return $this->highlightedText; + } + /** + * The location type. + * + * Accepted values: LOCATION_TYPE_UNSPECIFIED, DESCRIPTION, SUGGESTED_FIXES, + * EXAMPLES + * + * @param self::LOCATION_TYPE_* $locationType + */ + public function setLocationType($locationType) + { + $this->locationType = $locationType; + } + /** + * @return self::LOCATION_TYPE_* + */ + public function getLocationType() + { + return $this->locationType; + } + /** + * The start byte index of the highlighted text (inclusive). + * + * @param int $startByteIndex + */ + public function setStartByteIndex($startByteIndex) + { + $this->startByteIndex = $startByteIndex; + } + /** + * @return int + */ + public function getStartByteIndex() + { + return $this->startByteIndex; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudContactcenterinsightsV1mainLossPatternLink::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1mainLossPatternLink'); diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.php new file mode 100644 index 0000000000..8a7d7d8fee --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.php @@ -0,0 +1,92 @@ +endLine = $endLine; + } + /** + * @return int + */ + public function getEndLine() + { + return $this->endLine; + } + /** + * The inclusive start line number of the instructions. + * + * @param int $startLine + */ + public function setStartLine($startLine) + { + $this->startLine = $startLine; + } + /** + * @return int + */ + public function getStartLine() + { + return $this->startLine; + } + /** + * The name of the subagent. + * + * @param string $subagent + */ + public function setSubagent($subagent) + { + $this->subagent = $subagent; + } + /** + * @return string + */ + public function getSubagent() + { + return $this->subagent; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink'); diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink.php new file mode 100644 index 0000000000..1a583e55ea --- /dev/null +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink.php @@ -0,0 +1,48 @@ +conversationId = $conversationId; + } + /** + * @return string + */ + public function getConversationId() + { + return $this->conversationId; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink'); diff --git a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainSherlockStep.php b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainSherlockStep.php index c99519dce6..450185c0e1 100644 --- a/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainSherlockStep.php +++ b/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1mainSherlockStep.php @@ -21,29 +21,117 @@ class GoogleCloudContactcenterinsightsV1mainSherlockStep extends \Google\Collect { protected $collection_key = 'toolCalls'; /** - * Output only. Natural language input stimulus. + * Output only. The ID of the agent that produced/received this content. * + * @var string + */ + public $agentId; + protected $contentType = GoogleCloudAiplatformV1Content::class; + protected $contentDataType = ''; + /** + * Output only. List of state changes caused by this specific turn. + * + * @var array[] + */ + public $stateDeltas; + /** + * Output only. Unique ID for this specific turn. + * + * @var string + */ + public $stepId; + /** + * Output only. Deprecated: Use content instead. + * + * @deprecated * @var string[] */ public $textInput; /** - * Output only. The reasoning or internal monologue of the agent. + * Output only. Deprecated: Use content instead. * + * @deprecated * @var string */ public $thought; protected $toolCallsType = GoogleCloudContactcenterinsightsV1mainToolCall::class; protected $toolCallsDataType = 'array'; /** - * Output only. The output response from the tool execution. + * Output only. Deprecated: Use content instead. * + * @deprecated * @var array[] */ public $toolOutput; /** - * Output only. Natural language input stimulus. + * Output only. The ID of the agent that produced/received this content. + * + * @param string $agentId + */ + public function setAgentId($agentId) + { + $this->agentId = $agentId; + } + /** + * @return string + */ + public function getAgentId() + { + return $this->agentId; + } + /** + * Output only. The content of the turn (either Model or User role). + * + * @param GoogleCloudAiplatformV1Content $content + */ + public function setContent(GoogleCloudAiplatformV1Content $content) + { + $this->content = $content; + } + /** + * @return GoogleCloudAiplatformV1Content + */ + public function getContent() + { + return $this->content; + } + /** + * Output only. List of state changes caused by this specific turn. + * + * @param array[] $stateDeltas + */ + public function setStateDeltas($stateDeltas) + { + $this->stateDeltas = $stateDeltas; + } + /** + * @return array[] + */ + public function getStateDeltas() + { + return $this->stateDeltas; + } + /** + * Output only. Unique ID for this specific turn. + * + * @param string $stepId + */ + public function setStepId($stepId) + { + $this->stepId = $stepId; + } + /** + * @return string + */ + public function getStepId() + { + return $this->stepId; + } + /** + * Output only. Deprecated: Use content instead. * + * @deprecated * @param string[] $textInput */ public function setTextInput($textInput) @@ -51,6 +139,7 @@ public function setTextInput($textInput) $this->textInput = $textInput; } /** + * @deprecated * @return string[] */ public function getTextInput() @@ -58,8 +147,9 @@ public function getTextInput() return $this->textInput; } /** - * Output only. The reasoning or internal monologue of the agent. + * Output only. Deprecated: Use content instead. * + * @deprecated * @param string $thought */ public function setThought($thought) @@ -67,6 +157,7 @@ public function setThought($thought) $this->thought = $thought; } /** + * @deprecated * @return string */ public function getThought() @@ -74,8 +165,9 @@ public function getThought() return $this->thought; } /** - * Output only. The tool call issued by the agent. + * Output only. Deprecated: Use content instead. * + * @deprecated * @param GoogleCloudContactcenterinsightsV1mainToolCall[] $toolCalls */ public function setToolCalls($toolCalls) @@ -83,6 +175,7 @@ public function setToolCalls($toolCalls) $this->toolCalls = $toolCalls; } /** + * @deprecated * @return GoogleCloudContactcenterinsightsV1mainToolCall[] */ public function getToolCalls() @@ -90,8 +183,9 @@ public function getToolCalls() return $this->toolCalls; } /** - * Output only. The output response from the tool execution. + * Output only. Deprecated: Use content instead. * + * @deprecated * @param array[] $toolOutput */ public function setToolOutput($toolOutput) @@ -99,6 +193,7 @@ public function setToolOutput($toolOutput) $this->toolOutput = $toolOutput; } /** + * @deprecated * @return array[] */ public function getToolOutput()