📂 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: Toolset.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 Toolset extends \Google\Model
{
  /**
   * The execution type is unspecified. Defaults to `SYNCHRONOUS` if
   * unspecified.
   */
  public const EXECUTION_TYPE_EXECUTION_TYPE_UNSPECIFIED = 'EXECUTION_TYPE_UNSPECIFIED';
  /**
   * The tool is executed synchronously. The session is blocked until the tool
   * returns.
   */
  public const EXECUTION_TYPE_SYNCHRONOUS = 'SYNCHRONOUS';
  /**
   * The tool is executed asynchronously. The session will continue while the
   * tool is executing.
   */
  public const EXECUTION_TYPE_ASYNCHRONOUS = 'ASYNCHRONOUS';
  protected $connectorToolsetType = ConnectorToolset::class;
  protected $connectorToolsetDataType = '';
  /**
   * Output only. Timestamp when the toolset was created.
   *
   * @var string
   */
  public $createTime;
  /**
   * Optional. The description of the toolset.
   *
   * @var string
   */
  public $description;
  /**
   * Optional. The display name of the toolset. Must be unique within the same
   * app.
   *
   * @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;
  /**
   * Optional. The execution type of the tools in the toolset.
   *
   * @var string
   */
  public $executionType;
  protected $mcpToolsetType = McpToolset::class;
  protected $mcpToolsetDataType = '';
  /**
   * Identifier. The unique identifier of the toolset. Format:
   * `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`
   *
   * @var string
   */
  public $name;
  protected $openApiToolsetType = OpenApiToolset::class;
  protected $openApiToolsetDataType = '';
  protected $toolFakeConfigType = ToolFakeConfig::class;
  protected $toolFakeConfigDataType = '';
  /**
   * Output only. Timestamp when the toolset was last updated.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Optional. A toolset that generates tools from an Integration Connectors
   * Connection.
   *
   * @param ConnectorToolset $connectorToolset
   */
  public function setConnectorToolset(ConnectorToolset $connectorToolset)
  {
    $this->connectorToolset = $connectorToolset;
  }
  /**
   * @return ConnectorToolset
   */
  public function getConnectorToolset()
  {
    return $this->connectorToolset;
  }
  /**
   * Output only. Timestamp when the toolset was created.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Optional. The description of the toolset.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * Optional. The display name of the toolset. Must be unique within the same
   * app.
   *
   * @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;
  }
  /**
   * Optional. The execution type of the tools in the toolset.
   *
   * Accepted values: EXECUTION_TYPE_UNSPECIFIED, SYNCHRONOUS, ASYNCHRONOUS
   *
   * @param self::EXECUTION_TYPE_* $executionType
   */
  public function setExecutionType($executionType)
  {
    $this->executionType = $executionType;
  }
  /**
   * @return self::EXECUTION_TYPE_*
   */
  public function getExecutionType()
  {
    return $this->executionType;
  }
  /**
   * Optional. A toolset that contains a list of tools that are offered by the
   * MCP server.
   *
   * @param McpToolset $mcpToolset
   */
  public function setMcpToolset(McpToolset $mcpToolset)
  {
    $this->mcpToolset = $mcpToolset;
  }
  /**
   * @return McpToolset
   */
  public function getMcpToolset()
  {
    return $this->mcpToolset;
  }
  /**
   * Identifier. The unique identifier of the toolset. Format:
   * `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Optional. A toolset that contains a list of tools that are defined by an
   * OpenAPI schema.
   *
   * @param OpenApiToolset $openApiToolset
   */
  public function setOpenApiToolset(OpenApiToolset $openApiToolset)
  {
    $this->openApiToolset = $openApiToolset;
  }
  /**
   * @return OpenApiToolset
   */
  public function getOpenApiToolset()
  {
    return $this->openApiToolset;
  }
  /**
   * Optional. Configuration for tools behavior in fake mode.
   *
   * @param ToolFakeConfig $toolFakeConfig
   */
  public function setToolFakeConfig(ToolFakeConfig $toolFakeConfig)
  {
    $this->toolFakeConfig = $toolFakeConfig;
  }
  /**
   * @return ToolFakeConfig
   */
  public function getToolFakeConfig()
  {
    return $this->toolFakeConfig;
  }
  /**
   * Output only. Timestamp when the toolset 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(Toolset::class, 'Google_Service_CustomerEngagementSuite_Toolset');
← Back