📂 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: Agent.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 Agent extends \Google\Collection
{
  protected $collection_key = 'transferRules';
  protected $afterAgentCallbacksType = Callback::class;
  protected $afterAgentCallbacksDataType = 'array';
  protected $afterModelCallbacksType = Callback::class;
  protected $afterModelCallbacksDataType = 'array';
  protected $afterToolCallbacksType = Callback::class;
  protected $afterToolCallbacksDataType = 'array';
  protected $beforeAgentCallbacksType = Callback::class;
  protected $beforeAgentCallbacksDataType = 'array';
  protected $beforeModelCallbacksType = Callback::class;
  protected $beforeModelCallbacksDataType = 'array';
  protected $beforeToolCallbacksType = Callback::class;
  protected $beforeToolCallbacksDataType = 'array';
  /**
   * Optional. List of child agents in the agent tree. Format:
   * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
   *
   * @var string[]
   */
  public $childAgents;
  /**
   * Output only. Timestamp when the agent was created.
   *
   * @var string
   */
  public $createTime;
  /**
   * Optional. Human-readable description of the agent.
   *
   * @var string
   */
  public $description;
  /**
   * Required. Display name of the agent.
   *
   * @var string
   */
  public $displayName;
  /**
   * Etag used to ensure the object hasn't changed during a read-modify-write
   * operation. If the etag is empty, the update will overwrite any concurrent
   * changes.
   *
   * @var string
   */
  public $etag;
  /**
   * Output only. If the agent is generated by the LLM assistant, this field
   * contains a descriptive summary of the generation.
   *
   * @var string
   */
  public $generatedSummary;
  /**
   * Optional. List of guardrails for the agent. Format:
   * `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}`
   *
   * @var string[]
   */
  public $guardrails;
  /**
   * Optional. Instructions for the LLM model to guide the agent's behavior.
   *
   * @var string
   */
  public $instruction;
  protected $llmAgentType = AgentLlmAgent::class;
  protected $llmAgentDataType = '';
  protected $modelSettingsType = ModelSettings::class;
  protected $modelSettingsDataType = '';
  /**
   * Identifier. The unique identifier of the agent. Format:
   * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
   *
   * @var string
   */
  public $name;
  protected $remoteDialogflowAgentType = AgentRemoteDialogflowAgent::class;
  protected $remoteDialogflowAgentDataType = '';
  /**
   * Optional. List of available tools for the agent. Format:
   * `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
   *
   * @var string[]
   */
  public $tools;
  protected $toolsetsType = AgentAgentToolset::class;
  protected $toolsetsDataType = 'array';
  protected $transferRulesType = TransferRule::class;
  protected $transferRulesDataType = 'array';
  /**
   * Output only. Timestamp when the agent was last updated.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Optional. The callbacks to execute after the agent is called. The provided
   * callbacks are executed sequentially in the exact order they are given in
   * the list. If a callback returns an overridden response, execution stops and
   * any remaining callbacks are skipped.
   *
   * @param Callback[] $afterAgentCallbacks
   */
  public function setAfterAgentCallbacks($afterAgentCallbacks)
  {
    $this->afterAgentCallbacks = $afterAgentCallbacks;
  }
  /**
   * @return Callback[]
   */
  public function getAfterAgentCallbacks()
  {
    return $this->afterAgentCallbacks;
  }
  /**
   * Optional. The callbacks to execute after the model is called. If there are
   * multiple calls to the model, the callback will be executed multiple times.
   * The provided callbacks are executed sequentially in the exact order they
   * are given in the list. If a callback returns an overridden response,
   * execution stops and any remaining callbacks are skipped.
   *
   * @param Callback[] $afterModelCallbacks
   */
  public function setAfterModelCallbacks($afterModelCallbacks)
  {
    $this->afterModelCallbacks = $afterModelCallbacks;
  }
  /**
   * @return Callback[]
   */
  public function getAfterModelCallbacks()
  {
    return $this->afterModelCallbacks;
  }
  /**
   * Optional. The callbacks to execute after the tool is invoked. If there are
   * multiple tool invocations, the callback will be executed multiple times.
   * The provided callbacks are executed sequentially in the exact order they
   * are given in the list. If a callback returns an overridden response,
   * execution stops and any remaining callbacks are skipped.
   *
   * @param Callback[] $afterToolCallbacks
   */
  public function setAfterToolCallbacks($afterToolCallbacks)
  {
    $this->afterToolCallbacks = $afterToolCallbacks;
  }
  /**
   * @return Callback[]
   */
  public function getAfterToolCallbacks()
  {
    return $this->afterToolCallbacks;
  }
  /**
   * Optional. The callbacks to execute before the agent is called. The provided
   * callbacks are executed sequentially in the exact order they are given in
   * the list. If a callback returns an overridden response, execution stops and
   * any remaining callbacks are skipped.
   *
   * @param Callback[] $beforeAgentCallbacks
   */
  public function setBeforeAgentCallbacks($beforeAgentCallbacks)
  {
    $this->beforeAgentCallbacks = $beforeAgentCallbacks;
  }
  /**
   * @return Callback[]
   */
  public function getBeforeAgentCallbacks()
  {
    return $this->beforeAgentCallbacks;
  }
  /**
   * Optional. The callbacks to execute before the model is called. If there are
   * multiple calls to the model, the callback will be executed multiple times.
   * The provided callbacks are executed sequentially in the exact order they
   * are given in the list. If a callback returns an overridden response,
   * execution stops and any remaining callbacks are skipped.
   *
   * @param Callback[] $beforeModelCallbacks
   */
  public function setBeforeModelCallbacks($beforeModelCallbacks)
  {
    $this->beforeModelCallbacks = $beforeModelCallbacks;
  }
  /**
   * @return Callback[]
   */
  public function getBeforeModelCallbacks()
  {
    return $this->beforeModelCallbacks;
  }
  /**
   * Optional. The callbacks to execute before the tool is invoked. If there are
   * multiple tool invocations, the callback will be executed multiple times.
   * The provided callbacks are executed sequentially in the exact order they
   * are given in the list. If a callback returns an overridden response,
   * execution stops and any remaining callbacks are skipped.
   *
   * @param Callback[] $beforeToolCallbacks
   */
  public function setBeforeToolCallbacks($beforeToolCallbacks)
  {
    $this->beforeToolCallbacks = $beforeToolCallbacks;
  }
  /**
   * @return Callback[]
   */
  public function getBeforeToolCallbacks()
  {
    return $this->beforeToolCallbacks;
  }
  /**
   * Optional. List of child agents in the agent tree. Format:
   * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
   *
   * @param string[] $childAgents
   */
  public function setChildAgents($childAgents)
  {
    $this->childAgents = $childAgents;
  }
  /**
   * @return string[]
   */
  public function getChildAgents()
  {
    return $this->childAgents;
  }
  /**
   * Output only. Timestamp when the agent was created.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Optional. Human-readable description of the agent.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * Required. Display name of the agent.
   *
   * @param string $displayName
   */
  public function setDisplayName($displayName)
  {
    $this->displayName = $displayName;
  }
  /**
   * @return string
   */
  public function getDisplayName()
  {
    return $this->displayName;
  }
  /**
   * Etag used to ensure the object hasn't changed during a read-modify-write
   * operation. If the etag is empty, the update will overwrite any concurrent
   * changes.
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * Output only. If the agent is generated by the LLM assistant, this field
   * contains a descriptive summary of the generation.
   *
   * @param string $generatedSummary
   */
  public function setGeneratedSummary($generatedSummary)
  {
    $this->generatedSummary = $generatedSummary;
  }
  /**
   * @return string
   */
  public function getGeneratedSummary()
  {
    return $this->generatedSummary;
  }
  /**
   * Optional. List of guardrails for the agent. Format:
   * `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}`
   *
   * @param string[] $guardrails
   */
  public function setGuardrails($guardrails)
  {
    $this->guardrails = $guardrails;
  }
  /**
   * @return string[]
   */
  public function getGuardrails()
  {
    return $this->guardrails;
  }
  /**
   * Optional. Instructions for the LLM model to guide the agent's behavior.
   *
   * @param string $instruction
   */
  public function setInstruction($instruction)
  {
    $this->instruction = $instruction;
  }
  /**
   * @return string
   */
  public function getInstruction()
  {
    return $this->instruction;
  }
  /**
   * Optional. The default agent type.
   *
   * @param AgentLlmAgent $llmAgent
   */
  public function setLlmAgent(AgentLlmAgent $llmAgent)
  {
    $this->llmAgent = $llmAgent;
  }
  /**
   * @return AgentLlmAgent
   */
  public function getLlmAgent()
  {
    return $this->llmAgent;
  }
  /**
   * Optional. Configurations for the LLM model.
   *
   * @param ModelSettings $modelSettings
   */
  public function setModelSettings(ModelSettings $modelSettings)
  {
    $this->modelSettings = $modelSettings;
  }
  /**
   * @return ModelSettings
   */
  public function getModelSettings()
  {
    return $this->modelSettings;
  }
  /**
   * Identifier. The unique identifier of the agent. Format:
   * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Optional. The remote
   * [Dialogflow](https://cloud.google.com/dialogflow/cx/docs/concept/console-
   * conversational-agents) agent to be used for the agent execution. If this
   * field is set, all other agent level properties will be ignored. Note: If
   * the Dialogflow agent is in a different project from the app, you should
   * grant `roles/dialogflow.client` to the CES service agent `service-@gcp-sa-
   * ces.iam.gserviceaccount.com`.
   *
   * @param AgentRemoteDialogflowAgent $remoteDialogflowAgent
   */
  public function setRemoteDialogflowAgent(AgentRemoteDialogflowAgent $remoteDialogflowAgent)
  {
    $this->remoteDialogflowAgent = $remoteDialogflowAgent;
  }
  /**
   * @return AgentRemoteDialogflowAgent
   */
  public function getRemoteDialogflowAgent()
  {
    return $this->remoteDialogflowAgent;
  }
  /**
   * Optional. List of available tools for the agent. Format:
   * `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
   *
   * @param string[] $tools
   */
  public function setTools($tools)
  {
    $this->tools = $tools;
  }
  /**
   * @return string[]
   */
  public function getTools()
  {
    return $this->tools;
  }
  /**
   * Optional. List of toolsets for the agent.
   *
   * @param AgentAgentToolset[] $toolsets
   */
  public function setToolsets($toolsets)
  {
    $this->toolsets = $toolsets;
  }
  /**
   * @return AgentAgentToolset[]
   */
  public function getToolsets()
  {
    return $this->toolsets;
  }
  /**
   * Optional. Agent transfer rules. If multiple rules match, the first one in
   * the list will be used.
   *
   * @param TransferRule[] $transferRules
   */
  public function setTransferRules($transferRules)
  {
    $this->transferRules = $transferRules;
  }
  /**
   * @return TransferRule[]
   */
  public function getTransferRules()
  {
    return $this->transferRules;
  }
  /**
   * Output only. Timestamp when the agent was last updated.
   *
   * @param string $updateTime
   */
  public function setUpdateTime($updateTime)
  {
    $this->updateTime = $updateTime;
  }
  /**
   * @return string
   */
  public function getUpdateTime()
  {
    return $this->updateTime;
  }
}

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