πŸ“‚ File Browser

/AgentAI/vendor/google/apiclient-services/src/CustomerEngagementSuite
β˜€οΈ Light Mode
🎯 Quick Launch:

πŸ“ Directories

πŸ“ Resource/ πŸ”“ Open

πŸ“„ Files

🐘 Action.php
β–Ά Open πŸ“„ View Source
🐘 ActionEntityOperation.php
β–Ά Open πŸ“„ View Source
🐘 Agent.php
β–Ά Open πŸ“„ View Source
🐘 AgentAgentToolset.php
β–Ά Open πŸ“„ View Source
🐘 AgentLlmAgent.php
β–Ά Open πŸ“„ View Source
🐘 AgentRemoteDialogflowAgent.php
β–Ά Open πŸ“„ View Source
🐘 AgentTool.php
β–Ά Open πŸ“„ View Source
🐘 AgentTransfer.php
β–Ά Open πŸ“„ View Source
🐘 AmbientSoundConfig.php
β–Ά Open πŸ“„ View Source
🐘 ApiAuthentication.php
β–Ά Open πŸ“„ View Source
🐘 ApiKeyConfig.php
β–Ά Open πŸ“„ View Source
🐘 AppSnapshot.php
β–Ά Open πŸ“„ View Source
🐘 AppVariableDeclaration.php
β–Ά Open πŸ“„ View Source
🐘 AppVersion.php
β–Ά Open πŸ“„ View Source
🐘 AudioProcessingConfig.php
β–Ά Open πŸ“„ View Source
🐘 AudioRecordingConfig.php
β–Ά Open πŸ“„ View Source
🐘 BargeInConfig.php
β–Ά Open πŸ“„ View Source
🐘 BatchDeleteConversationsRequest.php
β–Ά Open πŸ“„ View Source
🐘 BearerTokenConfig.php
β–Ά Open πŸ“„ View Source
🐘 BigQueryExportSettings.php
β–Ά Open πŸ“„ View Source
🐘 Blob.php
β–Ά Open πŸ“„ View Source
🐘 Callback.php
β–Ά Open πŸ“„ View Source
🐘 CancelOperationRequest.php
β–Ά Open πŸ“„ View Source
🐘 CesEmpty.php
β–Ά Open πŸ“„ View Source
🐘 Changelog.php
β–Ά Open πŸ“„ View Source
🐘 ChannelProfile.php
β–Ά Open πŸ“„ View Source
🐘 ChannelProfilePersonaProperty.php
β–Ά Open πŸ“„ View Source
🐘 ChannelProfileWebWidgetConfig.php
β–Ά Open πŸ“„ View Source
🐘 ChannelProfileWebWidgetConfigSecuritySettings.php
β–Ά Open πŸ“„ View Source
🐘 Chunk.php
β–Ά Open πŸ“„ View Source
🐘 Citations.php
β–Ά Open πŸ“„ View Source
🐘 CitationsCitedChunk.php
β–Ά Open πŸ“„ View Source
🐘 ClientCertificateSettings.php
β–Ά Open πŸ“„ View Source
🐘 ClientFunction.php
β–Ά Open πŸ“„ View Source
🐘 CloudLoggingSettings.php
β–Ά Open πŸ“„ View Source
🐘 CodeBlock.php
β–Ά Open πŸ“„ View Source
🐘 ConnectorTool.php
β–Ά Open πŸ“„ View Source
🐘 ConnectorToolset.php
β–Ά Open πŸ“„ View Source
🐘 Conversation.php
β–Ά Open πŸ“„ View Source
🐘 ConversationLoggingSettings.php
β–Ά Open πŸ“„ View Source
🐘 ConversationTurn.php
β–Ά Open πŸ“„ View Source
🐘 DataStore.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreConnectorConfig.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreSettings.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreSettingsEngine.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreTool.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreToolBoostSpec.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreToolBoostSpecConditionBoostSpec.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreToolBoostSpecConditionBoostSpecBoostControlSpec.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreToolBoostSpecConditionBoostSpecBoostControlSpecControlPoint.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreToolBoostSpecs.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreToolDataStoreSource.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreToolEngineSource.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreToolGroundingConfig.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreToolModalityConfig.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreToolRewriterConfig.php
β–Ά Open πŸ“„ View Source
🐘 DataStoreToolSummarizationConfig.php
β–Ά Open πŸ“„ View Source
🐘 Deployment.php
β–Ά Open πŸ“„ View Source
🐘 EndSession.php
β–Ά Open πŸ“„ View Source
🐘 EndUserAuthConfig.php
β–Ά Open πŸ“„ View Source
🐘 EndUserAuthConfigOauth2AuthCodeConfig.php
β–Ά Open πŸ“„ View Source
🐘 EndUserAuthConfigOauth2JwtBearerConfig.php
β–Ά Open πŸ“„ View Source
🐘 EndpointControlPolicy.php
β–Ά Open πŸ“„ View Source
🐘 ErrorHandlingSettings.php
β–Ά Open πŸ“„ View Source
🐘 ErrorHandlingSettingsEndSessionConfig.php
β–Ά Open πŸ“„ View Source
🐘 ErrorHandlingSettingsFallbackResponseConfig.php
β–Ά Open πŸ“„ View Source
🐘 EvaluationMetricsThresholds.php
β–Ά Open πŸ“„ View Source
🐘 EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds.php
β–Ά Open πŸ“„ View Source
🐘 EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds.php
β–Ά Open πŸ“„ View Source
🐘 EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds.php
β–Ά Open πŸ“„ View Source
🐘 EvaluationMetricsThresholdsToolMatchingSettings.php
β–Ά Open πŸ“„ View Source
🐘 Event.php
β–Ά Open πŸ“„ View Source
🐘 Example.php
β–Ά Open πŸ“„ View Source
🐘 ExecuteToolRequest.php
β–Ά Open πŸ“„ View Source
🐘 ExecuteToolResponse.php
β–Ά Open πŸ“„ View Source
🐘 ExperimentConfig.php
β–Ά Open πŸ“„ View Source
🐘 ExperimentConfigVersionRelease.php
β–Ά Open πŸ“„ View Source
🐘 ExperimentConfigVersionReleaseTrafficAllocation.php
β–Ά Open πŸ“„ View Source
🐘 ExportAppRequest.php
β–Ά Open πŸ“„ View Source
🐘 ExportAppResponse.php
β–Ά Open πŸ“„ View Source
🐘 ExpressionCondition.php
β–Ά Open πŸ“„ View Source
🐘 FileSearchTool.php
β–Ά Open πŸ“„ View Source
🐘 GenerateChatTokenRequest.php
β–Ά Open πŸ“„ View Source
🐘 GenerateChatTokenResponse.php
β–Ά Open πŸ“„ View Source
🐘 GoogleSearchSuggestions.php
β–Ά Open πŸ“„ View Source
🐘 GoogleSearchTool.php
β–Ά Open πŸ“„ View Source
🐘 GoogleSearchToolPromptConfig.php
β–Ά Open πŸ“„ View Source
🐘 Guardrail.php
β–Ά Open πŸ“„ View Source
🐘 GuardrailCodeCallback.php
β–Ά Open πŸ“„ View Source
🐘 GuardrailContentFilter.php
β–Ά Open πŸ“„ View Source
🐘 GuardrailLlmPolicy.php
β–Ά Open πŸ“„ View Source
🐘 GuardrailLlmPromptSecurity.php
β–Ά Open πŸ“„ View Source
🐘 GuardrailLlmPromptSecurityDefaultSecuritySettings.php
β–Ά Open πŸ“„ View Source
🐘 GuardrailModelSafety.php
β–Ά Open πŸ“„ View Source
🐘 GuardrailModelSafetySafetySetting.php
β–Ά Open πŸ“„ View Source
🐘 Image.php
β–Ά Open πŸ“„ View Source
🐘 ImportAppRequest.php
β–Ά Open πŸ“„ View Source
🐘 ImportAppRequestImportOptions.php
β–Ά Open πŸ“„ View Source
🐘 ImportAppResponse.php
β–Ά Open πŸ“„ View Source
🐘 InputAudioConfig.php
β–Ά Open πŸ“„ View Source
🐘 LanguageSettings.php
β–Ά Open πŸ“„ View Source
🐘 ListAgentsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListAppVersionsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListAppsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListChangelogsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListConversationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListDeploymentsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListExamplesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListGuardrailsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListLocationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListOperationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListToolsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListToolsetsResponse.php
β–Ά Open πŸ“„ View Source
🐘 Location.php
β–Ά Open πŸ“„ View Source
🐘 LoggingSettings.php
β–Ά Open πŸ“„ View Source
🐘 McpTool.php
β–Ά Open πŸ“„ View Source
🐘 McpToolset.php
β–Ά Open πŸ“„ View Source
🐘 Message.php
β–Ά Open πŸ“„ View Source
🐘 MetricAnalysisSettings.php
β–Ά Open πŸ“„ View Source
🐘 MockConfig.php
β–Ά Open πŸ“„ View Source
🐘 MockedToolCall.php
β–Ά Open πŸ“„ View Source
🐘 ModelSettings.php
β–Ά Open πŸ“„ View Source
🐘 OAuthConfig.php
β–Ά Open πŸ“„ View Source
🐘 Omnichannel.php
β–Ά Open πŸ“„ View Source
🐘 OmnichannelIntegrationConfig.php
β–Ά Open πŸ“„ View Source
🐘 OmnichannelIntegrationConfigCesAppConfig.php
β–Ά Open πŸ“„ View Source
🐘 OmnichannelIntegrationConfigChannelConfig.php
β–Ά Open πŸ“„ View Source
🐘 OmnichannelIntegrationConfigRoutingConfig.php
β–Ά Open πŸ“„ View Source
🐘 OmnichannelIntegrationConfigSubscriberConfig.php
β–Ά Open πŸ“„ View Source
🐘 OmnichannelIntegrationConfigWhatsappConfig.php
β–Ά Open πŸ“„ View Source
🐘 OmnichannelOperationMetadata.php
β–Ά Open πŸ“„ View Source
🐘 OpenApiTool.php
β–Ά Open πŸ“„ View Source
🐘 OpenApiToolset.php
β–Ά Open πŸ“„ View Source
🐘 Operation.php
β–Ά Open πŸ“„ View Source
🐘 OperationMetadata.php
β–Ά Open πŸ“„ View Source
🐘 OutputAudioConfig.php
β–Ά Open πŸ“„ View Source
🐘 PythonCodeCondition.php
β–Ά Open πŸ“„ View Source
🐘 PythonFunction.php
β–Ά Open πŸ“„ View Source
🐘 RedactionConfig.php
β–Ά Open πŸ“„ View Source
🐘 RestoreAppVersionRequest.php
β–Ά Open πŸ“„ View Source
🐘 RetrieveToolSchemaRequest.php
β–Ά Open πŸ“„ View Source
🐘 RetrieveToolSchemaResponse.php
β–Ά Open πŸ“„ View Source
🐘 RetrieveToolsRequest.php
β–Ά Open πŸ“„ View Source
🐘 RetrieveToolsResponse.php
β–Ά Open πŸ“„ View Source
🐘 RunSessionRequest.php
β–Ά Open πŸ“„ View Source
🐘 RunSessionResponse.php
β–Ά Open πŸ“„ View Source
🐘 Schema.php
β–Ά Open πŸ“„ View Source
🐘 SecuritySettings.php
β–Ά Open πŸ“„ View Source
🐘 ServiceAccountAuthConfig.php
β–Ά Open πŸ“„ View Source
🐘 ServiceAgentIdTokenAuthConfig.php
β–Ά Open πŸ“„ View Source
🐘 ServiceDirectoryConfig.php
β–Ά Open πŸ“„ View Source
🐘 SessionConfig.php
β–Ά Open πŸ“„ View Source
🐘 SessionConfigRemoteDialogflowQueryParameters.php
β–Ά Open πŸ“„ View Source
🐘 SessionInput.php
β–Ά Open πŸ“„ View Source
🐘 SessionOutput.php
β–Ά Open πŸ“„ View Source
🐘 SessionOutputDiagnosticInfo.php
β–Ά Open πŸ“„ View Source
🐘 Span.php
β–Ά Open πŸ“„ View Source
🐘 Status.php
β–Ά Open πŸ“„ View Source
🐘 SynthesizeSpeechConfig.php
β–Ά Open πŸ“„ View Source
🐘 SystemTool.php
β–Ά Open πŸ“„ View Source
🐘 TimeZoneSettings.php
β–Ά Open πŸ“„ View Source
🐘 TlsConfig.php
β–Ά Open πŸ“„ View Source
🐘 TlsConfigCaCert.php
β–Ά Open πŸ“„ View Source
🐘 Tool.php
β–Ά Open πŸ“„ View Source
🐘 ToolCall.php
β–Ά Open πŸ“„ View Source
🐘 ToolCalls.php
β–Ά Open πŸ“„ View Source
🐘 ToolFakeConfig.php
β–Ά Open πŸ“„ View Source
🐘 ToolResponse.php
β–Ά Open πŸ“„ View Source
🐘 ToolResponses.php
β–Ά Open πŸ“„ View Source
🐘 Toolset.php
β–Ά Open πŸ“„ View Source
🐘 ToolsetTool.php
β–Ά Open πŸ“„ View Source
🐘 TransferRule.php
β–Ά Open πŸ“„ View Source
🐘 TransferRuleDeterministicTransfer.php
β–Ά Open πŸ“„ View Source
🐘 TransferRuleDisablePlannerTransfer.php
β–Ά Open πŸ“„ View Source
🐘 TriggerAction.php
β–Ά Open πŸ“„ View Source
🐘 TriggerActionGenerativeAnswer.php
β–Ά Open πŸ“„ View Source
🐘 TriggerActionRespondImmediately.php
β–Ά Open πŸ“„ View Source
🐘 TriggerActionResponse.php
β–Ά Open πŸ“„ View Source
🐘 TriggerActionTransferAgent.php
β–Ά Open πŸ“„ View Source
🐘 WebSearchQuery.php
β–Ά Open πŸ“„ View Source
🐘 WidgetTool.php
β–Ά Open πŸ“„ View Source
🐘 WidgetToolDataMapping.php
β–Ά Open πŸ“„ View Source
🐘 WidgetToolTextResponseConfig.php
β–Ά Open πŸ“„ View Source

πŸ“„ Source: SessionOutput.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\CustomerEngagementSuite;

class SessionOutput extends \Google\Model
{
  /**
   * Output audio from the CES agent.
   *
   * @var string
   */
  public $audio;
  protected $citationsType = Citations::class;
  protected $citationsDataType = '';
  protected $diagnosticInfoType = SessionOutputDiagnosticInfo::class;
  protected $diagnosticInfoDataType = '';
  protected $endSessionType = EndSession::class;
  protected $endSessionDataType = '';
  protected $googleSearchSuggestionsType = GoogleSearchSuggestions::class;
  protected $googleSearchSuggestionsDataType = '';
  /**
   * Custom payload with structured output from the CES agent.
   *
   * @var array[]
   */
  public $payload;
  /**
   * Output text from the CES agent.
   *
   * @var string
   */
  public $text;
  protected $toolCallsType = ToolCalls::class;
  protected $toolCallsDataType = '';
  /**
   * If true, the CES agent has detected the end of the current conversation
   * turn and will provide no further output for this turn.
   *
   * @var bool
   */
  public $turnCompleted;
  /**
   * Indicates the sequential order of conversation turn to which this output
   * belongs to, starting from 1.
   *
   * @var int
   */
  public $turnIndex;

  /**
   * Output audio from the CES agent.
   *
   * @param string $audio
   */
  public function setAudio($audio)
  {
    $this->audio = $audio;
  }
  /**
   * @return string
   */
  public function getAudio()
  {
    return $this->audio;
  }
  /**
   * Citations that provide the source information for the agent's generated
   * text.
   *
   * @param Citations $citations
   */
  public function setCitations(Citations $citations)
  {
    $this->citations = $citations;
  }
  /**
   * @return Citations
   */
  public function getCitations()
  {
    return $this->citations;
  }
  /**
   * Optional. Diagnostic information contains execution details during the
   * processing of the input. Only populated in the last SessionOutput (with
   * `turn_completed=true`) for each turn.
   *
   * @param SessionOutputDiagnosticInfo $diagnosticInfo
   */
  public function setDiagnosticInfo(SessionOutputDiagnosticInfo $diagnosticInfo)
  {
    $this->diagnosticInfo = $diagnosticInfo;
  }
  /**
   * @return SessionOutputDiagnosticInfo
   */
  public function getDiagnosticInfo()
  {
    return $this->diagnosticInfo;
  }
  /**
   * Indicates the session has ended.
   *
   * @param EndSession $endSession
   */
  public function setEndSession(EndSession $endSession)
  {
    $this->endSession = $endSession;
  }
  /**
   * @return EndSession
   */
  public function getEndSession()
  {
    return $this->endSession;
  }
  /**
   * The suggestions returned from Google Search as a result of invoking the
   * GoogleSearchTool.
   *
   * @param GoogleSearchSuggestions $googleSearchSuggestions
   */
  public function setGoogleSearchSuggestions(GoogleSearchSuggestions $googleSearchSuggestions)
  {
    $this->googleSearchSuggestions = $googleSearchSuggestions;
  }
  /**
   * @return GoogleSearchSuggestions
   */
  public function getGoogleSearchSuggestions()
  {
    return $this->googleSearchSuggestions;
  }
  /**
   * Custom payload with structured output from the CES agent.
   *
   * @param array[] $payload
   */
  public function setPayload($payload)
  {
    $this->payload = $payload;
  }
  /**
   * @return array[]
   */
  public function getPayload()
  {
    return $this->payload;
  }
  /**
   * Output text from the CES agent.
   *
   * @param string $text
   */
  public function setText($text)
  {
    $this->text = $text;
  }
  /**
   * @return string
   */
  public function getText()
  {
    return $this->text;
  }
  /**
   * Request for the client to execute the tools.
   *
   * @param ToolCalls $toolCalls
   */
  public function setToolCalls(ToolCalls $toolCalls)
  {
    $this->toolCalls = $toolCalls;
  }
  /**
   * @return ToolCalls
   */
  public function getToolCalls()
  {
    return $this->toolCalls;
  }
  /**
   * If true, the CES agent has detected the end of the current conversation
   * turn and will provide no further output for this turn.
   *
   * @param bool $turnCompleted
   */
  public function setTurnCompleted($turnCompleted)
  {
    $this->turnCompleted = $turnCompleted;
  }
  /**
   * @return bool
   */
  public function getTurnCompleted()
  {
    return $this->turnCompleted;
  }
  /**
   * Indicates the sequential order of conversation turn to which this output
   * belongs to, starting from 1.
   *
   * @param int $turnIndex
   */
  public function setTurnIndex($turnIndex)
  {
    $this->turnIndex = $turnIndex;
  }
  /**
   * @return int
   */
  public function getTurnIndex()
  {
    return $this->turnIndex;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SessionOutput::class, 'Google_Service_CustomerEngagementSuite_SessionOutput');
← Back