📂 File Browser

AgentAI/vendor/google/apiclient-services/src/CustomerEngagementSuite
🌙 Dark 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
🐘 App.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: SessionConfig.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 SessionConfig extends \Google\Collection
{
  protected $collection_key = 'historicalContexts';
  /**
   * Optional. The deployment of the app to use for the session. Format: `projec
   * ts/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
   *
   * @var string
   */
  public $deployment;
  /**
   * Optional. Whether to enable streaming text outputs from the model. By
   * default, text outputs from the model are collected before sending to the
   * client. NOTE: This is only supported for text (non-voice) sessions via
   * StreamRunSession or BidiRunSession.
   *
   * @var bool
   */
  public $enableTextStreaming;
  /**
   * Optional. The entry agent to handle the session. If not specified, the
   * session will be handled by the root agent of the app. Format:
   * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
   *
   * @var string
   */
  public $entryAgent;
  protected $historicalContextsType = Message::class;
  protected $historicalContextsDataType = 'array';
  protected $inputAudioConfigType = InputAudioConfig::class;
  protected $inputAudioConfigDataType = '';
  protected $outputAudioConfigType = OutputAudioConfig::class;
  protected $outputAudioConfigDataType = '';
  protected $remoteDialogflowQueryParametersType = SessionConfigRemoteDialogflowQueryParameters::class;
  protected $remoteDialogflowQueryParametersDataType = '';
  /**
   * Optional. The time zone of the user. If provided, the agent will use the
   * time zone for date and time related variables. Otherwise, the agent will
   * use the time zone specified in the App.time_zone_settings. The format is
   * the IANA Time Zone Database time zone, e.g. "America/Los_Angeles".
   *
   * @var string
   */
  public $timeZone;
  /**
   * Optional. Whether to use tool fakes for the session. If this field is set,
   * the agent will attempt use tool fakes instead of calling the real tools.
   *
   * @var bool
   */
  public $useToolFakes;

  /**
   * Optional. The deployment of the app to use for the session. Format: `projec
   * ts/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
   *
   * @param string $deployment
   */
  public function setDeployment($deployment)
  {
    $this->deployment = $deployment;
  }
  /**
   * @return string
   */
  public function getDeployment()
  {
    return $this->deployment;
  }
  /**
   * Optional. Whether to enable streaming text outputs from the model. By
   * default, text outputs from the model are collected before sending to the
   * client. NOTE: This is only supported for text (non-voice) sessions via
   * StreamRunSession or BidiRunSession.
   *
   * @param bool $enableTextStreaming
   */
  public function setEnableTextStreaming($enableTextStreaming)
  {
    $this->enableTextStreaming = $enableTextStreaming;
  }
  /**
   * @return bool
   */
  public function getEnableTextStreaming()
  {
    return $this->enableTextStreaming;
  }
  /**
   * Optional. The entry agent to handle the session. If not specified, the
   * session will be handled by the root agent of the app. Format:
   * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
   *
   * @param string $entryAgent
   */
  public function setEntryAgent($entryAgent)
  {
    $this->entryAgent = $entryAgent;
  }
  /**
   * @return string
   */
  public function getEntryAgent()
  {
    return $this->entryAgent;
  }
  /**
   * Optional. The historical context of the session, including user inputs,
   * agent responses, and other messages. Typically, CES agent would manage
   * session automatically so client doesn't need to explicitly populate this
   * field. However, client can optionally override the historical contexts to
   * force the session start from certain state.
   *
   * @param Message[] $historicalContexts
   */
  public function setHistoricalContexts($historicalContexts)
  {
    $this->historicalContexts = $historicalContexts;
  }
  /**
   * @return Message[]
   */
  public function getHistoricalContexts()
  {
    return $this->historicalContexts;
  }
  /**
   * Optional. Configuration for processing the input audio.
   *
   * @param InputAudioConfig $inputAudioConfig
   */
  public function setInputAudioConfig(InputAudioConfig $inputAudioConfig)
  {
    $this->inputAudioConfig = $inputAudioConfig;
  }
  /**
   * @return InputAudioConfig
   */
  public function getInputAudioConfig()
  {
    return $this->inputAudioConfig;
  }
  /**
   * Optional. Configuration for generating the output audio.
   *
   * @param OutputAudioConfig $outputAudioConfig
   */
  public function setOutputAudioConfig(OutputAudioConfig $outputAudioConfig)
  {
    $this->outputAudioConfig = $outputAudioConfig;
  }
  /**
   * @return OutputAudioConfig
   */
  public function getOutputAudioConfig()
  {
    return $this->outputAudioConfig;
  }
  /**
   * Optional. [QueryParameters](https://cloud.google.com/dialogflow/cx/docs/ref
   * erence/rpc/google.cloud.dialogflow.cx.v3#queryparameters) to send to the
   * remote
   * [Dialogflow](https://cloud.google.com/dialogflow/cx/docs/concept/console-
   * conversational-agents) agent when the session control is transferred to the
   * remote agent.
   *
   * @param SessionConfigRemoteDialogflowQueryParameters $remoteDialogflowQueryParameters
   */
  public function setRemoteDialogflowQueryParameters(SessionConfigRemoteDialogflowQueryParameters $remoteDialogflowQueryParameters)
  {
    $this->remoteDialogflowQueryParameters = $remoteDialogflowQueryParameters;
  }
  /**
   * @return SessionConfigRemoteDialogflowQueryParameters
   */
  public function getRemoteDialogflowQueryParameters()
  {
    return $this->remoteDialogflowQueryParameters;
  }
  /**
   * Optional. The time zone of the user. If provided, the agent will use the
   * time zone for date and time related variables. Otherwise, the agent will
   * use the time zone specified in the App.time_zone_settings. The format is
   * the IANA Time Zone Database time zone, e.g. "America/Los_Angeles".
   *
   * @param string $timeZone
   */
  public function setTimeZone($timeZone)
  {
    $this->timeZone = $timeZone;
  }
  /**
   * @return string
   */
  public function getTimeZone()
  {
    return $this->timeZone;
  }
  /**
   * Optional. Whether to use tool fakes for the session. If this field is set,
   * the agent will attempt use tool fakes instead of calling the real tools.
   *
   * @param bool $useToolFakes
   */
  public function setUseToolFakes($useToolFakes)
  {
    $this->useToolFakes = $useToolFakes;
  }
  /**
   * @return bool
   */
  public function getUseToolFakes()
  {
    return $this->useToolFakes;
  }
}

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