Initial commit: Complete WooCommerce Smart Google Pricing plugin with vendor dependencies

This commit is contained in:
2025-12-23 07:48:45 +01:00
commit 9b66109ca1
32472 changed files with 4065017 additions and 0 deletions

View File

@@ -0,0 +1,155 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3Action extends \Google\Model
{
protected $agentUtteranceType = GoogleCloudDialogflowCxV3AgentUtterance::class;
protected $agentUtteranceDataType = '';
protected $flowInvocationType = GoogleCloudDialogflowCxV3FlowInvocation::class;
protected $flowInvocationDataType = '';
protected $flowTransitionType = GoogleCloudDialogflowCxV3FlowTransition::class;
protected $flowTransitionDataType = '';
protected $playbookInvocationType = GoogleCloudDialogflowCxV3PlaybookInvocation::class;
protected $playbookInvocationDataType = '';
protected $playbookTransitionType = GoogleCloudDialogflowCxV3PlaybookTransition::class;
protected $playbookTransitionDataType = '';
protected $toolUseType = GoogleCloudDialogflowCxV3ToolUse::class;
protected $toolUseDataType = '';
protected $userUtteranceType = GoogleCloudDialogflowCxV3UserUtterance::class;
protected $userUtteranceDataType = '';
/**
* Optional. Action performed by the agent as a message.
*
* @param GoogleCloudDialogflowCxV3AgentUtterance $agentUtterance
*/
public function setAgentUtterance(GoogleCloudDialogflowCxV3AgentUtterance $agentUtterance)
{
$this->agentUtterance = $agentUtterance;
}
/**
* @return GoogleCloudDialogflowCxV3AgentUtterance
*/
public function getAgentUtterance()
{
return $this->agentUtterance;
}
/**
* Optional. Action performed on behalf of the agent by invoking a CX flow.
*
* @param GoogleCloudDialogflowCxV3FlowInvocation $flowInvocation
*/
public function setFlowInvocation(GoogleCloudDialogflowCxV3FlowInvocation $flowInvocation)
{
$this->flowInvocation = $flowInvocation;
}
/**
* @return GoogleCloudDialogflowCxV3FlowInvocation
*/
public function getFlowInvocation()
{
return $this->flowInvocation;
}
/**
* Optional. Action performed on behalf of the agent by transitioning to a
* target CX flow.
*
* @param GoogleCloudDialogflowCxV3FlowTransition $flowTransition
*/
public function setFlowTransition(GoogleCloudDialogflowCxV3FlowTransition $flowTransition)
{
$this->flowTransition = $flowTransition;
}
/**
* @return GoogleCloudDialogflowCxV3FlowTransition
*/
public function getFlowTransition()
{
return $this->flowTransition;
}
/**
* Optional. Action performed on behalf of the agent by invoking a child
* playbook.
*
* @param GoogleCloudDialogflowCxV3PlaybookInvocation $playbookInvocation
*/
public function setPlaybookInvocation(GoogleCloudDialogflowCxV3PlaybookInvocation $playbookInvocation)
{
$this->playbookInvocation = $playbookInvocation;
}
/**
* @return GoogleCloudDialogflowCxV3PlaybookInvocation
*/
public function getPlaybookInvocation()
{
return $this->playbookInvocation;
}
/**
* Optional. Action performed on behalf of the agent by transitioning to a
* target playbook.
*
* @param GoogleCloudDialogflowCxV3PlaybookTransition $playbookTransition
*/
public function setPlaybookTransition(GoogleCloudDialogflowCxV3PlaybookTransition $playbookTransition)
{
$this->playbookTransition = $playbookTransition;
}
/**
* @return GoogleCloudDialogflowCxV3PlaybookTransition
*/
public function getPlaybookTransition()
{
return $this->playbookTransition;
}
/**
* Optional. Action performed on behalf of the agent by calling a plugin tool.
*
* @param GoogleCloudDialogflowCxV3ToolUse $toolUse
*/
public function setToolUse(GoogleCloudDialogflowCxV3ToolUse $toolUse)
{
$this->toolUse = $toolUse;
}
/**
* @return GoogleCloudDialogflowCxV3ToolUse
*/
public function getToolUse()
{
return $this->toolUse;
}
/**
* Optional. Agent obtained a message from the customer.
*
* @param GoogleCloudDialogflowCxV3UserUtterance $userUtterance
*/
public function setUserUtterance(GoogleCloudDialogflowCxV3UserUtterance $userUtterance)
{
$this->userUtterance = $userUtterance;
}
/**
* @return GoogleCloudDialogflowCxV3UserUtterance
*/
public function getUserUtterance()
{
return $this->userUtterance;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3Action::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3Action');

View File

@@ -0,0 +1,104 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AdvancedSettings extends \Google\Model
{
protected $audioExportGcsDestinationType = GoogleCloudDialogflowCxV3GcsDestination::class;
protected $audioExportGcsDestinationDataType = '';
protected $dtmfSettingsType = GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings::class;
protected $dtmfSettingsDataType = '';
protected $loggingSettingsType = GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::class;
protected $loggingSettingsDataType = '';
protected $speechSettingsType = GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings::class;
protected $speechSettingsDataType = '';
/**
* If present, incoming audio is exported by Dialogflow to the configured
* Google Cloud Storage destination. Exposed at the following levels: - Agent
* level - Flow level
*
* @param GoogleCloudDialogflowCxV3GcsDestination $audioExportGcsDestination
*/
public function setAudioExportGcsDestination(GoogleCloudDialogflowCxV3GcsDestination $audioExportGcsDestination)
{
$this->audioExportGcsDestination = $audioExportGcsDestination;
}
/**
* @return GoogleCloudDialogflowCxV3GcsDestination
*/
public function getAudioExportGcsDestination()
{
return $this->audioExportGcsDestination;
}
/**
* Settings for DTMF. Exposed at the following levels: - Agent level - Flow
* level - Page level - Parameter level.
*
* @param GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings $dtmfSettings
*/
public function setDtmfSettings(GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings $dtmfSettings)
{
$this->dtmfSettings = $dtmfSettings;
}
/**
* @return GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings
*/
public function getDtmfSettings()
{
return $this->dtmfSettings;
}
/**
* Settings for logging. Settings for Dialogflow History, Contact Center
* messages, StackDriver logs, and speech logging. Exposed at the following
* levels: - Agent level.
*
* @param GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings $loggingSettings
*/
public function setLoggingSettings(GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings $loggingSettings)
{
$this->loggingSettings = $loggingSettings;
}
/**
* @return GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
*/
public function getLoggingSettings()
{
return $this->loggingSettings;
}
/**
* Settings for speech to text detection. Exposed at the following levels: -
* Agent level - Flow level - Page level - Parameter level
*
* @param GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings $speechSettings
*/
public function setSpeechSettings(GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings $speechSettings)
{
$this->speechSettings = $speechSettings;
}
/**
* @return GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
*/
public function getSpeechSettings()
{
return $this->speechSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AdvancedSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AdvancedSettings');

View File

@@ -0,0 +1,146 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings extends \Google\Model
{
/**
* If true, incoming audio is processed for DTMF (dual tone multi frequency)
* events. For example, if the caller presses a button on their telephone
* keypad and DTMF processing is enabled, Dialogflow will detect the event
* (e.g. a "3" was pressed) in the incoming audio and pass the event to the
* bot to drive business logic (e.g. when 3 is pressed, return the account
* balance).
*
* @var bool
*/
public $enabled;
/**
* Endpoint timeout setting for matching dtmf input to regex.
*
* @var string
*/
public $endpointingTimeoutDuration;
/**
* The digit that terminates a DTMF digit sequence.
*
* @var string
*/
public $finishDigit;
/**
* Interdigit timeout setting for matching dtmf input to regex.
*
* @var string
*/
public $interdigitTimeoutDuration;
/**
* Max length of DTMF digits.
*
* @var int
*/
public $maxDigits;
/**
* If true, incoming audio is processed for DTMF (dual tone multi frequency)
* events. For example, if the caller presses a button on their telephone
* keypad and DTMF processing is enabled, Dialogflow will detect the event
* (e.g. a "3" was pressed) in the incoming audio and pass the event to the
* bot to drive business logic (e.g. when 3 is pressed, return the account
* balance).
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* Endpoint timeout setting for matching dtmf input to regex.
*
* @param string $endpointingTimeoutDuration
*/
public function setEndpointingTimeoutDuration($endpointingTimeoutDuration)
{
$this->endpointingTimeoutDuration = $endpointingTimeoutDuration;
}
/**
* @return string
*/
public function getEndpointingTimeoutDuration()
{
return $this->endpointingTimeoutDuration;
}
/**
* The digit that terminates a DTMF digit sequence.
*
* @param string $finishDigit
*/
public function setFinishDigit($finishDigit)
{
$this->finishDigit = $finishDigit;
}
/**
* @return string
*/
public function getFinishDigit()
{
return $this->finishDigit;
}
/**
* Interdigit timeout setting for matching dtmf input to regex.
*
* @param string $interdigitTimeoutDuration
*/
public function setInterdigitTimeoutDuration($interdigitTimeoutDuration)
{
$this->interdigitTimeoutDuration = $interdigitTimeoutDuration;
}
/**
* @return string
*/
public function getInterdigitTimeoutDuration()
{
return $this->interdigitTimeoutDuration;
}
/**
* Max length of DTMF digits.
*
* @param int $maxDigits
*/
public function setMaxDigits($maxDigits)
{
$this->maxDigits = $maxDigits;
}
/**
* @return int
*/
public function getMaxDigits()
{
return $this->maxDigits;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings');

View File

@@ -0,0 +1,96 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings extends \Google\Model
{
/**
* Enables consent-based end-user input redaction, if true, a pre-defined
* session parameter `$session.params.conversation-redaction` will be used to
* determine if the utterance should be redacted.
*
* @var bool
*/
public $enableConsentBasedRedaction;
/**
* Enables DF Interaction logging.
*
* @var bool
*/
public $enableInteractionLogging;
/**
* Enables Google Cloud Logging.
*
* @var bool
*/
public $enableStackdriverLogging;
/**
* Enables consent-based end-user input redaction, if true, a pre-defined
* session parameter `$session.params.conversation-redaction` will be used to
* determine if the utterance should be redacted.
*
* @param bool $enableConsentBasedRedaction
*/
public function setEnableConsentBasedRedaction($enableConsentBasedRedaction)
{
$this->enableConsentBasedRedaction = $enableConsentBasedRedaction;
}
/**
* @return bool
*/
public function getEnableConsentBasedRedaction()
{
return $this->enableConsentBasedRedaction;
}
/**
* Enables DF Interaction logging.
*
* @param bool $enableInteractionLogging
*/
public function setEnableInteractionLogging($enableInteractionLogging)
{
$this->enableInteractionLogging = $enableInteractionLogging;
}
/**
* @return bool
*/
public function getEnableInteractionLogging()
{
return $this->enableInteractionLogging;
}
/**
* Enables Google Cloud Logging.
*
* @param bool $enableStackdriverLogging
*/
public function setEnableStackdriverLogging($enableStackdriverLogging)
{
$this->enableStackdriverLogging = $enableStackdriverLogging;
}
/**
* @return bool
*/
public function getEnableStackdriverLogging()
{
return $this->enableStackdriverLogging;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings');

View File

@@ -0,0 +1,124 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings extends \Google\Model
{
/**
* Sensitivity of the speech model that detects the end of speech. Scale from
* 0 to 100.
*
* @var int
*/
public $endpointerSensitivity;
/**
* Mapping from language to Speech-to-Text model. The mapped Speech-to-Text
* model will be selected for requests from its corresponding language. For
* more information, see [Speech
* models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
*
* @var string[]
*/
public $models;
/**
* Timeout before detecting no speech.
*
* @var string
*/
public $noSpeechTimeout;
/**
* Use timeout based endpointing, interpreting endpointer sensitivity as
* seconds of timeout value.
*
* @var bool
*/
public $useTimeoutBasedEndpointing;
/**
* Sensitivity of the speech model that detects the end of speech. Scale from
* 0 to 100.
*
* @param int $endpointerSensitivity
*/
public function setEndpointerSensitivity($endpointerSensitivity)
{
$this->endpointerSensitivity = $endpointerSensitivity;
}
/**
* @return int
*/
public function getEndpointerSensitivity()
{
return $this->endpointerSensitivity;
}
/**
* Mapping from language to Speech-to-Text model. The mapped Speech-to-Text
* model will be selected for requests from its corresponding language. For
* more information, see [Speech
* models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
*
* @param string[] $models
*/
public function setModels($models)
{
$this->models = $models;
}
/**
* @return string[]
*/
public function getModels()
{
return $this->models;
}
/**
* Timeout before detecting no speech.
*
* @param string $noSpeechTimeout
*/
public function setNoSpeechTimeout($noSpeechTimeout)
{
$this->noSpeechTimeout = $noSpeechTimeout;
}
/**
* @return string
*/
public function getNoSpeechTimeout()
{
return $this->noSpeechTimeout;
}
/**
* Use timeout based endpointing, interpreting endpointer sensitivity as
* seconds of timeout value.
*
* @param bool $useTimeoutBasedEndpointing
*/
public function setUseTimeoutBasedEndpointing($useTimeoutBasedEndpointing)
{
$this->useTimeoutBasedEndpointing = $useTimeoutBasedEndpointing;
}
/**
* @return bool
*/
public function getUseTimeoutBasedEndpointing()
{
return $this->useTimeoutBasedEndpointing;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings');

View File

@@ -0,0 +1,584 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3Agent extends \Google\Collection
{
protected $collection_key = 'supportedLanguageCodes';
protected $advancedSettingsType = GoogleCloudDialogflowCxV3AdvancedSettings::class;
protected $advancedSettingsDataType = '';
protected $answerFeedbackSettingsType = GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings::class;
protected $answerFeedbackSettingsDataType = '';
/**
* The URI of the agent's avatar. Avatars are used throughout the Dialogflow
* console and in the self-hosted [Web
* Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo)
* integration.
*
* @var string
*/
public $avatarUri;
protected $clientCertificateSettingsType = GoogleCloudDialogflowCxV3AgentClientCertificateSettings::class;
protected $clientCertificateSettingsDataType = '';
/**
* Required. Immutable. The default language of the agent as a language tag.
* See [Language
* Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
* for a list of the currently supported language codes. This field cannot be
* set by the Agents.UpdateAgent method.
*
* @var string
*/
public $defaultLanguageCode;
/**
* The description of the agent. The maximum length is 500 characters. If
* exceeded, the request is rejected.
*
* @var string
*/
public $description;
/**
* Required. The human-readable name of the agent, unique within the location.
*
* @var string
*/
public $displayName;
/**
* Optional. Enable training multi-lingual models for this agent. These models
* will be trained on all the languages supported by the agent.
*
* @var bool
*/
public $enableMultiLanguageTraining;
/**
* Indicates if automatic spell correction is enabled in detect intent
* requests.
*
* @var bool
*/
public $enableSpellCorrection;
/**
* Indicates if stackdriver logging is enabled for the agent. Please use
* agent.advanced_settings instead.
*
* @deprecated
* @var bool
*/
public $enableStackdriverLogging;
protected $genAppBuilderSettingsType = GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings::class;
protected $genAppBuilderSettingsDataType = '';
protected $gitIntegrationSettingsType = GoogleCloudDialogflowCxV3AgentGitIntegrationSettings::class;
protected $gitIntegrationSettingsDataType = '';
/**
* Indicates whether the agent is locked for changes. If the agent is locked,
* modifications to the agent will be rejected except for RestoreAgent.
*
* @var bool
*/
public $locked;
/**
* The unique identifier of the agent. Required for the Agents.UpdateAgent
* method. Agents.CreateAgent populates the name automatically. Format:
* `projects//locations//agents/`.
*
* @var string
*/
public $name;
protected $personalizationSettingsType = GoogleCloudDialogflowCxV3AgentPersonalizationSettings::class;
protected $personalizationSettingsDataType = '';
/**
* Optional. Output only. A read only boolean field reflecting Zone Isolation
* status of the agent.
*
* @var bool
*/
public $satisfiesPzi;
/**
* Optional. Output only. A read only boolean field reflecting Zone Separation
* status of the agent.
*
* @var bool
*/
public $satisfiesPzs;
/**
* Name of the SecuritySettings reference for the agent. Format:
* `projects//locations//securitySettings/`.
*
* @var string
*/
public $securitySettings;
protected $speechToTextSettingsType = GoogleCloudDialogflowCxV3SpeechToTextSettings::class;
protected $speechToTextSettingsDataType = '';
/**
* Name of the start flow in this agent. A start flow will be automatically
* created when the agent is created, and can only be deleted by deleting the
* agent. Format: `projects//locations//agents//flows/`. Currently only the
* default start flow with id "00000000-0000-0000-0000-000000000000" is
* allowed.
*
* @var string
*/
public $startFlow;
/**
* Name of the start playbook in this agent. A start playbook will be
* automatically created when the agent is created, and can only be deleted by
* deleting the agent. Format: `projects//locations//agents//playbooks/`.
* Currently only the default playbook with id
* "00000000-0000-0000-0000-000000000000" is allowed.
*
* @var string
*/
public $startPlaybook;
/**
* The list of all languages supported by the agent (except for the
* `default_language_code`).
*
* @var string[]
*/
public $supportedLanguageCodes;
protected $textToSpeechSettingsType = GoogleCloudDialogflowCxV3TextToSpeechSettings::class;
protected $textToSpeechSettingsDataType = '';
/**
* Required. The time zone of the agent from the [time zone
* database](https://www.iana.org/time-zones), e.g., America/New_York,
* Europe/Paris.
*
* @var string
*/
public $timeZone;
/**
* Hierarchical advanced settings for this agent. The settings exposed at the
* lower level overrides the settings exposed at the higher level.
*
* @param GoogleCloudDialogflowCxV3AdvancedSettings $advancedSettings
*/
public function setAdvancedSettings(GoogleCloudDialogflowCxV3AdvancedSettings $advancedSettings)
{
$this->advancedSettings = $advancedSettings;
}
/**
* @return GoogleCloudDialogflowCxV3AdvancedSettings
*/
public function getAdvancedSettings()
{
return $this->advancedSettings;
}
/**
* Optional. Answer feedback collection settings.
*
* @param GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings $answerFeedbackSettings
*/
public function setAnswerFeedbackSettings(GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings $answerFeedbackSettings)
{
$this->answerFeedbackSettings = $answerFeedbackSettings;
}
/**
* @return GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings
*/
public function getAnswerFeedbackSettings()
{
return $this->answerFeedbackSettings;
}
/**
* The URI of the agent's avatar. Avatars are used throughout the Dialogflow
* console and in the self-hosted [Web
* Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo)
* integration.
*
* @param string $avatarUri
*/
public function setAvatarUri($avatarUri)
{
$this->avatarUri = $avatarUri;
}
/**
* @return string
*/
public function getAvatarUri()
{
return $this->avatarUri;
}
/**
* Optional. Settings for custom client certificates.
*
* @param GoogleCloudDialogflowCxV3AgentClientCertificateSettings $clientCertificateSettings
*/
public function setClientCertificateSettings(GoogleCloudDialogflowCxV3AgentClientCertificateSettings $clientCertificateSettings)
{
$this->clientCertificateSettings = $clientCertificateSettings;
}
/**
* @return GoogleCloudDialogflowCxV3AgentClientCertificateSettings
*/
public function getClientCertificateSettings()
{
return $this->clientCertificateSettings;
}
/**
* Required. Immutable. The default language of the agent as a language tag.
* See [Language
* Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
* for a list of the currently supported language codes. This field cannot be
* set by the Agents.UpdateAgent method.
*
* @param string $defaultLanguageCode
*/
public function setDefaultLanguageCode($defaultLanguageCode)
{
$this->defaultLanguageCode = $defaultLanguageCode;
}
/**
* @return string
*/
public function getDefaultLanguageCode()
{
return $this->defaultLanguageCode;
}
/**
* The description of the agent. The maximum length is 500 characters. If
* exceeded, the request is rejected.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. The human-readable name of the agent, unique within the location.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. Enable training multi-lingual models for this agent. These models
* will be trained on all the languages supported by the agent.
*
* @param bool $enableMultiLanguageTraining
*/
public function setEnableMultiLanguageTraining($enableMultiLanguageTraining)
{
$this->enableMultiLanguageTraining = $enableMultiLanguageTraining;
}
/**
* @return bool
*/
public function getEnableMultiLanguageTraining()
{
return $this->enableMultiLanguageTraining;
}
/**
* Indicates if automatic spell correction is enabled in detect intent
* requests.
*
* @param bool $enableSpellCorrection
*/
public function setEnableSpellCorrection($enableSpellCorrection)
{
$this->enableSpellCorrection = $enableSpellCorrection;
}
/**
* @return bool
*/
public function getEnableSpellCorrection()
{
return $this->enableSpellCorrection;
}
/**
* Indicates if stackdriver logging is enabled for the agent. Please use
* agent.advanced_settings instead.
*
* @deprecated
* @param bool $enableStackdriverLogging
*/
public function setEnableStackdriverLogging($enableStackdriverLogging)
{
$this->enableStackdriverLogging = $enableStackdriverLogging;
}
/**
* @deprecated
* @return bool
*/
public function getEnableStackdriverLogging()
{
return $this->enableStackdriverLogging;
}
/**
* Gen App Builder-related agent-level settings.
*
* @param GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings $genAppBuilderSettings
*/
public function setGenAppBuilderSettings(GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings $genAppBuilderSettings)
{
$this->genAppBuilderSettings = $genAppBuilderSettings;
}
/**
* @return GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings
*/
public function getGenAppBuilderSettings()
{
return $this->genAppBuilderSettings;
}
/**
* Git integration settings for this agent.
*
* @param GoogleCloudDialogflowCxV3AgentGitIntegrationSettings $gitIntegrationSettings
*/
public function setGitIntegrationSettings(GoogleCloudDialogflowCxV3AgentGitIntegrationSettings $gitIntegrationSettings)
{
$this->gitIntegrationSettings = $gitIntegrationSettings;
}
/**
* @return GoogleCloudDialogflowCxV3AgentGitIntegrationSettings
*/
public function getGitIntegrationSettings()
{
return $this->gitIntegrationSettings;
}
/**
* Indicates whether the agent is locked for changes. If the agent is locked,
* modifications to the agent will be rejected except for RestoreAgent.
*
* @param bool $locked
*/
public function setLocked($locked)
{
$this->locked = $locked;
}
/**
* @return bool
*/
public function getLocked()
{
return $this->locked;
}
/**
* The unique identifier of the agent. Required for the Agents.UpdateAgent
* method. Agents.CreateAgent populates the name automatically. Format:
* `projects//locations//agents/`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Settings for end user personalization.
*
* @param GoogleCloudDialogflowCxV3AgentPersonalizationSettings $personalizationSettings
*/
public function setPersonalizationSettings(GoogleCloudDialogflowCxV3AgentPersonalizationSettings $personalizationSettings)
{
$this->personalizationSettings = $personalizationSettings;
}
/**
* @return GoogleCloudDialogflowCxV3AgentPersonalizationSettings
*/
public function getPersonalizationSettings()
{
return $this->personalizationSettings;
}
/**
* Optional. Output only. A read only boolean field reflecting Zone Isolation
* status of the agent.
*
* @param bool $satisfiesPzi
*/
public function setSatisfiesPzi($satisfiesPzi)
{
$this->satisfiesPzi = $satisfiesPzi;
}
/**
* @return bool
*/
public function getSatisfiesPzi()
{
return $this->satisfiesPzi;
}
/**
* Optional. Output only. A read only boolean field reflecting Zone Separation
* status of the agent.
*
* @param bool $satisfiesPzs
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* Name of the SecuritySettings reference for the agent. Format:
* `projects//locations//securitySettings/`.
*
* @param string $securitySettings
*/
public function setSecuritySettings($securitySettings)
{
$this->securitySettings = $securitySettings;
}
/**
* @return string
*/
public function getSecuritySettings()
{
return $this->securitySettings;
}
/**
* Speech recognition related settings.
*
* @param GoogleCloudDialogflowCxV3SpeechToTextSettings $speechToTextSettings
*/
public function setSpeechToTextSettings(GoogleCloudDialogflowCxV3SpeechToTextSettings $speechToTextSettings)
{
$this->speechToTextSettings = $speechToTextSettings;
}
/**
* @return GoogleCloudDialogflowCxV3SpeechToTextSettings
*/
public function getSpeechToTextSettings()
{
return $this->speechToTextSettings;
}
/**
* Name of the start flow in this agent. A start flow will be automatically
* created when the agent is created, and can only be deleted by deleting the
* agent. Format: `projects//locations//agents//flows/`. Currently only the
* default start flow with id "00000000-0000-0000-0000-000000000000" is
* allowed.
*
* @param string $startFlow
*/
public function setStartFlow($startFlow)
{
$this->startFlow = $startFlow;
}
/**
* @return string
*/
public function getStartFlow()
{
return $this->startFlow;
}
/**
* Name of the start playbook in this agent. A start playbook will be
* automatically created when the agent is created, and can only be deleted by
* deleting the agent. Format: `projects//locations//agents//playbooks/`.
* Currently only the default playbook with id
* "00000000-0000-0000-0000-000000000000" is allowed.
*
* @param string $startPlaybook
*/
public function setStartPlaybook($startPlaybook)
{
$this->startPlaybook = $startPlaybook;
}
/**
* @return string
*/
public function getStartPlaybook()
{
return $this->startPlaybook;
}
/**
* The list of all languages supported by the agent (except for the
* `default_language_code`).
*
* @param string[] $supportedLanguageCodes
*/
public function setSupportedLanguageCodes($supportedLanguageCodes)
{
$this->supportedLanguageCodes = $supportedLanguageCodes;
}
/**
* @return string[]
*/
public function getSupportedLanguageCodes()
{
return $this->supportedLanguageCodes;
}
/**
* Settings on instructing the speech synthesizer on how to generate the
* output audio content.
*
* @param GoogleCloudDialogflowCxV3TextToSpeechSettings $textToSpeechSettings
*/
public function setTextToSpeechSettings(GoogleCloudDialogflowCxV3TextToSpeechSettings $textToSpeechSettings)
{
$this->textToSpeechSettings = $textToSpeechSettings;
}
/**
* @return GoogleCloudDialogflowCxV3TextToSpeechSettings
*/
public function getTextToSpeechSettings()
{
return $this->textToSpeechSettings;
}
/**
* Required. The time zone of the agent from the [time zone
* database](https://www.iana.org/time-zones), e.g., America/New_York,
* Europe/Paris.
*
* @param string $timeZone
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3Agent::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3Agent');

View File

@@ -0,0 +1,52 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings extends \Google\Model
{
/**
* Optional. If enabled, end users will be able to provide answer feedback to
* Dialogflow responses. Feature works only if interaction logging is enabled
* in the Dialogflow agent.
*
* @var bool
*/
public $enableAnswerFeedback;
/**
* Optional. If enabled, end users will be able to provide answer feedback to
* Dialogflow responses. Feature works only if interaction logging is enabled
* in the Dialogflow agent.
*
* @param bool $enableAnswerFeedback
*/
public function setEnableAnswerFeedback($enableAnswerFeedback)
{
$this->enableAnswerFeedback = $enableAnswerFeedback;
}
/**
* @return bool
*/
public function getEnableAnswerFeedback()
{
return $this->enableAnswerFeedback;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings');

View File

@@ -0,0 +1,102 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AgentClientCertificateSettings extends \Google\Model
{
/**
* Optional. The name of the SecretManager secret version resource storing the
* passphrase. 'passphrase' should be left unset if the private key is not
* encrypted. Format: `projects/{project}/secrets/{secret}/versions/{version}`
*
* @var string
*/
public $passphrase;
/**
* Required. The name of the SecretManager secret version resource storing the
* private key encoded in PEM format. Format:
* `projects/{project}/secrets/{secret}/versions/{version}`
*
* @var string
*/
public $privateKey;
/**
* Required. The ssl certificate encoded in PEM format. This string must
* include the begin header and end footer lines.
*
* @var string
*/
public $sslCertificate;
/**
* Optional. The name of the SecretManager secret version resource storing the
* passphrase. 'passphrase' should be left unset if the private key is not
* encrypted. Format: `projects/{project}/secrets/{secret}/versions/{version}`
*
* @param string $passphrase
*/
public function setPassphrase($passphrase)
{
$this->passphrase = $passphrase;
}
/**
* @return string
*/
public function getPassphrase()
{
return $this->passphrase;
}
/**
* Required. The name of the SecretManager secret version resource storing the
* private key encoded in PEM format. Format:
* `projects/{project}/secrets/{secret}/versions/{version}`
*
* @param string $privateKey
*/
public function setPrivateKey($privateKey)
{
$this->privateKey = $privateKey;
}
/**
* @return string
*/
public function getPrivateKey()
{
return $this->privateKey;
}
/**
* Required. The ssl certificate encoded in PEM format. This string must
* include the begin header and end footer lines.
*
* @param string $sslCertificate
*/
public function setSslCertificate($sslCertificate)
{
$this->sslCertificate = $sslCertificate;
}
/**
* @return string
*/
public function getSslCertificate()
{
return $this->sslCertificate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AgentClientCertificateSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AgentClientCertificateSettings');

View File

@@ -0,0 +1,52 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings extends \Google\Model
{
/**
* Required. The full name of the Gen App Builder engine related to this agent
* if there is one. Format: `projects/{Project ID}/locations/{Location
* ID}/collections/{Collection ID}/engines/{Engine ID}`
*
* @var string
*/
public $engine;
/**
* Required. The full name of the Gen App Builder engine related to this agent
* if there is one. Format: `projects/{Project ID}/locations/{Location
* ID}/collections/{Collection ID}/engines/{Engine ID}`
*
* @param string $engine
*/
public function setEngine($engine)
{
$this->engine = $engine;
}
/**
* @return string
*/
public function getEngine()
{
return $this->engine;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings');

View File

@@ -0,0 +1,44 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AgentGitIntegrationSettings extends \Google\Model
{
protected $githubSettingsType = GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings::class;
protected $githubSettingsDataType = '';
/**
* GitHub settings.
*
* @param GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings $githubSettings
*/
public function setGithubSettings(GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings $githubSettings)
{
$this->githubSettings = $githubSettings;
}
/**
* @return GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings
*/
public function getGithubSettings()
{
return $this->githubSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AgentGitIntegrationSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AgentGitIntegrationSettings');

View File

@@ -0,0 +1,137 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings extends \Google\Collection
{
protected $collection_key = 'branches';
/**
* The access token used to authenticate the access to the GitHub repository.
*
* @var string
*/
public $accessToken;
/**
* A list of branches configured to be used from Dialogflow.
*
* @var string[]
*/
public $branches;
/**
* The unique repository display name for the GitHub repository.
*
* @var string
*/
public $displayName;
/**
* The GitHub repository URI related to the agent.
*
* @var string
*/
public $repositoryUri;
/**
* The branch of the GitHub repository tracked for this agent.
*
* @var string
*/
public $trackingBranch;
/**
* The access token used to authenticate the access to the GitHub repository.
*
* @param string $accessToken
*/
public function setAccessToken($accessToken)
{
$this->accessToken = $accessToken;
}
/**
* @return string
*/
public function getAccessToken()
{
return $this->accessToken;
}
/**
* A list of branches configured to be used from Dialogflow.
*
* @param string[] $branches
*/
public function setBranches($branches)
{
$this->branches = $branches;
}
/**
* @return string[]
*/
public function getBranches()
{
return $this->branches;
}
/**
* The unique repository display name for the GitHub repository.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* The GitHub repository URI related to the agent.
*
* @param string $repositoryUri
*/
public function setRepositoryUri($repositoryUri)
{
$this->repositoryUri = $repositoryUri;
}
/**
* @return string
*/
public function getRepositoryUri()
{
return $this->repositoryUri;
}
/**
* The branch of the GitHub repository tracked for this agent.
*
* @param string $trackingBranch
*/
public function setTrackingBranch($trackingBranch)
{
$this->trackingBranch = $trackingBranch;
}
/**
* @return string
*/
public function getTrackingBranch()
{
return $this->trackingBranch;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings');

View File

@@ -0,0 +1,56 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AgentPersonalizationSettings extends \Google\Model
{
/**
* Optional. Default end user metadata, used when processing DetectIntent
* requests. Recommended to be filled as a template instead of hard-coded
* value, for example { "age": "$session.params.age" }. The data will be
* merged with the QueryParameters.end_user_metadata in
* DetectIntentRequest.query_params during query processing.
*
* @var array[]
*/
public $defaultEndUserMetadata;
/**
* Optional. Default end user metadata, used when processing DetectIntent
* requests. Recommended to be filled as a template instead of hard-coded
* value, for example { "age": "$session.params.age" }. The data will be
* merged with the QueryParameters.end_user_metadata in
* DetectIntentRequest.query_params during query processing.
*
* @param array[] $defaultEndUserMetadata
*/
public function setDefaultEndUserMetadata($defaultEndUserMetadata)
{
$this->defaultEndUserMetadata = $defaultEndUserMetadata;
}
/**
* @return array[]
*/
public function getDefaultEndUserMetadata()
{
return $this->defaultEndUserMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AgentPersonalizationSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AgentPersonalizationSettings');

View File

@@ -0,0 +1,48 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AgentUtterance extends \Google\Model
{
/**
* Required. Message content in text.
*
* @var string
*/
public $text;
/**
* Required. Message content in text.
*
* @param string $text
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AgentUtterance::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AgentUtterance');

View File

@@ -0,0 +1,69 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AgentValidationResult extends \Google\Collection
{
protected $collection_key = 'flowValidationResults';
protected $flowValidationResultsType = GoogleCloudDialogflowCxV3FlowValidationResult::class;
protected $flowValidationResultsDataType = 'array';
/**
* The unique identifier of the agent validation result. Format:
* `projects//locations//agents//validationResult`.
*
* @var string
*/
public $name;
/**
* Contains all flow validation results.
*
* @param GoogleCloudDialogflowCxV3FlowValidationResult[] $flowValidationResults
*/
public function setFlowValidationResults($flowValidationResults)
{
$this->flowValidationResults = $flowValidationResults;
}
/**
* @return GoogleCloudDialogflowCxV3FlowValidationResult[]
*/
public function getFlowValidationResults()
{
return $this->flowValidationResults;
}
/**
* The unique identifier of the agent validation result. Format:
* `projects//locations//agents//validationResult`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AgentValidationResult::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AgentValidationResult');

View File

@@ -0,0 +1,107 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AnswerFeedback extends \Google\Model
{
/**
* Rating not specified.
*/
public const RATING_RATING_UNSPECIFIED = 'RATING_UNSPECIFIED';
/**
* Thumbs up feedback from user.
*/
public const RATING_THUMBS_UP = 'THUMBS_UP';
/**
* Thumbs down feedback from user.
*/
public const RATING_THUMBS_DOWN = 'THUMBS_DOWN';
/**
* Optional. Custom rating from the user about the provided answer, with
* maximum length of 1024 characters. For example, client could use a
* customized JSON object to indicate the rating.
*
* @var string
*/
public $customRating;
/**
* Optional. Rating from user for the specific Dialogflow response.
*
* @var string
*/
public $rating;
protected $ratingReasonType = GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason::class;
protected $ratingReasonDataType = '';
/**
* Optional. Custom rating from the user about the provided answer, with
* maximum length of 1024 characters. For example, client could use a
* customized JSON object to indicate the rating.
*
* @param string $customRating
*/
public function setCustomRating($customRating)
{
$this->customRating = $customRating;
}
/**
* @return string
*/
public function getCustomRating()
{
return $this->customRating;
}
/**
* Optional. Rating from user for the specific Dialogflow response.
*
* Accepted values: RATING_UNSPECIFIED, THUMBS_UP, THUMBS_DOWN
*
* @param self::RATING_* $rating
*/
public function setRating($rating)
{
$this->rating = $rating;
}
/**
* @return self::RATING_*
*/
public function getRating()
{
return $this->rating;
}
/**
* Optional. In case of thumbs down rating provided, users can optionally
* provide context about the rating.
*
* @param GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason $ratingReason
*/
public function setRatingReason(GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason $ratingReason)
{
$this->ratingReason = $ratingReason;
}
/**
* @return GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason
*/
public function getRatingReason()
{
return $this->ratingReason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AnswerFeedback::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AnswerFeedback');

View File

@@ -0,0 +1,77 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason extends \Google\Collection
{
protected $collection_key = 'reasonLabels';
/**
* Optional. Additional feedback about the rating. This field can be populated
* without choosing a predefined `reason`.
*
* @var string
*/
public $feedback;
/**
* Optional. Custom reason labels for thumbs down rating provided by the user.
* The maximum number of labels allowed is 10 and the maximum length of a
* single label is 128 characters.
*
* @var string[]
*/
public $reasonLabels;
/**
* Optional. Additional feedback about the rating. This field can be populated
* without choosing a predefined `reason`.
*
* @param string $feedback
*/
public function setFeedback($feedback)
{
$this->feedback = $feedback;
}
/**
* @return string
*/
public function getFeedback()
{
return $this->feedback;
}
/**
* Optional. Custom reason labels for thumbs down rating provided by the user.
* The maximum number of labels allowed is 10 and the maximum length of a
* single label is 128 characters.
*
* @param string[] $reasonLabels
*/
public function setReasonLabels($reasonLabels)
{
$this->reasonLabels = $reasonLabels;
}
/**
* @return string[]
*/
public function getReasonLabels()
{
return $this->reasonLabels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason');

View File

@@ -0,0 +1,76 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3AudioInput extends \Google\Model
{
/**
* The natural language speech audio to be processed. A single request can
* contain up to 2 minutes of speech audio data. The transcribed text cannot
* contain more than 256 bytes. For non-streaming audio detect intent, both
* `config` and `audio` must be provided. For streaming audio detect intent,
* `config` must be provided in the first request and `audio` must be provided
* in all following requests.
*
* @var string
*/
public $audio;
protected $configType = GoogleCloudDialogflowCxV3InputAudioConfig::class;
protected $configDataType = '';
/**
* The natural language speech audio to be processed. A single request can
* contain up to 2 minutes of speech audio data. The transcribed text cannot
* contain more than 256 bytes. For non-streaming audio detect intent, both
* `config` and `audio` must be provided. For streaming audio detect intent,
* `config` must be provided in the first request and `audio` must be provided
* in all following requests.
*
* @param string $audio
*/
public function setAudio($audio)
{
$this->audio = $audio;
}
/**
* @return string
*/
public function getAudio()
{
return $this->audio;
}
/**
* Required. Instructs the speech recognizer how to process the speech audio.
*
* @param GoogleCloudDialogflowCxV3InputAudioConfig $config
*/
public function setConfig(GoogleCloudDialogflowCxV3InputAudioConfig $config)
{
$this->config = $config;
}
/**
* @return GoogleCloudDialogflowCxV3InputAudioConfig
*/
public function getConfig()
{
return $this->config;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3AudioInput::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AudioInput');

View File

@@ -0,0 +1,72 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3BargeInConfig extends \Google\Model
{
/**
* Duration that is not eligible for barge-in at the beginning of the input
* audio.
*
* @var string
*/
public $noBargeInDuration;
/**
* Total duration for the playback at the beginning of the input audio.
*
* @var string
*/
public $totalDuration;
/**
* Duration that is not eligible for barge-in at the beginning of the input
* audio.
*
* @param string $noBargeInDuration
*/
public function setNoBargeInDuration($noBargeInDuration)
{
$this->noBargeInDuration = $noBargeInDuration;
}
/**
* @return string
*/
public function getNoBargeInDuration()
{
return $this->noBargeInDuration;
}
/**
* Total duration for the playback at the beginning of the input audio.
*
* @param string $totalDuration
*/
public function setTotalDuration($totalDuration)
{
$this->totalDuration = $totalDuration;
}
/**
* @return string
*/
public function getTotalDuration()
{
return $this->totalDuration;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3BargeInConfig::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3BargeInConfig');

View File

@@ -0,0 +1,51 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest extends \Google\Collection
{
protected $collection_key = 'names';
/**
* Required. Format of test case names:
* `projects//locations//agents//testCases/`.
*
* @var string[]
*/
public $names;
/**
* Required. Format of test case names:
* `projects//locations//agents//testCases/`.
*
* @param string[] $names
*/
public function setNames($names)
{
$this->names = $names;
}
/**
* @return string[]
*/
public function getNames()
{
return $this->names;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest');

View File

@@ -0,0 +1,45 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata extends \Google\Collection
{
protected $collection_key = 'errors';
protected $errorsType = GoogleCloudDialogflowCxV3TestError::class;
protected $errorsDataType = 'array';
/**
* The test errors.
*
* @param GoogleCloudDialogflowCxV3TestError[] $errors
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return GoogleCloudDialogflowCxV3TestError[]
*/
public function getErrors()
{
return $this->errors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata');

View File

@@ -0,0 +1,73 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3BatchRunTestCasesRequest extends \Google\Collection
{
protected $collection_key = 'testCases';
/**
* Optional. If not set, draft environment is assumed. Format:
* `projects//locations//agents//environments/`.
*
* @var string
*/
public $environment;
/**
* Required. Format: `projects//locations//agents//testCases/`.
*
* @var string[]
*/
public $testCases;
/**
* Optional. If not set, draft environment is assumed. Format:
* `projects//locations//agents//environments/`.
*
* @param string $environment
*/
public function setEnvironment($environment)
{
$this->environment = $environment;
}
/**
* @return string
*/
public function getEnvironment()
{
return $this->environment;
}
/**
* Required. Format: `projects//locations//agents//testCases/`.
*
* @param string[] $testCases
*/
public function setTestCases($testCases)
{
$this->testCases = $testCases;
}
/**
* @return string[]
*/
public function getTestCases()
{
return $this->testCases;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3BatchRunTestCasesRequest::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3BatchRunTestCasesRequest');

View File

@@ -0,0 +1,46 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3BatchRunTestCasesResponse extends \Google\Collection
{
protected $collection_key = 'results';
protected $resultsType = GoogleCloudDialogflowCxV3TestCaseResult::class;
protected $resultsDataType = 'array';
/**
* The test case results. The detailed conversation turns are empty in this
* response.
*
* @param GoogleCloudDialogflowCxV3TestCaseResult[] $results
*/
public function setResults($results)
{
$this->results = $results;
}
/**
* @return GoogleCloudDialogflowCxV3TestCaseResult[]
*/
public function getResults()
{
return $this->results;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3BatchRunTestCasesResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3BatchRunTestCasesResponse');

View File

@@ -0,0 +1,48 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3BoostSpec extends \Google\Collection
{
protected $collection_key = 'conditionBoostSpecs';
protected $conditionBoostSpecsType = GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec::class;
protected $conditionBoostSpecsDataType = 'array';
/**
* Optional. Condition boost specifications. If a document matches multiple
* conditions in the specifications, boost scores from these specifications
* are all applied and combined in a non-linear way. Maximum number of
* specifications is 20.
*
* @param GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec[] $conditionBoostSpecs
*/
public function setConditionBoostSpecs($conditionBoostSpecs)
{
$this->conditionBoostSpecs = $conditionBoostSpecs;
}
/**
* @return GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec[]
*/
public function getConditionBoostSpecs()
{
return $this->conditionBoostSpecs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3BoostSpec::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3BoostSpec');

View File

@@ -0,0 +1,117 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec extends \Google\Model
{
/**
* Optional. Strength of the condition boost, which should be in [-1, 1].
* Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the
* document a big promotion. However, it does not necessarily mean that the
* boosted document will be the top result at all times, nor that other
* documents will be excluded. Results could still be shown even when none of
* them matches the condition. And results that are significantly more
* relevant to the search query can still trump your heavily favored but
* irrelevant documents. Setting to -1.0 gives the document a big demotion.
* However, results that are deeply relevant might still be shown. The
* document will have an upstream battle to get a fairly high ranking, but it
* is not blocked out completely. Setting to 0.0 means no boost applied. The
* boosting condition is ignored.
*
* @var float
*/
public $boost;
protected $boostControlSpecType = GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec::class;
protected $boostControlSpecDataType = '';
/**
* Optional. An expression which specifies a boost condition. The syntax and
* supported fields are the same as a filter expression. Examples: * To boost
* documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": *
* (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue"))
*
* @var string
*/
public $condition;
/**
* Optional. Strength of the condition boost, which should be in [-1, 1].
* Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the
* document a big promotion. However, it does not necessarily mean that the
* boosted document will be the top result at all times, nor that other
* documents will be excluded. Results could still be shown even when none of
* them matches the condition. And results that are significantly more
* relevant to the search query can still trump your heavily favored but
* irrelevant documents. Setting to -1.0 gives the document a big demotion.
* However, results that are deeply relevant might still be shown. The
* document will have an upstream battle to get a fairly high ranking, but it
* is not blocked out completely. Setting to 0.0 means no boost applied. The
* boosting condition is ignored.
*
* @param float $boost
*/
public function setBoost($boost)
{
$this->boost = $boost;
}
/**
* @return float
*/
public function getBoost()
{
return $this->boost;
}
/**
* Optional. Complex specification for custom ranking based on customer
* defined attribute value.
*
* @param GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec $boostControlSpec
*/
public function setBoostControlSpec(GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec $boostControlSpec)
{
$this->boostControlSpec = $boostControlSpec;
}
/**
* @return GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec
*/
public function getBoostControlSpec()
{
return $this->boostControlSpec;
}
/**
* Optional. An expression which specifies a boost condition. The syntax and
* supported fields are the same as a filter expression. Examples: * To boost
* documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": *
* (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue"))
*
* @param string $condition
*/
public function setCondition($condition)
{
$this->condition = $condition;
}
/**
* @return string
*/
public function getCondition()
{
return $this->condition;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec');

View File

@@ -0,0 +1,156 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec extends \Google\Collection
{
/**
* Unspecified AttributeType.
*/
public const ATTRIBUTE_TYPE_ATTRIBUTE_TYPE_UNSPECIFIED = 'ATTRIBUTE_TYPE_UNSPECIFIED';
/**
* The value of the numerical field will be used to dynamically update the
* boost amount. In this case, the attribute_value (the x value) of the
* control point will be the actual value of the numerical field for which the
* boost_amount is specified.
*/
public const ATTRIBUTE_TYPE_NUMERICAL = 'NUMERICAL';
/**
* For the freshness use case the attribute value will be the duration between
* the current time and the date in the datetime field specified. The value
* must be formatted as an XSD `dayTimeDuration` value (a restricted subset of
* an ISO 8601 duration value). The pattern for this is: `nDnM]`. E.g. `5D`,
* `3DT12H30M`, `T24H`.
*/
public const ATTRIBUTE_TYPE_FRESHNESS = 'FRESHNESS';
/**
* Interpolation type is unspecified. In this case, it defaults to Linear.
*/
public const INTERPOLATION_TYPE_INTERPOLATION_TYPE_UNSPECIFIED = 'INTERPOLATION_TYPE_UNSPECIFIED';
/**
* Piecewise linear interpolation will be applied.
*/
public const INTERPOLATION_TYPE_LINEAR = 'LINEAR';
protected $collection_key = 'controlPoints';
/**
* Optional. The attribute type to be used to determine the boost amount. The
* attribute value can be derived from the field value of the specified
* field_name. In the case of numerical it is straightforward i.e.
* attribute_value = numerical_field_value. In the case of freshness however,
* attribute_value = (time.now() - datetime_field_value).
*
* @var string
*/
public $attributeType;
protected $controlPointsType = GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint::class;
protected $controlPointsDataType = 'array';
/**
* Optional. The name of the field whose value will be used to determine the
* boost amount.
*
* @var string
*/
public $fieldName;
/**
* Optional. The interpolation type to be applied to connect the control
* points listed below.
*
* @var string
*/
public $interpolationType;
/**
* Optional. The attribute type to be used to determine the boost amount. The
* attribute value can be derived from the field value of the specified
* field_name. In the case of numerical it is straightforward i.e.
* attribute_value = numerical_field_value. In the case of freshness however,
* attribute_value = (time.now() - datetime_field_value).
*
* Accepted values: ATTRIBUTE_TYPE_UNSPECIFIED, NUMERICAL, FRESHNESS
*
* @param self::ATTRIBUTE_TYPE_* $attributeType
*/
public function setAttributeType($attributeType)
{
$this->attributeType = $attributeType;
}
/**
* @return self::ATTRIBUTE_TYPE_*
*/
public function getAttributeType()
{
return $this->attributeType;
}
/**
* Optional. The control points used to define the curve. The monotonic
* function (defined through the interpolation_type above) passes through the
* control points listed here.
*
* @param GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint[] $controlPoints
*/
public function setControlPoints($controlPoints)
{
$this->controlPoints = $controlPoints;
}
/**
* @return GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint[]
*/
public function getControlPoints()
{
return $this->controlPoints;
}
/**
* Optional. The name of the field whose value will be used to determine the
* boost amount.
*
* @param string $fieldName
*/
public function setFieldName($fieldName)
{
$this->fieldName = $fieldName;
}
/**
* @return string
*/
public function getFieldName()
{
return $this->fieldName;
}
/**
* Optional. The interpolation type to be applied to connect the control
* points listed below.
*
* Accepted values: INTERPOLATION_TYPE_UNSPECIFIED, LINEAR
*
* @param self::INTERPOLATION_TYPE_* $interpolationType
*/
public function setInterpolationType($interpolationType)
{
$this->interpolationType = $interpolationType;
}
/**
* @return self::INTERPOLATION_TYPE_*
*/
public function getInterpolationType()
{
return $this->interpolationType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec');

View File

@@ -0,0 +1,78 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint extends \Google\Model
{
/**
* Optional. Can be one of: 1. The numerical field value. 2. The duration spec
* for freshness: The value must be formatted as an XSD `dayTimeDuration`
* value (a restricted subset of an ISO 8601 duration value). The pattern for
* this is: `nDnM]`.
*
* @var string
*/
public $attributeValue;
/**
* Optional. The value between -1 to 1 by which to boost the score if the
* attribute_value evaluates to the value specified above.
*
* @var float
*/
public $boostAmount;
/**
* Optional. Can be one of: 1. The numerical field value. 2. The duration spec
* for freshness: The value must be formatted as an XSD `dayTimeDuration`
* value (a restricted subset of an ISO 8601 duration value). The pattern for
* this is: `nDnM]`.
*
* @param string $attributeValue
*/
public function setAttributeValue($attributeValue)
{
$this->attributeValue = $attributeValue;
}
/**
* @return string
*/
public function getAttributeValue()
{
return $this->attributeValue;
}
/**
* Optional. The value between -1 to 1 by which to boost the score if the
* attribute_value evaluates to the value specified above.
*
* @param float $boostAmount
*/
public function setBoostAmount($boostAmount)
{
$this->boostAmount = $boostAmount;
}
/**
* @return float
*/
public function getBoostAmount()
{
return $this->boostAmount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint');

View File

@@ -0,0 +1,73 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3BoostSpecs extends \Google\Collection
{
protected $collection_key = 'spec';
/**
* Optional. Data Stores where the boosting configuration is applied. The full
* names of the referenced data stores. Formats: `projects/{project}/locations
* /{location}/collections/{collection}/dataStores/{data_store}`
* `projects/{project}/locations/{location}/dataStores/{data_store}`
*
* @var string[]
*/
public $dataStores;
protected $specType = GoogleCloudDialogflowCxV3BoostSpec::class;
protected $specDataType = 'array';
/**
* Optional. Data Stores where the boosting configuration is applied. The full
* names of the referenced data stores. Formats: `projects/{project}/locations
* /{location}/collections/{collection}/dataStores/{data_store}`
* `projects/{project}/locations/{location}/dataStores/{data_store}`
*
* @param string[] $dataStores
*/
public function setDataStores($dataStores)
{
$this->dataStores = $dataStores;
}
/**
* @return string[]
*/
public function getDataStores()
{
return $this->dataStores;
}
/**
* Optional. A list of boosting specifications.
*
* @param GoogleCloudDialogflowCxV3BoostSpec[] $spec
*/
public function setSpec($spec)
{
$this->spec = $spec;
}
/**
* @return GoogleCloudDialogflowCxV3BoostSpec[]
*/
public function getSpec()
{
return $this->spec;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3BoostSpecs::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3BoostSpecs');

View File

@@ -0,0 +1,104 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3CalculateCoverageResponse extends \Google\Model
{
/**
* The agent to calculate coverage for. Format:
* `projects//locations//agents/`.
*
* @var string
*/
public $agent;
protected $intentCoverageType = GoogleCloudDialogflowCxV3IntentCoverage::class;
protected $intentCoverageDataType = '';
protected $routeGroupCoverageType = GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage::class;
protected $routeGroupCoverageDataType = '';
protected $transitionCoverageType = GoogleCloudDialogflowCxV3TransitionCoverage::class;
protected $transitionCoverageDataType = '';
/**
* The agent to calculate coverage for. Format:
* `projects//locations//agents/`.
*
* @param string $agent
*/
public function setAgent($agent)
{
$this->agent = $agent;
}
/**
* @return string
*/
public function getAgent()
{
return $this->agent;
}
/**
* Intent coverage.
*
* @param GoogleCloudDialogflowCxV3IntentCoverage $intentCoverage
*/
public function setIntentCoverage(GoogleCloudDialogflowCxV3IntentCoverage $intentCoverage)
{
$this->intentCoverage = $intentCoverage;
}
/**
* @return GoogleCloudDialogflowCxV3IntentCoverage
*/
public function getIntentCoverage()
{
return $this->intentCoverage;
}
/**
* Transition route group coverage.
*
* @param GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage $routeGroupCoverage
*/
public function setRouteGroupCoverage(GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage $routeGroupCoverage)
{
$this->routeGroupCoverage = $routeGroupCoverage;
}
/**
* @return GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage
*/
public function getRouteGroupCoverage()
{
return $this->routeGroupCoverage;
}
/**
* Transition (excluding transition route groups) coverage.
*
* @param GoogleCloudDialogflowCxV3TransitionCoverage $transitionCoverage
*/
public function setTransitionCoverage(GoogleCloudDialogflowCxV3TransitionCoverage $transitionCoverage)
{
$this->transitionCoverage = $transitionCoverage;
}
/**
* @return GoogleCloudDialogflowCxV3TransitionCoverage
*/
public function getTransitionCoverage()
{
return $this->transitionCoverage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3CalculateCoverageResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3CalculateCoverageResponse');

View File

@@ -0,0 +1,204 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3Changelog extends \Google\Model
{
/**
* The action of the change.
*
* @var string
*/
public $action;
/**
* The timestamp of the change.
*
* @var string
*/
public $createTime;
/**
* The affected resource display name of the change.
*
* @var string
*/
public $displayName;
/**
* The affected language code of the change.
*
* @var string
*/
public $languageCode;
/**
* The unique identifier of the changelog. Format:
* `projects//locations//agents//changelogs/`.
*
* @var string
*/
public $name;
/**
* The affected resource name of the change.
*
* @var string
*/
public $resource;
/**
* The affected resource type.
*
* @var string
*/
public $type;
/**
* Email address of the authenticated user.
*
* @var string
*/
public $userEmail;
/**
* The action of the change.
*
* @param string $action
*/
public function setAction($action)
{
$this->action = $action;
}
/**
* @return string
*/
public function getAction()
{
return $this->action;
}
/**
* The timestamp of the change.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* The affected resource display name of the change.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* The affected language code of the change.
*
* @param string $languageCode
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* The unique identifier of the changelog. Format:
* `projects//locations//agents//changelogs/`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The affected resource name of the change.
*
* @param string $resource
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
/**
* The affected resource type.
*
* @param string $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* Email address of the authenticated user.
*
* @param string $userEmail
*/
public function setUserEmail($userEmail)
{
$this->userEmail = $userEmail;
}
/**
* @return string
*/
public function getUserEmail()
{
return $this->userEmail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3Changelog::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3Changelog');

View File

@@ -0,0 +1,48 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3CodeBlock extends \Google\Model
{
/**
* Optional. Source code of the block in Python.
*
* @var string
*/
public $code;
/**
* Optional. Source code of the block in Python.
*
* @param string $code
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3CodeBlock::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3CodeBlock');

View File

@@ -0,0 +1,82 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3CompareVersionsRequest extends \Google\Model
{
/**
* The language to compare the flow versions for. If not specified, the
* agent's default language is used. [Many
* languages](https://cloud.google.com/dialogflow/docs/reference/language) are
* supported. Note: languages must be enabled in the agent before they can be
* used.
*
* @var string
*/
public $languageCode;
/**
* Required. Name of the target flow version to compare with the base version.
* Use version ID `0` to indicate the draft version of the specified flow.
* Format: `projects//locations//agents//flows//versions/`.
*
* @var string
*/
public $targetVersion;
/**
* The language to compare the flow versions for. If not specified, the
* agent's default language is used. [Many
* languages](https://cloud.google.com/dialogflow/docs/reference/language) are
* supported. Note: languages must be enabled in the agent before they can be
* used.
*
* @param string $languageCode
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* Required. Name of the target flow version to compare with the base version.
* Use version ID `0` to indicate the draft version of the specified flow.
* Format: `projects//locations//agents//flows//versions/`.
*
* @param string $targetVersion
*/
public function setTargetVersion($targetVersion)
{
$this->targetVersion = $targetVersion;
}
/**
* @return string
*/
public function getTargetVersion()
{
return $this->targetVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3CompareVersionsRequest::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3CompareVersionsRequest');

View File

@@ -0,0 +1,92 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3CompareVersionsResponse extends \Google\Model
{
/**
* JSON representation of the base version content.
*
* @var string
*/
public $baseVersionContentJson;
/**
* The timestamp when the two version compares.
*
* @var string
*/
public $compareTime;
/**
* JSON representation of the target version content.
*
* @var string
*/
public $targetVersionContentJson;
/**
* JSON representation of the base version content.
*
* @param string $baseVersionContentJson
*/
public function setBaseVersionContentJson($baseVersionContentJson)
{
$this->baseVersionContentJson = $baseVersionContentJson;
}
/**
* @return string
*/
public function getBaseVersionContentJson()
{
return $this->baseVersionContentJson;
}
/**
* The timestamp when the two version compares.
*
* @param string $compareTime
*/
public function setCompareTime($compareTime)
{
$this->compareTime = $compareTime;
}
/**
* @return string
*/
public function getCompareTime()
{
return $this->compareTime;
}
/**
* JSON representation of the target version content.
*
* @param string $targetVersionContentJson
*/
public function setTargetVersionContentJson($targetVersionContentJson)
{
$this->targetVersionContentJson = $targetVersionContentJson;
}
/**
* @return string
*/
public function getTargetVersionContentJson()
{
return $this->targetVersionContentJson;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3CompareVersionsResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3CompareVersionsResponse');

View File

@@ -0,0 +1,133 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ContinuousTestResult extends \Google\Collection
{
/**
* Not specified. Should never be used.
*/
public const RESULT_AGGREGATED_TEST_RESULT_UNSPECIFIED = 'AGGREGATED_TEST_RESULT_UNSPECIFIED';
/**
* All the tests passed.
*/
public const RESULT_PASSED = 'PASSED';
/**
* At least one test did not pass.
*/
public const RESULT_FAILED = 'FAILED';
protected $collection_key = 'testCaseResults';
/**
* The resource name for the continuous test result. Format:
* `projects//locations//agents//environments//continuousTestResults/`.
*
* @var string
*/
public $name;
/**
* The result of this continuous test run, i.e. whether all the tests in this
* continuous test run pass or not.
*
* @var string
*/
public $result;
/**
* Time when the continuous testing run starts.
*
* @var string
*/
public $runTime;
/**
* A list of individual test case results names in this continuous test run.
*
* @var string[]
*/
public $testCaseResults;
/**
* The resource name for the continuous test result. Format:
* `projects//locations//agents//environments//continuousTestResults/`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The result of this continuous test run, i.e. whether all the tests in this
* continuous test run pass or not.
*
* Accepted values: AGGREGATED_TEST_RESULT_UNSPECIFIED, PASSED, FAILED
*
* @param self::RESULT_* $result
*/
public function setResult($result)
{
$this->result = $result;
}
/**
* @return self::RESULT_*
*/
public function getResult()
{
return $this->result;
}
/**
* Time when the continuous testing run starts.
*
* @param string $runTime
*/
public function setRunTime($runTime)
{
$this->runTime = $runTime;
}
/**
* @return string
*/
public function getRunTime()
{
return $this->runTime;
}
/**
* A list of individual test case results names in this continuous test run.
*
* @param string[] $testCaseResults
*/
public function setTestCaseResults($testCaseResults)
{
$this->testCaseResults = $testCaseResults;
}
/**
* @return string[]
*/
public function getTestCaseResults()
{
return $this->testCaseResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ContinuousTestResult::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ContinuousTestResult');

View File

@@ -0,0 +1,44 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ConversationSignals extends \Google\Model
{
protected $turnSignalsType = GoogleCloudDialogflowCxV3TurnSignals::class;
protected $turnSignalsDataType = '';
/**
* Required. Turn signals for the current turn.
*
* @param GoogleCloudDialogflowCxV3TurnSignals $turnSignals
*/
public function setTurnSignals(GoogleCloudDialogflowCxV3TurnSignals $turnSignals)
{
$this->turnSignals = $turnSignals;
}
/**
* @return GoogleCloudDialogflowCxV3TurnSignals
*/
public function getTurnSignals()
{
return $this->turnSignals;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ConversationSignals::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ConversationSignals');

View File

@@ -0,0 +1,62 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ConversationTurn extends \Google\Model
{
protected $userInputType = GoogleCloudDialogflowCxV3ConversationTurnUserInput::class;
protected $userInputDataType = '';
protected $virtualAgentOutputType = GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput::class;
protected $virtualAgentOutputDataType = '';
/**
* The user input.
*
* @param GoogleCloudDialogflowCxV3ConversationTurnUserInput $userInput
*/
public function setUserInput(GoogleCloudDialogflowCxV3ConversationTurnUserInput $userInput)
{
$this->userInput = $userInput;
}
/**
* @return GoogleCloudDialogflowCxV3ConversationTurnUserInput
*/
public function getUserInput()
{
return $this->userInput;
}
/**
* The virtual agent output.
*
* @param GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput $virtualAgentOutput
*/
public function setVirtualAgentOutput(GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput $virtualAgentOutput)
{
$this->virtualAgentOutput = $virtualAgentOutput;
}
/**
* @return GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput
*/
public function getVirtualAgentOutput()
{
return $this->virtualAgentOutput;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ConversationTurn::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ConversationTurn');

View File

@@ -0,0 +1,114 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ConversationTurnUserInput extends \Google\Model
{
/**
* Whether sentiment analysis is enabled.
*
* @var bool
*/
public $enableSentimentAnalysis;
/**
* Parameters that need to be injected into the conversation during intent
* detection.
*
* @var array[]
*/
public $injectedParameters;
protected $inputType = GoogleCloudDialogflowCxV3QueryInput::class;
protected $inputDataType = '';
/**
* If webhooks should be allowed to trigger in response to the user utterance.
* Often if parameters are injected, webhooks should not be enabled.
*
* @var bool
*/
public $isWebhookEnabled;
/**
* Whether sentiment analysis is enabled.
*
* @param bool $enableSentimentAnalysis
*/
public function setEnableSentimentAnalysis($enableSentimentAnalysis)
{
$this->enableSentimentAnalysis = $enableSentimentAnalysis;
}
/**
* @return bool
*/
public function getEnableSentimentAnalysis()
{
return $this->enableSentimentAnalysis;
}
/**
* Parameters that need to be injected into the conversation during intent
* detection.
*
* @param array[] $injectedParameters
*/
public function setInjectedParameters($injectedParameters)
{
$this->injectedParameters = $injectedParameters;
}
/**
* @return array[]
*/
public function getInjectedParameters()
{
return $this->injectedParameters;
}
/**
* Supports text input, event input, dtmf input in the test case.
*
* @param GoogleCloudDialogflowCxV3QueryInput $input
*/
public function setInput(GoogleCloudDialogflowCxV3QueryInput $input)
{
$this->input = $input;
}
/**
* @return GoogleCloudDialogflowCxV3QueryInput
*/
public function getInput()
{
return $this->input;
}
/**
* If webhooks should be allowed to trigger in response to the user utterance.
* Often if parameters are injected, webhooks should not be enabled.
*
* @param bool $isWebhookEnabled
*/
public function setIsWebhookEnabled($isWebhookEnabled)
{
$this->isWebhookEnabled = $isWebhookEnabled;
}
/**
* @return bool
*/
public function getIsWebhookEnabled()
{
return $this->isWebhookEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ConversationTurnUserInput::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ConversationTurnUserInput');

View File

@@ -0,0 +1,168 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput extends \Google\Collection
{
protected $collection_key = 'textResponses';
protected $currentPageType = GoogleCloudDialogflowCxV3Page::class;
protected $currentPageDataType = '';
/**
* Required. Input only. The diagnostic info output for the turn. Required to
* calculate the testing coverage.
*
* @var array[]
*/
public $diagnosticInfo;
protected $differencesType = GoogleCloudDialogflowCxV3TestRunDifference::class;
protected $differencesDataType = 'array';
/**
* The session parameters available to the bot at this point.
*
* @var array[]
*/
public $sessionParameters;
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
protected $textResponsesType = GoogleCloudDialogflowCxV3ResponseMessageText::class;
protected $textResponsesDataType = 'array';
protected $triggeredIntentType = GoogleCloudDialogflowCxV3Intent::class;
protected $triggeredIntentDataType = '';
/**
* The Page on which the utterance was spoken. Only name and displayName will
* be set.
*
* @param GoogleCloudDialogflowCxV3Page $currentPage
*/
public function setCurrentPage(GoogleCloudDialogflowCxV3Page $currentPage)
{
$this->currentPage = $currentPage;
}
/**
* @return GoogleCloudDialogflowCxV3Page
*/
public function getCurrentPage()
{
return $this->currentPage;
}
/**
* Required. Input only. The diagnostic info output for the turn. Required to
* calculate the testing coverage.
*
* @param array[] $diagnosticInfo
*/
public function setDiagnosticInfo($diagnosticInfo)
{
$this->diagnosticInfo = $diagnosticInfo;
}
/**
* @return array[]
*/
public function getDiagnosticInfo()
{
return $this->diagnosticInfo;
}
/**
* Output only. If this is part of a result conversation turn, the list of
* differences between the original run and the replay for this output, if
* any.
*
* @param GoogleCloudDialogflowCxV3TestRunDifference[] $differences
*/
public function setDifferences($differences)
{
$this->differences = $differences;
}
/**
* @return GoogleCloudDialogflowCxV3TestRunDifference[]
*/
public function getDifferences()
{
return $this->differences;
}
/**
* The session parameters available to the bot at this point.
*
* @param array[] $sessionParameters
*/
public function setSessionParameters($sessionParameters)
{
$this->sessionParameters = $sessionParameters;
}
/**
* @return array[]
*/
public function getSessionParameters()
{
return $this->sessionParameters;
}
/**
* Response error from the agent in the test result. If set, other output is
* empty.
*
* @param GoogleRpcStatus $status
*/
public function setStatus(GoogleRpcStatus $status)
{
$this->status = $status;
}
/**
* @return GoogleRpcStatus
*/
public function getStatus()
{
return $this->status;
}
/**
* The text responses from the agent for the turn.
*
* @param GoogleCloudDialogflowCxV3ResponseMessageText[] $textResponses
*/
public function setTextResponses($textResponses)
{
$this->textResponses = $textResponses;
}
/**
* @return GoogleCloudDialogflowCxV3ResponseMessageText[]
*/
public function getTextResponses()
{
return $this->textResponses;
}
/**
* The Intent that triggered the response. Only name and displayName will be
* set.
*
* @param GoogleCloudDialogflowCxV3Intent $triggeredIntent
*/
public function setTriggeredIntent(GoogleCloudDialogflowCxV3Intent $triggeredIntent)
{
$this->triggeredIntent = $triggeredIntent;
}
/**
* @return GoogleCloudDialogflowCxV3Intent
*/
public function getTriggeredIntent()
{
return $this->triggeredIntent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput');

View File

@@ -0,0 +1,42 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata extends \Google\Model
{
protected $genericMetadataType = GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata::class;
protected $genericMetadataDataType = '';
/**
* @param GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
*/
public function setGenericMetadata(GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata $genericMetadata)
{
$this->genericMetadata = $genericMetadata;
}
/**
* @return GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
*/
public function getGenericMetadata()
{
return $this->genericMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata');

View File

@@ -0,0 +1,50 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata extends \Google\Model
{
/**
* Name of the created version. Format:
* `projects//locations//agents//flows//versions/`.
*
* @var string
*/
public $version;
/**
* Name of the created version. Format:
* `projects//locations//agents//flows//versions/`.
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3CreateVersionOperationMetadata::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3CreateVersionOperationMetadata');

View File

@@ -0,0 +1,136 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DataStoreConnection extends \Google\Model
{
/**
* Not specified. This value indicates that the data store type is not
* specified, so it will not be used during search.
*/
public const DATA_STORE_TYPE_DATA_STORE_TYPE_UNSPECIFIED = 'DATA_STORE_TYPE_UNSPECIFIED';
/**
* A data store that contains public web content.
*/
public const DATA_STORE_TYPE_PUBLIC_WEB = 'PUBLIC_WEB';
/**
* A data store that contains unstructured private data.
*/
public const DATA_STORE_TYPE_UNSTRUCTURED = 'UNSTRUCTURED';
/**
* A data store that contains structured data (for example FAQ).
*/
public const DATA_STORE_TYPE_STRUCTURED = 'STRUCTURED';
/**
* Not specified. This should be set for STRUCTURED type data stores. Due to
* legacy reasons this is considered as DOCUMENTS for STRUCTURED and
* PUBLIC_WEB data stores.
*/
public const DOCUMENT_PROCESSING_MODE_DOCUMENT_PROCESSING_MODE_UNSPECIFIED = 'DOCUMENT_PROCESSING_MODE_UNSPECIFIED';
/**
* Documents are processed as documents.
*/
public const DOCUMENT_PROCESSING_MODE_DOCUMENTS = 'DOCUMENTS';
/**
* Documents are converted to chunks.
*/
public const DOCUMENT_PROCESSING_MODE_CHUNKS = 'CHUNKS';
/**
* The full name of the referenced data store. Formats: `projects/{project}/lo
* cations/{location}/collections/{collection}/dataStores/{data_store}`
* `projects/{project}/locations/{location}/dataStores/{data_store}`
*
* @var string
*/
public $dataStore;
/**
* The type of the connected data store.
*
* @var string
*/
public $dataStoreType;
/**
* The document processing mode for the data store connection. Should only be
* set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is
* considered as DOCUMENTS, as this is the legacy mode.
*
* @var string
*/
public $documentProcessingMode;
/**
* The full name of the referenced data store. Formats: `projects/{project}/lo
* cations/{location}/collections/{collection}/dataStores/{data_store}`
* `projects/{project}/locations/{location}/dataStores/{data_store}`
*
* @param string $dataStore
*/
public function setDataStore($dataStore)
{
$this->dataStore = $dataStore;
}
/**
* @return string
*/
public function getDataStore()
{
return $this->dataStore;
}
/**
* The type of the connected data store.
*
* Accepted values: DATA_STORE_TYPE_UNSPECIFIED, PUBLIC_WEB, UNSTRUCTURED,
* STRUCTURED
*
* @param self::DATA_STORE_TYPE_* $dataStoreType
*/
public function setDataStoreType($dataStoreType)
{
$this->dataStoreType = $dataStoreType;
}
/**
* @return self::DATA_STORE_TYPE_*
*/
public function getDataStoreType()
{
return $this->dataStoreType;
}
/**
* The document processing mode for the data store connection. Should only be
* set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is
* considered as DOCUMENTS, as this is the legacy mode.
*
* Accepted values: DOCUMENT_PROCESSING_MODE_UNSPECIFIED, DOCUMENTS, CHUNKS
*
* @param self::DOCUMENT_PROCESSING_MODE_* $documentProcessingMode
*/
public function setDocumentProcessingMode($documentProcessingMode)
{
$this->documentProcessingMode = $documentProcessingMode;
}
/**
* @return self::DOCUMENT_PROCESSING_MODE_*
*/
public function getDocumentProcessingMode()
{
return $this->documentProcessingMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DataStoreConnection::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DataStoreConnection');

View File

@@ -0,0 +1,199 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DataStoreConnectionSignals extends \Google\Collection
{
protected $collection_key = 'searchSnippets';
/**
* Optional. The final compiled answer.
*
* @var string
*/
public $answer;
protected $answerGenerationModelCallSignalsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals::class;
protected $answerGenerationModelCallSignalsDataType = '';
protected $answerPartsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart::class;
protected $answerPartsDataType = 'array';
protected $citedSnippetsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet::class;
protected $citedSnippetsDataType = 'array';
protected $groundingSignalsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals::class;
protected $groundingSignalsDataType = '';
protected $rewriterModelCallSignalsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals::class;
protected $rewriterModelCallSignalsDataType = '';
/**
* Optional. Rewritten string query used for search.
*
* @var string
*/
public $rewrittenQuery;
protected $safetySignalsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals::class;
protected $safetySignalsDataType = '';
protected $searchSnippetsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet::class;
protected $searchSnippetsDataType = 'array';
/**
* Optional. The final compiled answer.
*
* @param string $answer
*/
public function setAnswer($answer)
{
$this->answer = $answer;
}
/**
* @return string
*/
public function getAnswer()
{
return $this->answer;
}
/**
* Optional. Diagnostic info related to the answer generation model call.
*
* @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals $answerGenerationModelCallSignals
*/
public function setAnswerGenerationModelCallSignals(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals $answerGenerationModelCallSignals)
{
$this->answerGenerationModelCallSignals = $answerGenerationModelCallSignals;
}
/**
* @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
*/
public function getAnswerGenerationModelCallSignals()
{
return $this->answerGenerationModelCallSignals;
}
/**
* Optional. Answer parts with relevant citations. Concatenation of texts
* should add up the `answer` (not counting whitespaces).
*
* @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart[] $answerParts
*/
public function setAnswerParts($answerParts)
{
$this->answerParts = $answerParts;
}
/**
* @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart[]
*/
public function getAnswerParts()
{
return $this->answerParts;
}
/**
* Optional. Snippets cited by the answer generation model from the most to
* least relevant.
*
* @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet[] $citedSnippets
*/
public function setCitedSnippets($citedSnippets)
{
$this->citedSnippets = $citedSnippets;
}
/**
* @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet[]
*/
public function getCitedSnippets()
{
return $this->citedSnippets;
}
/**
* Optional. Grounding signals.
*
* @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals $groundingSignals
*/
public function setGroundingSignals(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals $groundingSignals)
{
$this->groundingSignals = $groundingSignals;
}
/**
* @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals
*/
public function getGroundingSignals()
{
return $this->groundingSignals;
}
/**
* Optional. Diagnostic info related to the rewriter model call.
*
* @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals $rewriterModelCallSignals
*/
public function setRewriterModelCallSignals(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals $rewriterModelCallSignals)
{
$this->rewriterModelCallSignals = $rewriterModelCallSignals;
}
/**
* @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals
*/
public function getRewriterModelCallSignals()
{
return $this->rewriterModelCallSignals;
}
/**
* Optional. Rewritten string query used for search.
*
* @param string $rewrittenQuery
*/
public function setRewrittenQuery($rewrittenQuery)
{
$this->rewrittenQuery = $rewrittenQuery;
}
/**
* @return string
*/
public function getRewrittenQuery()
{
return $this->rewrittenQuery;
}
/**
* Optional. Safety check result.
*
* @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals $safetySignals
*/
public function setSafetySignals(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals $safetySignals)
{
$this->safetySignals = $safetySignals;
}
/**
* @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals
*/
public function getSafetySignals()
{
return $this->safetySignals;
}
/**
* Optional. Search snippets included in the answer generation prompt.
*
* @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet[] $searchSnippets
*/
public function setSearchSnippets($searchSnippets)
{
$this->searchSnippets = $searchSnippets;
}
/**
* @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet[]
*/
public function getSearchSnippets()
{
return $this->searchSnippets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DataStoreConnectionSignals::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignals');

View File

@@ -0,0 +1,94 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals extends \Google\Model
{
/**
* Name of the generative model. For example, "gemini-ultra", "gemini-pro",
* "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
*
* @var string
*/
public $model;
/**
* Output of the generative model.
*
* @var string
*/
public $modelOutput;
/**
* Prompt as sent to the model.
*
* @var string
*/
public $renderedPrompt;
/**
* Name of the generative model. For example, "gemini-ultra", "gemini-pro",
* "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
*
* @param string $model
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
/**
* Output of the generative model.
*
* @param string $modelOutput
*/
public function setModelOutput($modelOutput)
{
$this->modelOutput = $modelOutput;
}
/**
* @return string
*/
public function getModelOutput()
{
return $this->modelOutput;
}
/**
* Prompt as sent to the model.
*
* @param string $renderedPrompt
*/
public function setRenderedPrompt($renderedPrompt)
{
$this->renderedPrompt = $renderedPrompt;
}
/**
* @return string
*/
public function getRenderedPrompt()
{
return $this->renderedPrompt;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals');

View File

@@ -0,0 +1,71 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart extends \Google\Collection
{
protected $collection_key = 'supportingIndices';
/**
* Citations for this answer part. Indices of `search_snippets`.
*
* @var int[]
*/
public $supportingIndices;
/**
* Substring of the answer.
*
* @var string
*/
public $text;
/**
* Citations for this answer part. Indices of `search_snippets`.
*
* @param int[] $supportingIndices
*/
public function setSupportingIndices($supportingIndices)
{
$this->supportingIndices = $supportingIndices;
}
/**
* @return int[]
*/
public function getSupportingIndices()
{
return $this->supportingIndices;
}
/**
* Substring of the answer.
*
* @param string $text
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart');

View File

@@ -0,0 +1,66 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet extends \Google\Model
{
protected $searchSnippetType = GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet::class;
protected $searchSnippetDataType = '';
/**
* Index of the snippet in `search_snippets` field.
*
* @var int
*/
public $snippetIndex;
/**
* Details of the snippet.
*
* @param GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet $searchSnippet
*/
public function setSearchSnippet(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet $searchSnippet)
{
$this->searchSnippet = $searchSnippet;
}
/**
* @return GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet
*/
public function getSearchSnippet()
{
return $this->searchSnippet;
}
/**
* Index of the snippet in `search_snippets` field.
*
* @param int $snippetIndex
*/
public function setSnippetIndex($snippetIndex)
{
$this->snippetIndex = $snippetIndex;
}
/**
* @return int
*/
public function getSnippetIndex()
{
return $this->snippetIndex;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet');

View File

@@ -0,0 +1,112 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals extends \Google\Model
{
/**
* Decision not specified.
*/
public const DECISION_GROUNDING_DECISION_UNSPECIFIED = 'GROUNDING_DECISION_UNSPECIFIED';
/**
* Grounding have accepted the answer.
*/
public const DECISION_ACCEPTED_BY_GROUNDING = 'ACCEPTED_BY_GROUNDING';
/**
* Grounding have rejected the answer.
*/
public const DECISION_REJECTED_BY_GROUNDING = 'REJECTED_BY_GROUNDING';
/**
* Score not specified.
*/
public const SCORE_GROUNDING_SCORE_BUCKET_UNSPECIFIED = 'GROUNDING_SCORE_BUCKET_UNSPECIFIED';
/**
* We have very low confidence that the answer is grounded.
*/
public const SCORE_VERY_LOW = 'VERY_LOW';
/**
* We have low confidence that the answer is grounded.
*/
public const SCORE_LOW = 'LOW';
/**
* We have medium confidence that the answer is grounded.
*/
public const SCORE_MEDIUM = 'MEDIUM';
/**
* We have high confidence that the answer is grounded.
*/
public const SCORE_HIGH = 'HIGH';
/**
* We have very high confidence that the answer is grounded.
*/
public const SCORE_VERY_HIGH = 'VERY_HIGH';
/**
* Represents the decision of the grounding check.
*
* @var string
*/
public $decision;
/**
* Grounding score bucket setting.
*
* @var string
*/
public $score;
/**
* Represents the decision of the grounding check.
*
* Accepted values: GROUNDING_DECISION_UNSPECIFIED, ACCEPTED_BY_GROUNDING,
* REJECTED_BY_GROUNDING
*
* @param self::DECISION_* $decision
*/
public function setDecision($decision)
{
$this->decision = $decision;
}
/**
* @return self::DECISION_*
*/
public function getDecision()
{
return $this->decision;
}
/**
* Grounding score bucket setting.
*
* Accepted values: GROUNDING_SCORE_BUCKET_UNSPECIFIED, VERY_LOW, LOW, MEDIUM,
* HIGH, VERY_HIGH
*
* @param self::SCORE_* $score
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return self::SCORE_*
*/
public function getScore()
{
return $this->score;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals');

View File

@@ -0,0 +1,94 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals extends \Google\Model
{
/**
* Name of the generative model. For example, "gemini-ultra", "gemini-pro",
* "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
*
* @var string
*/
public $model;
/**
* Output of the generative model.
*
* @var string
*/
public $modelOutput;
/**
* Prompt as sent to the model.
*
* @var string
*/
public $renderedPrompt;
/**
* Name of the generative model. For example, "gemini-ultra", "gemini-pro",
* "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
*
* @param string $model
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
/**
* Output of the generative model.
*
* @param string $modelOutput
*/
public function setModelOutput($modelOutput)
{
$this->modelOutput = $modelOutput;
}
/**
* @return string
*/
public function getModelOutput()
{
return $this->modelOutput;
}
/**
* Prompt as sent to the model.
*
* @param string $renderedPrompt
*/
public function setRenderedPrompt($renderedPrompt)
{
$this->renderedPrompt = $renderedPrompt;
}
/**
* @return string
*/
public function getRenderedPrompt()
{
return $this->renderedPrompt;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals');

View File

@@ -0,0 +1,126 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals extends \Google\Model
{
/**
* No banned phrase check was executed.
*/
public const BANNED_PHRASE_MATCH_BANNED_PHRASE_MATCH_UNSPECIFIED = 'BANNED_PHRASE_MATCH_UNSPECIFIED';
/**
* All banned phrase checks led to no match.
*/
public const BANNED_PHRASE_MATCH_BANNED_PHRASE_MATCH_NONE = 'BANNED_PHRASE_MATCH_NONE';
/**
* A banned phrase matched the query.
*/
public const BANNED_PHRASE_MATCH_BANNED_PHRASE_MATCH_QUERY = 'BANNED_PHRASE_MATCH_QUERY';
/**
* A banned phrase matched the response.
*/
public const BANNED_PHRASE_MATCH_BANNED_PHRASE_MATCH_RESPONSE = 'BANNED_PHRASE_MATCH_RESPONSE';
/**
* Decision not specified.
*/
public const DECISION_SAFETY_DECISION_UNSPECIFIED = 'SAFETY_DECISION_UNSPECIFIED';
/**
* No manual or automatic safety check fired.
*/
public const DECISION_ACCEPTED_BY_SAFETY_CHECK = 'ACCEPTED_BY_SAFETY_CHECK';
/**
* One ore more safety checks fired.
*/
public const DECISION_REJECTED_BY_SAFETY_CHECK = 'REJECTED_BY_SAFETY_CHECK';
/**
* Specifies banned phrase match subject.
*
* @var string
*/
public $bannedPhraseMatch;
/**
* Safety decision.
*
* @var string
*/
public $decision;
/**
* The matched banned phrase if there was a match.
*
* @var string
*/
public $matchedBannedPhrase;
/**
* Specifies banned phrase match subject.
*
* Accepted values: BANNED_PHRASE_MATCH_UNSPECIFIED, BANNED_PHRASE_MATCH_NONE,
* BANNED_PHRASE_MATCH_QUERY, BANNED_PHRASE_MATCH_RESPONSE
*
* @param self::BANNED_PHRASE_MATCH_* $bannedPhraseMatch
*/
public function setBannedPhraseMatch($bannedPhraseMatch)
{
$this->bannedPhraseMatch = $bannedPhraseMatch;
}
/**
* @return self::BANNED_PHRASE_MATCH_*
*/
public function getBannedPhraseMatch()
{
return $this->bannedPhraseMatch;
}
/**
* Safety decision.
*
* Accepted values: SAFETY_DECISION_UNSPECIFIED, ACCEPTED_BY_SAFETY_CHECK,
* REJECTED_BY_SAFETY_CHECK
*
* @param self::DECISION_* $decision
*/
public function setDecision($decision)
{
$this->decision = $decision;
}
/**
* @return self::DECISION_*
*/
public function getDecision()
{
return $this->decision;
}
/**
* The matched banned phrase if there was a match.
*
* @param string $matchedBannedPhrase
*/
public function setMatchedBannedPhrase($matchedBannedPhrase)
{
$this->matchedBannedPhrase = $matchedBannedPhrase;
}
/**
* @return string
*/
public function getMatchedBannedPhrase()
{
return $this->matchedBannedPhrase;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals');

View File

@@ -0,0 +1,114 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet extends \Google\Model
{
/**
* Title of the enclosing document.
*
* @var string
*/
public $documentTitle;
/**
* Uri for the document. Present if specified for the document.
*
* @var string
*/
public $documentUri;
/**
* Metadata associated with the document.
*
* @var array[]
*/
public $metadata;
/**
* Text included in the prompt.
*
* @var string
*/
public $text;
/**
* Title of the enclosing document.
*
* @param string $documentTitle
*/
public function setDocumentTitle($documentTitle)
{
$this->documentTitle = $documentTitle;
}
/**
* @return string
*/
public function getDocumentTitle()
{
return $this->documentTitle;
}
/**
* Uri for the document. Present if specified for the document.
*
* @param string $documentUri
*/
public function setDocumentUri($documentUri)
{
$this->documentUri = $documentUri;
}
/**
* @return string
*/
public function getDocumentUri()
{
return $this->documentUri;
}
/**
* Metadata associated with the document.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Text included in the prompt.
*
* @param string $text
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet');

View File

@@ -0,0 +1,42 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata extends \Google\Model
{
protected $genericMetadataType = GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata::class;
protected $genericMetadataDataType = '';
/**
* @param GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
*/
public function setGenericMetadata(GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata $genericMetadata)
{
$this->genericMetadata = $genericMetadata;
}
/**
* @return GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
*/
public function getGenericMetadata()
{
return $this->genericMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata');

View File

@@ -0,0 +1,45 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DeployFlowMetadata extends \Google\Collection
{
protected $collection_key = 'testErrors';
protected $testErrorsType = GoogleCloudDialogflowCxV3TestError::class;
protected $testErrorsDataType = 'array';
/**
* Errors of running deployment tests.
*
* @param GoogleCloudDialogflowCxV3TestError[] $testErrors
*/
public function setTestErrors($testErrors)
{
$this->testErrors = $testErrors;
}
/**
* @return GoogleCloudDialogflowCxV3TestError[]
*/
public function getTestErrors()
{
return $this->testErrors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DeployFlowMetadata::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DeployFlowMetadata');

View File

@@ -0,0 +1,50 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DeployFlowRequest extends \Google\Model
{
/**
* Required. The flow version to deploy. Format:
* `projects//locations//agents//flows//versions/`.
*
* @var string
*/
public $flowVersion;
/**
* Required. The flow version to deploy. Format:
* `projects//locations//agents//flows//versions/`.
*
* @param string $flowVersion
*/
public function setFlowVersion($flowVersion)
{
$this->flowVersion = $flowVersion;
}
/**
* @return string
*/
public function getFlowVersion()
{
return $this->flowVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DeployFlowRequest::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DeployFlowRequest');

View File

@@ -0,0 +1,68 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DeployFlowResponse extends \Google\Model
{
/**
* The name of the flow version Deployment. Format:
* `projects//locations//agents//environments//deployments/`.
*
* @var string
*/
public $deployment;
protected $environmentType = GoogleCloudDialogflowCxV3Environment::class;
protected $environmentDataType = '';
/**
* The name of the flow version Deployment. Format:
* `projects//locations//agents//environments//deployments/`.
*
* @param string $deployment
*/
public function setDeployment($deployment)
{
$this->deployment = $deployment;
}
/**
* @return string
*/
public function getDeployment()
{
return $this->deployment;
}
/**
* The updated environment where the flow is deployed.
*
* @param GoogleCloudDialogflowCxV3Environment $environment
*/
public function setEnvironment(GoogleCloudDialogflowCxV3Environment $environment)
{
$this->environment = $environment;
}
/**
* @return GoogleCloudDialogflowCxV3Environment
*/
public function getEnvironment()
{
return $this->environment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DeployFlowResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DeployFlowResponse');

View File

@@ -0,0 +1,176 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3Deployment extends \Google\Model
{
/**
* State unspecified.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The deployment is running.
*/
public const STATE_RUNNING = 'RUNNING';
/**
* The deployment succeeded.
*/
public const STATE_SUCCEEDED = 'SUCCEEDED';
/**
* The deployment failed.
*/
public const STATE_FAILED = 'FAILED';
/**
* End time of this deployment.
*
* @var string
*/
public $endTime;
/**
* The name of the flow version for this deployment. Format:
* projects//locations//agents//flows//versions/.
*
* @var string
*/
public $flowVersion;
/**
* The name of the deployment. Format:
* projects//locations//agents//environments//deployments/.
*
* @var string
*/
public $name;
protected $resultType = GoogleCloudDialogflowCxV3DeploymentResult::class;
protected $resultDataType = '';
/**
* Start time of this deployment.
*
* @var string
*/
public $startTime;
/**
* The current state of the deployment.
*
* @var string
*/
public $state;
/**
* End time of this deployment.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* The name of the flow version for this deployment. Format:
* projects//locations//agents//flows//versions/.
*
* @param string $flowVersion
*/
public function setFlowVersion($flowVersion)
{
$this->flowVersion = $flowVersion;
}
/**
* @return string
*/
public function getFlowVersion()
{
return $this->flowVersion;
}
/**
* The name of the deployment. Format:
* projects//locations//agents//environments//deployments/.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Result of the deployment.
*
* @param GoogleCloudDialogflowCxV3DeploymentResult $result
*/
public function setResult(GoogleCloudDialogflowCxV3DeploymentResult $result)
{
$this->result = $result;
}
/**
* @return GoogleCloudDialogflowCxV3DeploymentResult
*/
public function getResult()
{
return $this->result;
}
/**
* Start time of this deployment.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* The current state of the deployment.
*
* Accepted values: STATE_UNSPECIFIED, RUNNING, SUCCEEDED, FAILED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3Deployment::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3Deployment');

View File

@@ -0,0 +1,75 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DeploymentResult extends \Google\Collection
{
protected $collection_key = 'deploymentTestResults';
/**
* Results of test cases running before the deployment. Format:
* `projects//locations//agents//testCases//results/`.
*
* @var string[]
*/
public $deploymentTestResults;
/**
* The name of the experiment triggered by this deployment. Format:
* projects//locations//agents//environments//experiments/.
*
* @var string
*/
public $experiment;
/**
* Results of test cases running before the deployment. Format:
* `projects//locations//agents//testCases//results/`.
*
* @param string[] $deploymentTestResults
*/
public function setDeploymentTestResults($deploymentTestResults)
{
$this->deploymentTestResults = $deploymentTestResults;
}
/**
* @return string[]
*/
public function getDeploymentTestResults()
{
return $this->deploymentTestResults;
}
/**
* The name of the experiment triggered by this deployment. Format:
* projects//locations//agents//environments//experiments/.
*
* @param string $experiment
*/
public function setExperiment($experiment)
{
$this->experiment = $experiment;
}
/**
* @return string
*/
public function getExperiment()
{
return $this->experiment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DeploymentResult::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DeploymentResult');

View File

@@ -0,0 +1,120 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DetectIntentRequest extends \Google\Model
{
/**
* Not specified. `FULL` will be used.
*/
public const RESPONSE_VIEW_DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED = 'DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED';
/**
* Full response view includes all fields.
*/
public const RESPONSE_VIEW_DETECT_INTENT_RESPONSE_VIEW_FULL = 'DETECT_INTENT_RESPONSE_VIEW_FULL';
/**
* Basic response view omits the following fields: -
* QueryResult.diagnostic_info
*/
public const RESPONSE_VIEW_DETECT_INTENT_RESPONSE_VIEW_BASIC = 'DETECT_INTENT_RESPONSE_VIEW_BASIC';
protected $outputAudioConfigType = GoogleCloudDialogflowCxV3OutputAudioConfig::class;
protected $outputAudioConfigDataType = '';
protected $queryInputType = GoogleCloudDialogflowCxV3QueryInput::class;
protected $queryInputDataType = '';
protected $queryParamsType = GoogleCloudDialogflowCxV3QueryParameters::class;
protected $queryParamsDataType = '';
/**
* Optional. Specifies which fields in the QueryResult to return. If not set,
* the default is DETECT_INTENT_RESPONSE_VIEW_FULL.
*
* @var string
*/
public $responseView;
/**
* Instructs the speech synthesizer how to generate the output audio.
*
* @param GoogleCloudDialogflowCxV3OutputAudioConfig $outputAudioConfig
*/
public function setOutputAudioConfig(GoogleCloudDialogflowCxV3OutputAudioConfig $outputAudioConfig)
{
$this->outputAudioConfig = $outputAudioConfig;
}
/**
* @return GoogleCloudDialogflowCxV3OutputAudioConfig
*/
public function getOutputAudioConfig()
{
return $this->outputAudioConfig;
}
/**
* Required. The input specification.
*
* @param GoogleCloudDialogflowCxV3QueryInput $queryInput
*/
public function setQueryInput(GoogleCloudDialogflowCxV3QueryInput $queryInput)
{
$this->queryInput = $queryInput;
}
/**
* @return GoogleCloudDialogflowCxV3QueryInput
*/
public function getQueryInput()
{
return $this->queryInput;
}
/**
* The parameters of this query.
*
* @param GoogleCloudDialogflowCxV3QueryParameters $queryParams
*/
public function setQueryParams(GoogleCloudDialogflowCxV3QueryParameters $queryParams)
{
$this->queryParams = $queryParams;
}
/**
* @return GoogleCloudDialogflowCxV3QueryParameters
*/
public function getQueryParams()
{
return $this->queryParams;
}
/**
* Optional. Specifies which fields in the QueryResult to return. If not set,
* the default is DETECT_INTENT_RESPONSE_VIEW_FULL.
*
* Accepted values: DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED,
* DETECT_INTENT_RESPONSE_VIEW_FULL, DETECT_INTENT_RESPONSE_VIEW_BASIC
*
* @param self::RESPONSE_VIEW_* $responseView
*/
public function setResponseView($responseView)
{
$this->responseView = $responseView;
}
/**
* @return self::RESPONSE_VIEW_*
*/
public function getResponseView()
{
return $this->responseView;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DetectIntentRequest::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DetectIntentRequest');

View File

@@ -0,0 +1,186 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DetectIntentResponse extends \Google\Model
{
/**
* Not specified. This should never happen.
*/
public const RESPONSE_TYPE_RESPONSE_TYPE_UNSPECIFIED = 'RESPONSE_TYPE_UNSPECIFIED';
/**
* Partial response. e.g. Aggregated responses in a Fulfillment that enables
* `return_partial_response` can be returned as partial response. WARNING:
* partial response is not eligible for barge-in.
*/
public const RESPONSE_TYPE_PARTIAL = 'PARTIAL';
/**
* Final response.
*/
public const RESPONSE_TYPE_FINAL = 'FINAL';
/**
* Indicates whether the partial response can be cancelled when a later
* response arrives. e.g. if the agent specified some music as partial
* response, it can be cancelled.
*
* @var bool
*/
public $allowCancellation;
/**
* The audio data bytes encoded as specified in the request. Note: The output
* audio is generated based on the values of default platform text responses
* found in the `query_result.response_messages` field. If multiple default
* text responses exist, they will be concatenated when generating audio. If
* no default platform text responses exist, the generated audio content will
* be empty. In some scenarios, multiple output audio fields may be present in
* the response structure. In these cases, only the top-most-level audio
* output has content.
*
* @var string
*/
public $outputAudio;
protected $outputAudioConfigType = GoogleCloudDialogflowCxV3OutputAudioConfig::class;
protected $outputAudioConfigDataType = '';
protected $queryResultType = GoogleCloudDialogflowCxV3QueryResult::class;
protected $queryResultDataType = '';
/**
* Output only. The unique identifier of the response. It can be used to
* locate a response in the training example set or for reporting issues.
*
* @var string
*/
public $responseId;
/**
* Response type.
*
* @var string
*/
public $responseType;
/**
* Indicates whether the partial response can be cancelled when a later
* response arrives. e.g. if the agent specified some music as partial
* response, it can be cancelled.
*
* @param bool $allowCancellation
*/
public function setAllowCancellation($allowCancellation)
{
$this->allowCancellation = $allowCancellation;
}
/**
* @return bool
*/
public function getAllowCancellation()
{
return $this->allowCancellation;
}
/**
* The audio data bytes encoded as specified in the request. Note: The output
* audio is generated based on the values of default platform text responses
* found in the `query_result.response_messages` field. If multiple default
* text responses exist, they will be concatenated when generating audio. If
* no default platform text responses exist, the generated audio content will
* be empty. In some scenarios, multiple output audio fields may be present in
* the response structure. In these cases, only the top-most-level audio
* output has content.
*
* @param string $outputAudio
*/
public function setOutputAudio($outputAudio)
{
$this->outputAudio = $outputAudio;
}
/**
* @return string
*/
public function getOutputAudio()
{
return $this->outputAudio;
}
/**
* The config used by the speech synthesizer to generate the output audio.
*
* @param GoogleCloudDialogflowCxV3OutputAudioConfig $outputAudioConfig
*/
public function setOutputAudioConfig(GoogleCloudDialogflowCxV3OutputAudioConfig $outputAudioConfig)
{
$this->outputAudioConfig = $outputAudioConfig;
}
/**
* @return GoogleCloudDialogflowCxV3OutputAudioConfig
*/
public function getOutputAudioConfig()
{
return $this->outputAudioConfig;
}
/**
* The result of the conversational query.
*
* @param GoogleCloudDialogflowCxV3QueryResult $queryResult
*/
public function setQueryResult(GoogleCloudDialogflowCxV3QueryResult $queryResult)
{
$this->queryResult = $queryResult;
}
/**
* @return GoogleCloudDialogflowCxV3QueryResult
*/
public function getQueryResult()
{
return $this->queryResult;
}
/**
* Output only. The unique identifier of the response. It can be used to
* locate a response in the training example set or for reporting issues.
*
* @param string $responseId
*/
public function setResponseId($responseId)
{
$this->responseId = $responseId;
}
/**
* @return string
*/
public function getResponseId()
{
return $this->responseId;
}
/**
* Response type.
*
* Accepted values: RESPONSE_TYPE_UNSPECIFIED, PARTIAL, FINAL
*
* @param self::RESPONSE_TYPE_* $responseType
*/
public function setResponseType($responseType)
{
$this->responseType = $responseType;
}
/**
* @return self::RESPONSE_TYPE_*
*/
public function getResponseType()
{
return $this->responseType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DetectIntentResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DetectIntentResponse');

View File

@@ -0,0 +1,70 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3DtmfInput extends \Google\Model
{
/**
* The dtmf digits.
*
* @var string
*/
public $digits;
/**
* The finish digit (if any).
*
* @var string
*/
public $finishDigit;
/**
* The dtmf digits.
*
* @param string $digits
*/
public function setDigits($digits)
{
$this->digits = $digits;
}
/**
* @return string
*/
public function getDigits()
{
return $this->digits;
}
/**
* The finish digit (if any).
*
* @param string $finishDigit
*/
public function setFinishDigit($finishDigit)
{
$this->finishDigit = $finishDigit;
}
/**
* @return string
*/
public function getFinishDigit()
{
return $this->finishDigit;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3DtmfInput::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DtmfInput');

View File

@@ -0,0 +1,241 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3EntityType extends \Google\Collection
{
/**
* Auto expansion disabled for the entity.
*/
public const AUTO_EXPANSION_MODE_AUTO_EXPANSION_MODE_UNSPECIFIED = 'AUTO_EXPANSION_MODE_UNSPECIFIED';
/**
* Allows an agent to recognize values that have not been explicitly listed in
* the entity.
*/
public const AUTO_EXPANSION_MODE_AUTO_EXPANSION_MODE_DEFAULT = 'AUTO_EXPANSION_MODE_DEFAULT';
/**
* Not specified. This value should be never used.
*/
public const KIND_KIND_UNSPECIFIED = 'KIND_UNSPECIFIED';
/**
* Map entity types allow mapping of a group of synonyms to a canonical value.
*/
public const KIND_KIND_MAP = 'KIND_MAP';
/**
* List entity types contain a set of entries that do not map to canonical
* values. However, list entity types can contain references to other entity
* types (with or without aliases).
*/
public const KIND_KIND_LIST = 'KIND_LIST';
/**
* Regexp entity types allow to specify regular expressions in entries values.
*/
public const KIND_KIND_REGEXP = 'KIND_REGEXP';
protected $collection_key = 'excludedPhrases';
/**
* Indicates whether the entity type can be automatically expanded.
*
* @var string
*/
public $autoExpansionMode;
/**
* Required. The human-readable name of the entity type, unique within the
* agent.
*
* @var string
*/
public $displayName;
/**
* Enables fuzzy entity extraction during classification.
*
* @var bool
*/
public $enableFuzzyExtraction;
protected $entitiesType = GoogleCloudDialogflowCxV3EntityTypeEntity::class;
protected $entitiesDataType = 'array';
protected $excludedPhrasesType = GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase::class;
protected $excludedPhrasesDataType = 'array';
/**
* Required. Indicates the kind of entity type.
*
* @var string
*/
public $kind;
/**
* The unique identifier of the entity type. Required for
* EntityTypes.UpdateEntityType. Format:
* `projects//locations//agents//entityTypes/`.
*
* @var string
*/
public $name;
/**
* Indicates whether parameters of the entity type should be redacted in log.
* If redaction is enabled, page parameters and intent parameters referring to
* the entity type will be replaced by parameter name when logging.
*
* @var bool
*/
public $redact;
/**
* Indicates whether the entity type can be automatically expanded.
*
* Accepted values: AUTO_EXPANSION_MODE_UNSPECIFIED,
* AUTO_EXPANSION_MODE_DEFAULT
*
* @param self::AUTO_EXPANSION_MODE_* $autoExpansionMode
*/
public function setAutoExpansionMode($autoExpansionMode)
{
$this->autoExpansionMode = $autoExpansionMode;
}
/**
* @return self::AUTO_EXPANSION_MODE_*
*/
public function getAutoExpansionMode()
{
return $this->autoExpansionMode;
}
/**
* Required. The human-readable name of the entity type, unique within the
* agent.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Enables fuzzy entity extraction during classification.
*
* @param bool $enableFuzzyExtraction
*/
public function setEnableFuzzyExtraction($enableFuzzyExtraction)
{
$this->enableFuzzyExtraction = $enableFuzzyExtraction;
}
/**
* @return bool
*/
public function getEnableFuzzyExtraction()
{
return $this->enableFuzzyExtraction;
}
/**
* The collection of entity entries associated with the entity type.
*
* @param GoogleCloudDialogflowCxV3EntityTypeEntity[] $entities
*/
public function setEntities($entities)
{
$this->entities = $entities;
}
/**
* @return GoogleCloudDialogflowCxV3EntityTypeEntity[]
*/
public function getEntities()
{
return $this->entities;
}
/**
* Collection of exceptional words and phrases that shouldn't be matched. For
* example, if you have a size entity type with entry `giant`(an adjective),
* you might consider adding `giants`(a noun) as an exclusion. If the kind of
* entity type is `KIND_MAP`, then the phrases specified by entities and
* excluded phrases should be mutually exclusive.
*
* @param GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase[] $excludedPhrases
*/
public function setExcludedPhrases($excludedPhrases)
{
$this->excludedPhrases = $excludedPhrases;
}
/**
* @return GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase[]
*/
public function getExcludedPhrases()
{
return $this->excludedPhrases;
}
/**
* Required. Indicates the kind of entity type.
*
* Accepted values: KIND_UNSPECIFIED, KIND_MAP, KIND_LIST, KIND_REGEXP
*
* @param self::KIND_* $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return self::KIND_*
*/
public function getKind()
{
return $this->kind;
}
/**
* The unique identifier of the entity type. Required for
* EntityTypes.UpdateEntityType. Format:
* `projects//locations//agents//entityTypes/`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Indicates whether parameters of the entity type should be redacted in log.
* If redaction is enabled, page parameters and intent parameters referring to
* the entity type will be replaced by parameter name when logging.
*
* @param bool $redact
*/
public function setRedact($redact)
{
$this->redact = $redact;
}
/**
* @return bool
*/
public function getRedact()
{
return $this->redact;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3EntityType::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3EntityType');

View File

@@ -0,0 +1,85 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3EntityTypeEntity extends \Google\Collection
{
protected $collection_key = 'synonyms';
/**
* Required. A collection of value synonyms. For example, if the entity type
* is *vegetable*, and `value` is *scallions*, a synonym could be *green
* onions*. For `KIND_LIST` entity types: * This collection must contain
* exactly one synonym equal to `value`.
*
* @var string[]
*/
public $synonyms;
/**
* Required. The primary value associated with this entity entry. For example,
* if the entity type is *vegetable*, the value could be *scallions*. For
* `KIND_MAP` entity types: * A canonical value to be used in place of
* synonyms. For `KIND_LIST` entity types: * A string that can contain
* references to other entity types (with or without aliases).
*
* @var string
*/
public $value;
/**
* Required. A collection of value synonyms. For example, if the entity type
* is *vegetable*, and `value` is *scallions*, a synonym could be *green
* onions*. For `KIND_LIST` entity types: * This collection must contain
* exactly one synonym equal to `value`.
*
* @param string[] $synonyms
*/
public function setSynonyms($synonyms)
{
$this->synonyms = $synonyms;
}
/**
* @return string[]
*/
public function getSynonyms()
{
return $this->synonyms;
}
/**
* Required. The primary value associated with this entity entry. For example,
* if the entity type is *vegetable*, the value could be *scallions*. For
* `KIND_MAP` entity types: * A canonical value to be used in place of
* synonyms. For `KIND_LIST` entity types: * A string that can contain
* references to other entity types (with or without aliases).
*
* @param string $value
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3EntityTypeEntity::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3EntityTypeEntity');

View File

@@ -0,0 +1,48 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase extends \Google\Model
{
/**
* Required. The word or phrase to be excluded.
*
* @var string
*/
public $value;
/**
* Required. The word or phrase to be excluded.
*
* @param string $value
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase');

View File

@@ -0,0 +1,177 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3Environment extends \Google\Collection
{
protected $collection_key = 'versionConfigs';
/**
* The human-readable description of the environment. The maximum length is
* 500 characters. If exceeded, the request is rejected.
*
* @var string
*/
public $description;
/**
* Required. The human-readable name of the environment (unique in an agent).
* Limit of 64 characters.
*
* @var string
*/
public $displayName;
/**
* The name of the environment. Format:
* `projects//locations//agents//environments/`.
*
* @var string
*/
public $name;
protected $testCasesConfigType = GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig::class;
protected $testCasesConfigDataType = '';
/**
* Output only. Update time of this environment.
*
* @var string
*/
public $updateTime;
protected $versionConfigsType = GoogleCloudDialogflowCxV3EnvironmentVersionConfig::class;
protected $versionConfigsDataType = 'array';
protected $webhookConfigType = GoogleCloudDialogflowCxV3EnvironmentWebhookConfig::class;
protected $webhookConfigDataType = '';
/**
* The human-readable description of the environment. The maximum length is
* 500 characters. If exceeded, the request is rejected.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. The human-readable name of the environment (unique in an agent).
* Limit of 64 characters.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* The name of the environment. Format:
* `projects//locations//agents//environments/`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The test cases config for continuous tests of this environment.
*
* @param GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig $testCasesConfig
*/
public function setTestCasesConfig(GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig $testCasesConfig)
{
$this->testCasesConfig = $testCasesConfig;
}
/**
* @return GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
*/
public function getTestCasesConfig()
{
return $this->testCasesConfig;
}
/**
* Output only. Update time of this environment.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* A list of configurations for flow versions. You should include version
* configs for all flows that are reachable from `Start Flow` in the agent.
* Otherwise, an error will be returned.
*
* @param GoogleCloudDialogflowCxV3EnvironmentVersionConfig[] $versionConfigs
*/
public function setVersionConfigs($versionConfigs)
{
$this->versionConfigs = $versionConfigs;
}
/**
* @return GoogleCloudDialogflowCxV3EnvironmentVersionConfig[]
*/
public function getVersionConfigs()
{
return $this->versionConfigs;
}
/**
* The webhook configuration for this environment.
*
* @param GoogleCloudDialogflowCxV3EnvironmentWebhookConfig $webhookConfig
*/
public function setWebhookConfig(GoogleCloudDialogflowCxV3EnvironmentWebhookConfig $webhookConfig)
{
$this->webhookConfig = $webhookConfig;
}
/**
* @return GoogleCloudDialogflowCxV3EnvironmentWebhookConfig
*/
public function getWebhookConfig()
{
return $this->webhookConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3Environment::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3Environment');

View File

@@ -0,0 +1,99 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig extends \Google\Collection
{
protected $collection_key = 'testCases';
/**
* Whether to run test cases in TestCasesConfig.test_cases periodically.
* Default false. If set to true, run once a day.
*
* @var bool
*/
public $enableContinuousRun;
/**
* Whether to run test cases in TestCasesConfig.test_cases before deploying a
* flow version to the environment. Default false.
*
* @var bool
*/
public $enablePredeploymentRun;
/**
* A list of test case names to run. They should be under the same agent.
* Format of each test case name: `projects//locations//agents//testCases/`
*
* @var string[]
*/
public $testCases;
/**
* Whether to run test cases in TestCasesConfig.test_cases periodically.
* Default false. If set to true, run once a day.
*
* @param bool $enableContinuousRun
*/
public function setEnableContinuousRun($enableContinuousRun)
{
$this->enableContinuousRun = $enableContinuousRun;
}
/**
* @return bool
*/
public function getEnableContinuousRun()
{
return $this->enableContinuousRun;
}
/**
* Whether to run test cases in TestCasesConfig.test_cases before deploying a
* flow version to the environment. Default false.
*
* @param bool $enablePredeploymentRun
*/
public function setEnablePredeploymentRun($enablePredeploymentRun)
{
$this->enablePredeploymentRun = $enablePredeploymentRun;
}
/**
* @return bool
*/
public function getEnablePredeploymentRun()
{
return $this->enablePredeploymentRun;
}
/**
* A list of test case names to run. They should be under the same agent.
* Format of each test case name: `projects//locations//agents//testCases/`
*
* @param string[] $testCases
*/
public function setTestCases($testCases)
{
$this->testCases = $testCases;
}
/**
* @return string[]
*/
public function getTestCases()
{
return $this->testCases;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig');

View File

@@ -0,0 +1,54 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig extends \Google\Model
{
/**
* Required. Flow, playbook and tool versions are supported. Format for flow
* version: projects//locations//agents//flows//versions/. Format for playbook
* version: projects//locations//agents//playbooks//versions/. Format for tool
* version: projects//locations//agents//tools//versions/.
*
* @var string
*/
public $version;
/**
* Required. Flow, playbook and tool versions are supported. Format for flow
* version: projects//locations//agents//flows//versions/. Format for playbook
* version: projects//locations//agents//playbooks//versions/. Format for tool
* version: projects//locations//agents//tools//versions/.
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3EnvironmentVersionConfig::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3EnvironmentVersionConfig');

View File

@@ -0,0 +1,47 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3EnvironmentWebhookConfig extends \Google\Collection
{
protected $collection_key = 'webhookOverrides';
protected $webhookOverridesType = GoogleCloudDialogflowCxV3Webhook::class;
protected $webhookOverridesDataType = 'array';
/**
* The list of webhooks to override for the agent environment. The webhook
* must exist in the agent. You can override fields in `generic_web_service`
* and `service_directory`.
*
* @param GoogleCloudDialogflowCxV3Webhook[] $webhookOverrides
*/
public function setWebhookOverrides($webhookOverrides)
{
$this->webhookOverrides = $webhookOverrides;
}
/**
* @return GoogleCloudDialogflowCxV3Webhook[]
*/
public function getWebhookOverrides()
{
return $this->webhookOverrides;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3EnvironmentWebhookConfig::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3EnvironmentWebhookConfig');

View File

@@ -0,0 +1,162 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3EventHandler extends \Google\Model
{
/**
* Required. The name of the event to handle.
*
* @var string
*/
public $event;
/**
* Output only. The unique identifier of this event handler.
*
* @var string
*/
public $name;
/**
* The target flow to transition to. Format:
* `projects//locations//agents//flows/`.
*
* @var string
*/
public $targetFlow;
/**
* The target page to transition to. Format:
* `projects//locations//agents//flows//pages/`.
*
* @var string
*/
public $targetPage;
/**
* The target playbook to transition to. Format:
* `projects//locations//agents//playbooks/`.
*
* @var string
*/
public $targetPlaybook;
protected $triggerFulfillmentType = GoogleCloudDialogflowCxV3Fulfillment::class;
protected $triggerFulfillmentDataType = '';
/**
* Required. The name of the event to handle.
*
* @param string $event
*/
public function setEvent($event)
{
$this->event = $event;
}
/**
* @return string
*/
public function getEvent()
{
return $this->event;
}
/**
* Output only. The unique identifier of this event handler.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The target flow to transition to. Format:
* `projects//locations//agents//flows/`.
*
* @param string $targetFlow
*/
public function setTargetFlow($targetFlow)
{
$this->targetFlow = $targetFlow;
}
/**
* @return string
*/
public function getTargetFlow()
{
return $this->targetFlow;
}
/**
* The target page to transition to. Format:
* `projects//locations//agents//flows//pages/`.
*
* @param string $targetPage
*/
public function setTargetPage($targetPage)
{
$this->targetPage = $targetPage;
}
/**
* @return string
*/
public function getTargetPage()
{
return $this->targetPage;
}
/**
* The target playbook to transition to. Format:
* `projects//locations//agents//playbooks/`.
*
* @param string $targetPlaybook
*/
public function setTargetPlaybook($targetPlaybook)
{
$this->targetPlaybook = $targetPlaybook;
}
/**
* @return string
*/
public function getTargetPlaybook()
{
return $this->targetPlaybook;
}
/**
* The fulfillment to call when the event occurs. Handling webhook errors with
* a fulfillment enabled with webhook could cause infinite loop. It is invalid
* to specify such fulfillment for a handler handling webhooks.
*
* @param GoogleCloudDialogflowCxV3Fulfillment $triggerFulfillment
*/
public function setTriggerFulfillment(GoogleCloudDialogflowCxV3Fulfillment $triggerFulfillment)
{
$this->triggerFulfillment = $triggerFulfillment;
}
/**
* @return GoogleCloudDialogflowCxV3Fulfillment
*/
public function getTriggerFulfillment()
{
return $this->triggerFulfillment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3EventHandler::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3EventHandler');

View File

@@ -0,0 +1,48 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3EventInput extends \Google\Model
{
/**
* Name of the event.
*
* @var string
*/
public $event;
/**
* Name of the event.
*
* @param string $event
*/
public function setEvent($event)
{
$this->event = $event;
}
/**
* @return string
*/
public function getEvent()
{
return $this->event;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3EventInput::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3EventInput');

View File

@@ -0,0 +1,298 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3Example extends \Google\Collection
{
/**
* Unspecified output.
*/
public const CONVERSATION_STATE_OUTPUT_STATE_UNSPECIFIED = 'OUTPUT_STATE_UNSPECIFIED';
/**
* Succeeded.
*/
public const CONVERSATION_STATE_OUTPUT_STATE_OK = 'OUTPUT_STATE_OK';
/**
* Cancelled.
*/
public const CONVERSATION_STATE_OUTPUT_STATE_CANCELLED = 'OUTPUT_STATE_CANCELLED';
/**
* Failed.
*/
public const CONVERSATION_STATE_OUTPUT_STATE_FAILED = 'OUTPUT_STATE_FAILED';
/**
* Escalated.
*/
public const CONVERSATION_STATE_OUTPUT_STATE_ESCALATED = 'OUTPUT_STATE_ESCALATED';
/**
* Pending.
*/
public const CONVERSATION_STATE_OUTPUT_STATE_PENDING = 'OUTPUT_STATE_PENDING';
protected $collection_key = 'actions';
protected $actionsType = GoogleCloudDialogflowCxV3Action::class;
protected $actionsDataType = 'array';
/**
* Required. Example's output state.
*
* @var string
*/
public $conversationState;
/**
* Output only. The timestamp of initial example creation.
*
* @var string
*/
public $createTime;
/**
* Optional. The high level concise description of the example. The max number
* of characters is 200.
*
* @var string
*/
public $description;
/**
* Required. The display name of the example.
*
* @var string
*/
public $displayName;
/**
* Optional. The language code of the example. If not specified, the agent's
* default language is used. Note: languages must be enabled in the agent
* before they can be used. Note: example's language code is not currently
* used in dialogflow agents.
*
* @var string
*/
public $languageCode;
/**
* The unique identifier of the playbook example. Format:
* `projects//locations//agents//playbooks//examples/`.
*
* @var string
*/
public $name;
protected $playbookInputType = GoogleCloudDialogflowCxV3PlaybookInput::class;
protected $playbookInputDataType = '';
protected $playbookOutputType = GoogleCloudDialogflowCxV3PlaybookOutput::class;
protected $playbookOutputDataType = '';
/**
* Output only. Estimated number of tokes current example takes when sent to
* the LLM.
*
* @var string
*/
public $tokenCount;
/**
* Output only. Last time the example was updated.
*
* @var string
*/
public $updateTime;
/**
* Required. The ordered list of actions performed by the end user and the
* Dialogflow agent.
*
* @param GoogleCloudDialogflowCxV3Action[] $actions
*/
public function setActions($actions)
{
$this->actions = $actions;
}
/**
* @return GoogleCloudDialogflowCxV3Action[]
*/
public function getActions()
{
return $this->actions;
}
/**
* Required. Example's output state.
*
* Accepted values: OUTPUT_STATE_UNSPECIFIED, OUTPUT_STATE_OK,
* OUTPUT_STATE_CANCELLED, OUTPUT_STATE_FAILED, OUTPUT_STATE_ESCALATED,
* OUTPUT_STATE_PENDING
*
* @param self::CONVERSATION_STATE_* $conversationState
*/
public function setConversationState($conversationState)
{
$this->conversationState = $conversationState;
}
/**
* @return self::CONVERSATION_STATE_*
*/
public function getConversationState()
{
return $this->conversationState;
}
/**
* Output only. The timestamp of initial example creation.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. The high level concise description of the example. The max number
* of characters is 200.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. The display name of the example.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. The language code of the example. If not specified, the agent's
* default language is used. Note: languages must be enabled in the agent
* before they can be used. Note: example's language code is not currently
* used in dialogflow agents.
*
* @param string $languageCode
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* The unique identifier of the playbook example. Format:
* `projects//locations//agents//playbooks//examples/`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. The input to the playbook in the example.
*
* @param GoogleCloudDialogflowCxV3PlaybookInput $playbookInput
*/
public function setPlaybookInput(GoogleCloudDialogflowCxV3PlaybookInput $playbookInput)
{
$this->playbookInput = $playbookInput;
}
/**
* @return GoogleCloudDialogflowCxV3PlaybookInput
*/
public function getPlaybookInput()
{
return $this->playbookInput;
}
/**
* Optional. The output of the playbook in the example.
*
* @param GoogleCloudDialogflowCxV3PlaybookOutput $playbookOutput
*/
public function setPlaybookOutput(GoogleCloudDialogflowCxV3PlaybookOutput $playbookOutput)
{
$this->playbookOutput = $playbookOutput;
}
/**
* @return GoogleCloudDialogflowCxV3PlaybookOutput
*/
public function getPlaybookOutput()
{
return $this->playbookOutput;
}
/**
* Output only. Estimated number of tokes current example takes when sent to
* the LLM.
*
* @param string $tokenCount
*/
public function setTokenCount($tokenCount)
{
$this->tokenCount = $tokenCount;
}
/**
* @return string
*/
public function getTokenCount()
{
return $this->tokenCount;
}
/**
* Output only. Last time the example was 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(GoogleCloudDialogflowCxV3Example::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3Example');

View File

@@ -0,0 +1,377 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3Experiment extends \Google\Collection
{
/**
* State unspecified.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The experiment is created but not started yet.
*/
public const STATE_DRAFT = 'DRAFT';
/**
* The experiment is running.
*/
public const STATE_RUNNING = 'RUNNING';
/**
* The experiment is done.
*/
public const STATE_DONE = 'DONE';
/**
* The experiment with auto-rollout enabled has failed.
*/
public const STATE_ROLLOUT_FAILED = 'ROLLOUT_FAILED';
protected $collection_key = 'variantsHistory';
/**
* Creation time of this experiment.
*
* @var string
*/
public $createTime;
protected $definitionType = GoogleCloudDialogflowCxV3ExperimentDefinition::class;
protected $definitionDataType = '';
/**
* The human-readable description of the experiment.
*
* @var string
*/
public $description;
/**
* Required. The human-readable name of the experiment (unique in an
* environment). Limit of 64 characters.
*
* @var string
*/
public $displayName;
/**
* End time of this experiment.
*
* @var string
*/
public $endTime;
/**
* Maximum number of days to run the experiment/rollout. If auto-rollout is
* not enabled, default value and maximum will be 30 days. If auto-rollout is
* enabled, default value and maximum will be 6 days.
*
* @var string
*/
public $experimentLength;
/**
* Last update time of this experiment.
*
* @var string
*/
public $lastUpdateTime;
/**
* The name of the experiment. Format:
* projects//locations//agents//environments//experiments/.
*
* @var string
*/
public $name;
protected $resultType = GoogleCloudDialogflowCxV3ExperimentResult::class;
protected $resultDataType = '';
protected $rolloutConfigType = GoogleCloudDialogflowCxV3RolloutConfig::class;
protected $rolloutConfigDataType = '';
/**
* The reason why rollout has failed. Should only be set when state is
* ROLLOUT_FAILED.
*
* @var string
*/
public $rolloutFailureReason;
protected $rolloutStateType = GoogleCloudDialogflowCxV3RolloutState::class;
protected $rolloutStateDataType = '';
/**
* Start time of this experiment.
*
* @var string
*/
public $startTime;
/**
* The current state of the experiment. Transition triggered by
* Experiments.StartExperiment: DRAFT->RUNNING. Transition triggered by
* Experiments.CancelExperiment: DRAFT->DONE or RUNNING->DONE.
*
* @var string
*/
public $state;
protected $variantsHistoryType = GoogleCloudDialogflowCxV3VariantsHistory::class;
protected $variantsHistoryDataType = 'array';
/**
* Creation time of this experiment.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* The definition of the experiment.
*
* @param GoogleCloudDialogflowCxV3ExperimentDefinition $definition
*/
public function setDefinition(GoogleCloudDialogflowCxV3ExperimentDefinition $definition)
{
$this->definition = $definition;
}
/**
* @return GoogleCloudDialogflowCxV3ExperimentDefinition
*/
public function getDefinition()
{
return $this->definition;
}
/**
* The human-readable description of the experiment.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. The human-readable name of the experiment (unique in an
* environment). Limit of 64 characters.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* End time of this experiment.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Maximum number of days to run the experiment/rollout. If auto-rollout is
* not enabled, default value and maximum will be 30 days. If auto-rollout is
* enabled, default value and maximum will be 6 days.
*
* @param string $experimentLength
*/
public function setExperimentLength($experimentLength)
{
$this->experimentLength = $experimentLength;
}
/**
* @return string
*/
public function getExperimentLength()
{
return $this->experimentLength;
}
/**
* Last update time of this experiment.
*
* @param string $lastUpdateTime
*/
public function setLastUpdateTime($lastUpdateTime)
{
$this->lastUpdateTime = $lastUpdateTime;
}
/**
* @return string
*/
public function getLastUpdateTime()
{
return $this->lastUpdateTime;
}
/**
* The name of the experiment. Format:
* projects//locations//agents//environments//experiments/.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Inference result of the experiment.
*
* @param GoogleCloudDialogflowCxV3ExperimentResult $result
*/
public function setResult(GoogleCloudDialogflowCxV3ExperimentResult $result)
{
$this->result = $result;
}
/**
* @return GoogleCloudDialogflowCxV3ExperimentResult
*/
public function getResult()
{
return $this->result;
}
/**
* The configuration for auto rollout. If set, there should be exactly two
* variants in the experiment (control variant being the default version of
* the flow), the traffic allocation for the non-control variant will
* gradually increase to 100% when conditions are met, and eventually replace
* the control variant to become the default version of the flow.
*
* @param GoogleCloudDialogflowCxV3RolloutConfig $rolloutConfig
*/
public function setRolloutConfig(GoogleCloudDialogflowCxV3RolloutConfig $rolloutConfig)
{
$this->rolloutConfig = $rolloutConfig;
}
/**
* @return GoogleCloudDialogflowCxV3RolloutConfig
*/
public function getRolloutConfig()
{
return $this->rolloutConfig;
}
/**
* The reason why rollout has failed. Should only be set when state is
* ROLLOUT_FAILED.
*
* @param string $rolloutFailureReason
*/
public function setRolloutFailureReason($rolloutFailureReason)
{
$this->rolloutFailureReason = $rolloutFailureReason;
}
/**
* @return string
*/
public function getRolloutFailureReason()
{
return $this->rolloutFailureReason;
}
/**
* State of the auto rollout process.
*
* @param GoogleCloudDialogflowCxV3RolloutState $rolloutState
*/
public function setRolloutState(GoogleCloudDialogflowCxV3RolloutState $rolloutState)
{
$this->rolloutState = $rolloutState;
}
/**
* @return GoogleCloudDialogflowCxV3RolloutState
*/
public function getRolloutState()
{
return $this->rolloutState;
}
/**
* Start time of this experiment.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* The current state of the experiment. Transition triggered by
* Experiments.StartExperiment: DRAFT->RUNNING. Transition triggered by
* Experiments.CancelExperiment: DRAFT->DONE or RUNNING->DONE.
*
* Accepted values: STATE_UNSPECIFIED, DRAFT, RUNNING, DONE, ROLLOUT_FAILED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* The history of updates to the experiment variants.
*
* @param GoogleCloudDialogflowCxV3VariantsHistory[] $variantsHistory
*/
public function setVariantsHistory($variantsHistory)
{
$this->variantsHistory = $variantsHistory;
}
/**
* @return GoogleCloudDialogflowCxV3VariantsHistory[]
*/
public function getVariantsHistory()
{
return $this->variantsHistory;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3Experiment::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3Experiment');

View File

@@ -0,0 +1,72 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExperimentDefinition extends \Google\Model
{
/**
* The condition defines which subset of sessions are selected for this
* experiment. If not specified, all sessions are eligible. E.g.
* "query_input.language_code=en" See the [conditions reference](https://cloud
* .google.com/dialogflow/cx/docs/reference/condition).
*
* @var string
*/
public $condition;
protected $versionVariantsType = GoogleCloudDialogflowCxV3VersionVariants::class;
protected $versionVariantsDataType = '';
/**
* The condition defines which subset of sessions are selected for this
* experiment. If not specified, all sessions are eligible. E.g.
* "query_input.language_code=en" See the [conditions reference](https://cloud
* .google.com/dialogflow/cx/docs/reference/condition).
*
* @param string $condition
*/
public function setCondition($condition)
{
$this->condition = $condition;
}
/**
* @return string
*/
public function getCondition()
{
return $this->condition;
}
/**
* The flow versions as the variants of this experiment.
*
* @param GoogleCloudDialogflowCxV3VersionVariants $versionVariants
*/
public function setVersionVariants(GoogleCloudDialogflowCxV3VersionVariants $versionVariants)
{
$this->versionVariants = $versionVariants;
}
/**
* @return GoogleCloudDialogflowCxV3VersionVariants
*/
public function getVersionVariants()
{
return $this->versionVariants;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExperimentDefinition::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExperimentDefinition');

View File

@@ -0,0 +1,69 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExperimentResult extends \Google\Collection
{
protected $collection_key = 'versionMetrics';
/**
* The last time the experiment's stats data was updated. Will have default
* value if stats have never been computed for this experiment.
*
* @var string
*/
public $lastUpdateTime;
protected $versionMetricsType = GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics::class;
protected $versionMetricsDataType = 'array';
/**
* The last time the experiment's stats data was updated. Will have default
* value if stats have never been computed for this experiment.
*
* @param string $lastUpdateTime
*/
public function setLastUpdateTime($lastUpdateTime)
{
$this->lastUpdateTime = $lastUpdateTime;
}
/**
* @return string
*/
public function getLastUpdateTime()
{
return $this->lastUpdateTime;
}
/**
* Version variants and metrics.
*
* @param GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics[] $versionMetrics
*/
public function setVersionMetrics($versionMetrics)
{
$this->versionMetrics = $versionMetrics;
}
/**
* @return GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics[]
*/
public function getVersionMetrics()
{
return $this->versionMetrics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExperimentResult::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExperimentResult');

View File

@@ -0,0 +1,84 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval extends \Google\Model
{
/**
* The confidence level used to construct the interval, i.e. there is X%
* chance that the true value is within this interval.
*
* @var
*/
public $confidenceLevel;
/**
* Lower bound of the interval.
*
* @var
*/
public $lowerBound;
/**
* The percent change between an experiment metric's value and the value for
* its control.
*
* @var
*/
public $ratio;
/**
* Upper bound of the interval.
*
* @var
*/
public $upperBound;
public function setConfidenceLevel($confidenceLevel)
{
$this->confidenceLevel = $confidenceLevel;
}
public function getConfidenceLevel()
{
return $this->confidenceLevel;
}
public function setLowerBound($lowerBound)
{
$this->lowerBound = $lowerBound;
}
public function getLowerBound()
{
return $this->lowerBound;
}
public function setRatio($ratio)
{
$this->ratio = $ratio;
}
public function getRatio()
{
return $this->ratio;
}
public function setUpperBound($upperBound)
{
$this->upperBound = $upperBound;
}
public function getUpperBound()
{
return $this->upperBound;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval');

View File

@@ -0,0 +1,168 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExperimentResultMetric extends \Google\Model
{
/**
* Count type unspecified.
*/
public const COUNT_TYPE_COUNT_TYPE_UNSPECIFIED = 'COUNT_TYPE_UNSPECIFIED';
/**
* Total number of occurrences of a 'NO_MATCH'.
*/
public const COUNT_TYPE_TOTAL_NO_MATCH_COUNT = 'TOTAL_NO_MATCH_COUNT';
/**
* Total number of turn counts.
*/
public const COUNT_TYPE_TOTAL_TURN_COUNT = 'TOTAL_TURN_COUNT';
/**
* Average turn count in a session.
*/
public const COUNT_TYPE_AVERAGE_TURN_COUNT = 'AVERAGE_TURN_COUNT';
/**
* Metric unspecified.
*/
public const TYPE_METRIC_UNSPECIFIED = 'METRIC_UNSPECIFIED';
/**
* Percentage of contained sessions without user calling back in 24 hours.
*/
public const TYPE_CONTAINED_SESSION_NO_CALLBACK_RATE = 'CONTAINED_SESSION_NO_CALLBACK_RATE';
/**
* Percentage of sessions that were handed to a human agent.
*/
public const TYPE_LIVE_AGENT_HANDOFF_RATE = 'LIVE_AGENT_HANDOFF_RATE';
/**
* Percentage of sessions with the same user calling back.
*/
public const TYPE_CALLBACK_SESSION_RATE = 'CALLBACK_SESSION_RATE';
/**
* Percentage of sessions where user hung up.
*/
public const TYPE_ABANDONED_SESSION_RATE = 'ABANDONED_SESSION_RATE';
/**
* Percentage of sessions reached Dialogflow 'END_PAGE' or 'END_SESSION'.
*/
public const TYPE_SESSION_END_RATE = 'SESSION_END_RATE';
protected $confidenceIntervalType = GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval::class;
protected $confidenceIntervalDataType = '';
/**
* Count value of a metric.
*
* @var
*/
public $count;
/**
* Count-based metric type. Only one of type or count_type is specified in
* each Metric.
*
* @var string
*/
public $countType;
/**
* Ratio value of a metric.
*
* @var
*/
public $ratio;
/**
* Ratio-based metric type. Only one of type or count_type is specified in
* each Metric.
*
* @var string
*/
public $type;
/**
* The probability that the treatment is better than all other treatments in
* the experiment
*
* @param GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval $confidenceInterval
*/
public function setConfidenceInterval(GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval $confidenceInterval)
{
$this->confidenceInterval = $confidenceInterval;
}
/**
* @return GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
*/
public function getConfidenceInterval()
{
return $this->confidenceInterval;
}
public function setCount($count)
{
$this->count = $count;
}
public function getCount()
{
return $this->count;
}
/**
* Count-based metric type. Only one of type or count_type is specified in
* each Metric.
*
* Accepted values: COUNT_TYPE_UNSPECIFIED, TOTAL_NO_MATCH_COUNT,
* TOTAL_TURN_COUNT, AVERAGE_TURN_COUNT
*
* @param self::COUNT_TYPE_* $countType
*/
public function setCountType($countType)
{
$this->countType = $countType;
}
/**
* @return self::COUNT_TYPE_*
*/
public function getCountType()
{
return $this->countType;
}
public function setRatio($ratio)
{
$this->ratio = $ratio;
}
public function getRatio()
{
return $this->ratio;
}
/**
* Ratio-based metric type. Only one of type or count_type is specified in
* each Metric.
*
* Accepted values: METRIC_UNSPECIFIED, CONTAINED_SESSION_NO_CALLBACK_RATE,
* LIVE_AGENT_HANDOFF_RATE, CALLBACK_SESSION_RATE, ABANDONED_SESSION_RATE,
* SESSION_END_RATE
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExperimentResultMetric::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExperimentResultMetric');

View File

@@ -0,0 +1,91 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics extends \Google\Collection
{
protected $collection_key = 'metrics';
protected $metricsType = GoogleCloudDialogflowCxV3ExperimentResultMetric::class;
protected $metricsDataType = 'array';
/**
* Number of sessions that were allocated to this version.
*
* @var int
*/
public $sessionCount;
/**
* The name of the flow Version. Format:
* `projects//locations//agents//flows//versions/`.
*
* @var string
*/
public $version;
/**
* The metrics and corresponding confidence intervals in the inference result.
*
* @param GoogleCloudDialogflowCxV3ExperimentResultMetric[] $metrics
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return GoogleCloudDialogflowCxV3ExperimentResultMetric[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* Number of sessions that were allocated to this version.
*
* @param int $sessionCount
*/
public function setSessionCount($sessionCount)
{
$this->sessionCount = $sessionCount;
}
/**
* @return int
*/
public function getSessionCount()
{
return $this->sessionCount;
}
/**
* The name of the flow Version. Format:
* `projects//locations//agents//flows//versions/`.
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics');

View File

@@ -0,0 +1,166 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportAgentRequest extends \Google\Model
{
/**
* Unspecified format.
*/
public const DATA_FORMAT_DATA_FORMAT_UNSPECIFIED = 'DATA_FORMAT_UNSPECIFIED';
/**
* Agent content will be exported as raw bytes.
*/
public const DATA_FORMAT_BLOB = 'BLOB';
/**
* Agent content will be exported in JSON Package format.
*/
public const DATA_FORMAT_JSON_PACKAGE = 'JSON_PACKAGE';
/**
* Optional. The [Google Cloud
* Storage](https://cloud.google.com/storage/docs/) URI to export the agent
* to. The format of this URI must be `gs:`. If left unspecified, the
* serialized agent is returned inline. Dialogflow performs a write operation
* for the Cloud Storage object on the caller's behalf, so your request
* authentication must have write permissions for the object. For more
* information, see [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-
* control#storage).
*
* @var string
*/
public $agentUri;
/**
* Optional. The data format of the exported agent. If not specified, `BLOB`
* is assumed.
*
* @var string
*/
public $dataFormat;
/**
* Optional. Environment name. If not set, draft environment is assumed.
* Format: `projects//locations//agents//environments/`.
*
* @var string
*/
public $environment;
protected $gitDestinationType = GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination::class;
protected $gitDestinationDataType = '';
/**
* Optional. Whether to include BigQuery Export setting.
*
* @var bool
*/
public $includeBigqueryExportSettings;
/**
* Optional. The [Google Cloud
* Storage](https://cloud.google.com/storage/docs/) URI to export the agent
* to. The format of this URI must be `gs:`. If left unspecified, the
* serialized agent is returned inline. Dialogflow performs a write operation
* for the Cloud Storage object on the caller's behalf, so your request
* authentication must have write permissions for the object. For more
* information, see [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-
* control#storage).
*
* @param string $agentUri
*/
public function setAgentUri($agentUri)
{
$this->agentUri = $agentUri;
}
/**
* @return string
*/
public function getAgentUri()
{
return $this->agentUri;
}
/**
* Optional. The data format of the exported agent. If not specified, `BLOB`
* is assumed.
*
* Accepted values: DATA_FORMAT_UNSPECIFIED, BLOB, JSON_PACKAGE
*
* @param self::DATA_FORMAT_* $dataFormat
*/
public function setDataFormat($dataFormat)
{
$this->dataFormat = $dataFormat;
}
/**
* @return self::DATA_FORMAT_*
*/
public function getDataFormat()
{
return $this->dataFormat;
}
/**
* Optional. Environment name. If not set, draft environment is assumed.
* Format: `projects//locations//agents//environments/`.
*
* @param string $environment
*/
public function setEnvironment($environment)
{
$this->environment = $environment;
}
/**
* @return string
*/
public function getEnvironment()
{
return $this->environment;
}
/**
* Optional. The Git branch to export the agent to.
*
* @param GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination $gitDestination
*/
public function setGitDestination(GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination $gitDestination)
{
$this->gitDestination = $gitDestination;
}
/**
* @return GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination
*/
public function getGitDestination()
{
return $this->gitDestination;
}
/**
* Optional. Whether to include BigQuery Export setting.
*
* @param bool $includeBigqueryExportSettings
*/
public function setIncludeBigqueryExportSettings($includeBigqueryExportSettings)
{
$this->includeBigqueryExportSettings = $includeBigqueryExportSettings;
}
/**
* @return bool
*/
public function getIncludeBigqueryExportSettings()
{
return $this->includeBigqueryExportSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportAgentRequest::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportAgentRequest');

View File

@@ -0,0 +1,70 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination extends \Google\Model
{
/**
* Commit message for the git push.
*
* @var string
*/
public $commitMessage;
/**
* Tracking branch for the git push.
*
* @var string
*/
public $trackingBranch;
/**
* Commit message for the git push.
*
* @param string $commitMessage
*/
public function setCommitMessage($commitMessage)
{
$this->commitMessage = $commitMessage;
}
/**
* @return string
*/
public function getCommitMessage()
{
return $this->commitMessage;
}
/**
* Tracking branch for the git push.
*
* @param string $trackingBranch
*/
public function setTrackingBranch($trackingBranch)
{
$this->trackingBranch = $trackingBranch;
}
/**
* @return string
*/
public function getTrackingBranch()
{
return $this->trackingBranch;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination');

View File

@@ -0,0 +1,98 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportAgentResponse extends \Google\Model
{
/**
* Uncompressed raw byte content for agent. This field is populated if none of
* `agent_uri` and `git_destination` are specified in ExportAgentRequest.
*
* @var string
*/
public $agentContent;
/**
* The URI to a file containing the exported agent. This field is populated if
* `agent_uri` is specified in ExportAgentRequest.
*
* @var string
*/
public $agentUri;
/**
* Commit SHA of the git push. This field is populated if `git_destination` is
* specified in ExportAgentRequest.
*
* @var string
*/
public $commitSha;
/**
* Uncompressed raw byte content for agent. This field is populated if none of
* `agent_uri` and `git_destination` are specified in ExportAgentRequest.
*
* @param string $agentContent
*/
public function setAgentContent($agentContent)
{
$this->agentContent = $agentContent;
}
/**
* @return string
*/
public function getAgentContent()
{
return $this->agentContent;
}
/**
* The URI to a file containing the exported agent. This field is populated if
* `agent_uri` is specified in ExportAgentRequest.
*
* @param string $agentUri
*/
public function setAgentUri($agentUri)
{
$this->agentUri = $agentUri;
}
/**
* @return string
*/
public function getAgentUri()
{
return $this->agentUri;
}
/**
* Commit SHA of the git push. This field is populated if `git_destination` is
* specified in ExportAgentRequest.
*
* @param string $commitSha
*/
public function setCommitSha($commitSha)
{
$this->commitSha = $commitSha;
}
/**
* @return string
*/
public function getCommitSha()
{
return $this->commitSha;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportAgentResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportAgentResponse');

View File

@@ -0,0 +1,25 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportEntityTypesMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportEntityTypesMetadata::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportEntityTypesMetadata');

View File

@@ -0,0 +1,181 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportEntityTypesRequest extends \Google\Collection
{
/**
* Unspecified format. Treated as `BLOB`.
*/
public const DATA_FORMAT_DATA_FORMAT_UNSPECIFIED = 'DATA_FORMAT_UNSPECIFIED';
/**
* EntityTypes will be exported as raw bytes.
*/
public const DATA_FORMAT_BLOB = 'BLOB';
/**
* EntityTypes will be exported in JSON Package format.
*/
public const DATA_FORMAT_JSON_PACKAGE = 'JSON_PACKAGE';
protected $collection_key = 'entityTypes';
/**
* Optional. The data format of the exported entity types. If not specified,
* `BLOB` is assumed.
*
* @var string
*/
public $dataFormat;
/**
* Required. The name of the entity types to export. Format:
* `projects//locations//agents//entityTypes/`.
*
* @var string[]
*/
public $entityTypes;
/**
* Optional. The option to return the serialized entity types inline.
*
* @var bool
*/
public $entityTypesContentInline;
/**
* Optional. The [Google Cloud
* Storage](https://cloud.google.com/storage/docs/) URI to export the entity
* types to. The format of this URI must be `gs:`. Dialogflow performs a write
* operation for the Cloud Storage object on the caller's behalf, so your
* request authentication must have write permissions for the object. For more
* information, see [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-
* control#storage).
*
* @var string
*/
public $entityTypesUri;
/**
* Optional. The language to retrieve the entity type for. The following
* fields are language dependent: * `EntityType.entities.value` *
* `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not
* specified, all language dependent fields will be retrieved. [Many
* languages](https://cloud.google.com/dialogflow/docs/reference/language) are
* supported. Note: languages must be enabled in the agent before they can be
* used.
*
* @var string
*/
public $languageCode;
/**
* Optional. The data format of the exported entity types. If not specified,
* `BLOB` is assumed.
*
* Accepted values: DATA_FORMAT_UNSPECIFIED, BLOB, JSON_PACKAGE
*
* @param self::DATA_FORMAT_* $dataFormat
*/
public function setDataFormat($dataFormat)
{
$this->dataFormat = $dataFormat;
}
/**
* @return self::DATA_FORMAT_*
*/
public function getDataFormat()
{
return $this->dataFormat;
}
/**
* Required. The name of the entity types to export. Format:
* `projects//locations//agents//entityTypes/`.
*
* @param string[] $entityTypes
*/
public function setEntityTypes($entityTypes)
{
$this->entityTypes = $entityTypes;
}
/**
* @return string[]
*/
public function getEntityTypes()
{
return $this->entityTypes;
}
/**
* Optional. The option to return the serialized entity types inline.
*
* @param bool $entityTypesContentInline
*/
public function setEntityTypesContentInline($entityTypesContentInline)
{
$this->entityTypesContentInline = $entityTypesContentInline;
}
/**
* @return bool
*/
public function getEntityTypesContentInline()
{
return $this->entityTypesContentInline;
}
/**
* Optional. The [Google Cloud
* Storage](https://cloud.google.com/storage/docs/) URI to export the entity
* types to. The format of this URI must be `gs:`. Dialogflow performs a write
* operation for the Cloud Storage object on the caller's behalf, so your
* request authentication must have write permissions for the object. For more
* information, see [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-
* control#storage).
*
* @param string $entityTypesUri
*/
public function setEntityTypesUri($entityTypesUri)
{
$this->entityTypesUri = $entityTypesUri;
}
/**
* @return string
*/
public function getEntityTypesUri()
{
return $this->entityTypesUri;
}
/**
* Optional. The language to retrieve the entity type for. The following
* fields are language dependent: * `EntityType.entities.value` *
* `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not
* specified, all language dependent fields will be retrieved. [Many
* languages](https://cloud.google.com/dialogflow/docs/reference/language) are
* supported. Note: languages must be enabled in the agent before they can be
* used.
*
* @param string $languageCode
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportEntityTypesRequest::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportEntityTypesRequest');

View File

@@ -0,0 +1,71 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportEntityTypesResponse extends \Google\Model
{
protected $entityTypesContentType = GoogleCloudDialogflowCxV3InlineDestination::class;
protected $entityTypesContentDataType = '';
/**
* The URI to a file containing the exported entity types. This field is
* populated only if `entity_types_uri` is specified in
* ExportEntityTypesRequest.
*
* @var string
*/
public $entityTypesUri;
/**
* Uncompressed byte content for entity types. This field is populated only if
* `entity_types_content_inline` is set to true in ExportEntityTypesRequest.
*
* @param GoogleCloudDialogflowCxV3InlineDestination $entityTypesContent
*/
public function setEntityTypesContent(GoogleCloudDialogflowCxV3InlineDestination $entityTypesContent)
{
$this->entityTypesContent = $entityTypesContent;
}
/**
* @return GoogleCloudDialogflowCxV3InlineDestination
*/
public function getEntityTypesContent()
{
return $this->entityTypesContent;
}
/**
* The URI to a file containing the exported entity types. This field is
* populated only if `entity_types_uri` is specified in
* ExportEntityTypesRequest.
*
* @param string $entityTypesUri
*/
public function setEntityTypesUri($entityTypesUri)
{
$this->entityTypesUri = $entityTypesUri;
}
/**
* @return string
*/
public function getEntityTypesUri()
{
return $this->entityTypesUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportEntityTypesResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportEntityTypesResponse');

View File

@@ -0,0 +1,86 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportFlowRequest extends \Google\Model
{
/**
* Optional. The [Google Cloud
* Storage](https://cloud.google.com/storage/docs/) URI to export the flow to.
* The format of this URI must be `gs:`. If left unspecified, the serialized
* flow is returned inline. Dialogflow performs a write operation for the
* Cloud Storage object on the caller's behalf, so your request authentication
* must have write permissions for the object. For more information, see
* [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-
* control#storage).
*
* @var string
*/
public $flowUri;
/**
* Optional. Whether to export flows referenced by the specified flow.
*
* @var bool
*/
public $includeReferencedFlows;
/**
* Optional. The [Google Cloud
* Storage](https://cloud.google.com/storage/docs/) URI to export the flow to.
* The format of this URI must be `gs:`. If left unspecified, the serialized
* flow is returned inline. Dialogflow performs a write operation for the
* Cloud Storage object on the caller's behalf, so your request authentication
* must have write permissions for the object. For more information, see
* [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-
* control#storage).
*
* @param string $flowUri
*/
public function setFlowUri($flowUri)
{
$this->flowUri = $flowUri;
}
/**
* @return string
*/
public function getFlowUri()
{
return $this->flowUri;
}
/**
* Optional. Whether to export flows referenced by the specified flow.
*
* @param bool $includeReferencedFlows
*/
public function setIncludeReferencedFlows($includeReferencedFlows)
{
$this->includeReferencedFlows = $includeReferencedFlows;
}
/**
* @return bool
*/
public function getIncludeReferencedFlows()
{
return $this->includeReferencedFlows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportFlowRequest::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportFlowRequest');

View File

@@ -0,0 +1,72 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportFlowResponse extends \Google\Model
{
/**
* Uncompressed raw byte content for flow.
*
* @var string
*/
public $flowContent;
/**
* The URI to a file containing the exported flow. This field is populated
* only if `flow_uri` is specified in ExportFlowRequest.
*
* @var string
*/
public $flowUri;
/**
* Uncompressed raw byte content for flow.
*
* @param string $flowContent
*/
public function setFlowContent($flowContent)
{
$this->flowContent = $flowContent;
}
/**
* @return string
*/
public function getFlowContent()
{
return $this->flowContent;
}
/**
* The URI to a file containing the exported flow. This field is populated
* only if `flow_uri` is specified in ExportFlowRequest.
*
* @param string $flowUri
*/
public function setFlowUri($flowUri)
{
$this->flowUri = $flowUri;
}
/**
* @return string
*/
public function getFlowUri()
{
return $this->flowUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportFlowResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportFlowResponse');

View File

@@ -0,0 +1,25 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportIntentsMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportIntentsMetadata::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportIntentsMetadata');

View File

@@ -0,0 +1,151 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportIntentsRequest extends \Google\Collection
{
/**
* Unspecified format. Treated as `BLOB`.
*/
public const DATA_FORMAT_DATA_FORMAT_UNSPECIFIED = 'DATA_FORMAT_UNSPECIFIED';
/**
* Intents will be exported as raw bytes.
*/
public const DATA_FORMAT_BLOB = 'BLOB';
/**
* Intents will be exported in JSON format.
*/
public const DATA_FORMAT_JSON = 'JSON';
/**
* Intents will be exported in CSV format.
*/
public const DATA_FORMAT_CSV = 'CSV';
protected $collection_key = 'intents';
/**
* Optional. The data format of the exported intents. If not specified, `BLOB`
* is assumed.
*
* @var string
*/
public $dataFormat;
/**
* Required. The name of the intents to export. Format:
* `projects//locations//agents//intents/`.
*
* @var string[]
*/
public $intents;
/**
* Optional. The option to return the serialized intents inline.
*
* @var bool
*/
public $intentsContentInline;
/**
* Optional. The [Google Cloud
* Storage](https://cloud.google.com/storage/docs/) URI to export the intents
* to. The format of this URI must be `gs:`. Dialogflow performs a write
* operation for the Cloud Storage object on the caller's behalf, so your
* request authentication must have write permissions for the object. For more
* information, see [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-
* control#storage).
*
* @var string
*/
public $intentsUri;
/**
* Optional. The data format of the exported intents. If not specified, `BLOB`
* is assumed.
*
* Accepted values: DATA_FORMAT_UNSPECIFIED, BLOB, JSON, CSV
*
* @param self::DATA_FORMAT_* $dataFormat
*/
public function setDataFormat($dataFormat)
{
$this->dataFormat = $dataFormat;
}
/**
* @return self::DATA_FORMAT_*
*/
public function getDataFormat()
{
return $this->dataFormat;
}
/**
* Required. The name of the intents to export. Format:
* `projects//locations//agents//intents/`.
*
* @param string[] $intents
*/
public function setIntents($intents)
{
$this->intents = $intents;
}
/**
* @return string[]
*/
public function getIntents()
{
return $this->intents;
}
/**
* Optional. The option to return the serialized intents inline.
*
* @param bool $intentsContentInline
*/
public function setIntentsContentInline($intentsContentInline)
{
$this->intentsContentInline = $intentsContentInline;
}
/**
* @return bool
*/
public function getIntentsContentInline()
{
return $this->intentsContentInline;
}
/**
* Optional. The [Google Cloud
* Storage](https://cloud.google.com/storage/docs/) URI to export the intents
* to. The format of this URI must be `gs:`. Dialogflow performs a write
* operation for the Cloud Storage object on the caller's behalf, so your
* request authentication must have write permissions for the object. For more
* information, see [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-
* control#storage).
*
* @param string $intentsUri
*/
public function setIntentsUri($intentsUri)
{
$this->intentsUri = $intentsUri;
}
/**
* @return string
*/
public function getIntentsUri()
{
return $this->intentsUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportIntentsRequest::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportIntentsRequest');

View File

@@ -0,0 +1,69 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportIntentsResponse extends \Google\Model
{
protected $intentsContentType = GoogleCloudDialogflowCxV3InlineDestination::class;
protected $intentsContentDataType = '';
/**
* The URI to a file containing the exported intents. This field is populated
* only if `intents_uri` is specified in ExportIntentsRequest.
*
* @var string
*/
public $intentsUri;
/**
* Uncompressed byte content for intents. This field is populated only if
* `intents_content_inline` is set to true in ExportIntentsRequest.
*
* @param GoogleCloudDialogflowCxV3InlineDestination $intentsContent
*/
public function setIntentsContent(GoogleCloudDialogflowCxV3InlineDestination $intentsContent)
{
$this->intentsContent = $intentsContent;
}
/**
* @return GoogleCloudDialogflowCxV3InlineDestination
*/
public function getIntentsContent()
{
return $this->intentsContent;
}
/**
* The URI to a file containing the exported intents. This field is populated
* only if `intents_uri` is specified in ExportIntentsRequest.
*
* @param string $intentsUri
*/
public function setIntentsUri($intentsUri)
{
$this->intentsUri = $intentsUri;
}
/**
* @return string
*/
public function getIntentsUri()
{
return $this->intentsUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportIntentsResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportIntentsResponse');

View File

@@ -0,0 +1,102 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportPlaybookRequest extends \Google\Model
{
/**
* Unspecified format.
*/
public const DATA_FORMAT_DATA_FORMAT_UNSPECIFIED = 'DATA_FORMAT_UNSPECIFIED';
/**
* Flow content will be exported as raw bytes.
*/
public const DATA_FORMAT_BLOB = 'BLOB';
/**
* Flow content will be exported in JSON format.
*/
public const DATA_FORMAT_JSON = 'JSON';
/**
* Optional. The data format of the exported agent. If not specified, `BLOB`
* is assumed.
*
* @var string
*/
public $dataFormat;
/**
* Optional. The [Google Cloud
* Storage](https://cloud.google.com/storage/docs/) URI to export the playbook
* to. The format of this URI must be `gs:`. If left unspecified, the
* serialized playbook is returned inline. Dialogflow performs a write
* operation for the Cloud Storage object on the caller's behalf, so your
* request authentication must have write permissions for the object. For more
* information, see [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-
* control#storage).
*
* @var string
*/
public $playbookUri;
/**
* Optional. The data format of the exported agent. If not specified, `BLOB`
* is assumed.
*
* Accepted values: DATA_FORMAT_UNSPECIFIED, BLOB, JSON
*
* @param self::DATA_FORMAT_* $dataFormat
*/
public function setDataFormat($dataFormat)
{
$this->dataFormat = $dataFormat;
}
/**
* @return self::DATA_FORMAT_*
*/
public function getDataFormat()
{
return $this->dataFormat;
}
/**
* Optional. The [Google Cloud
* Storage](https://cloud.google.com/storage/docs/) URI to export the playbook
* to. The format of this URI must be `gs:`. If left unspecified, the
* serialized playbook is returned inline. Dialogflow performs a write
* operation for the Cloud Storage object on the caller's behalf, so your
* request authentication must have write permissions for the object. For more
* information, see [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-
* control#storage).
*
* @param string $playbookUri
*/
public function setPlaybookUri($playbookUri)
{
$this->playbookUri = $playbookUri;
}
/**
* @return string
*/
public function getPlaybookUri()
{
return $this->playbookUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportPlaybookRequest::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportPlaybookRequest');

View File

@@ -0,0 +1,25 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportTestCasesMetadata::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportTestCasesMetadata');

View File

@@ -0,0 +1,130 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportTestCasesRequest extends \Google\Model
{
/**
* Unspecified format.
*/
public const DATA_FORMAT_DATA_FORMAT_UNSPECIFIED = 'DATA_FORMAT_UNSPECIFIED';
/**
* Raw bytes.
*/
public const DATA_FORMAT_BLOB = 'BLOB';
/**
* JSON format.
*/
public const DATA_FORMAT_JSON = 'JSON';
/**
* The data format of the exported test cases. If not specified, `BLOB` is
* assumed.
*
* @var string
*/
public $dataFormat;
/**
* The filter expression used to filter exported test cases, see [API
* Filtering](https://aip.dev/160). The expression is case insensitive and
* supports the following syntax: name = [OR name = ] ... For example: * "name
* = t1 OR name = t2" matches the test case with the exact resource name "t1"
* or "t2".
*
* @var string
*/
public $filter;
/**
* The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
* export the test cases to. The format of this URI must be `gs:`. If
* unspecified, the serialized test cases is returned inline. Dialogflow
* performs a write operation for the Cloud Storage object on the caller's
* behalf, so your request authentication must have write permissions for the
* object. For more information, see [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-
* control#storage).
*
* @var string
*/
public $gcsUri;
/**
* The data format of the exported test cases. If not specified, `BLOB` is
* assumed.
*
* Accepted values: DATA_FORMAT_UNSPECIFIED, BLOB, JSON
*
* @param self::DATA_FORMAT_* $dataFormat
*/
public function setDataFormat($dataFormat)
{
$this->dataFormat = $dataFormat;
}
/**
* @return self::DATA_FORMAT_*
*/
public function getDataFormat()
{
return $this->dataFormat;
}
/**
* The filter expression used to filter exported test cases, see [API
* Filtering](https://aip.dev/160). The expression is case insensitive and
* supports the following syntax: name = [OR name = ] ... For example: * "name
* = t1 OR name = t2" matches the test case with the exact resource name "t1"
* or "t2".
*
* @param string $filter
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
* export the test cases to. The format of this URI must be `gs:`. If
* unspecified, the serialized test cases is returned inline. Dialogflow
* performs a write operation for the Cloud Storage object on the caller's
* behalf, so your request authentication must have write permissions for the
* object. For more information, see [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-
* control#storage).
*
* @param string $gcsUri
*/
public function setGcsUri($gcsUri)
{
$this->gcsUri = $gcsUri;
}
/**
* @return string
*/
public function getGcsUri()
{
return $this->gcsUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportTestCasesRequest::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportTestCasesRequest');

View File

@@ -0,0 +1,72 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3ExportTestCasesResponse extends \Google\Model
{
/**
* Uncompressed raw byte content for test cases.
*
* @var string
*/
public $content;
/**
* The URI to a file containing the exported test cases. This field is
* populated only if `gcs_uri` is specified in ExportTestCasesRequest.
*
* @var string
*/
public $gcsUri;
/**
* Uncompressed raw byte content for test cases.
*
* @param string $content
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* The URI to a file containing the exported test cases. This field is
* populated only if `gcs_uri` is specified in ExportTestCasesRequest.
*
* @param string $gcsUri
*/
public function setGcsUri($gcsUri)
{
$this->gcsUri = $gcsUri;
}
/**
* @return string
*/
public function getGcsUri()
{
return $this->gcsUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3ExportTestCasesResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExportTestCasesResponse');

View File

@@ -0,0 +1,81 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3FilterSpecs extends \Google\Collection
{
protected $collection_key = 'dataStores';
/**
* Optional. Data Stores where the boosting configuration is applied. The full
* names of the referenced data stores. Formats: `projects/{project}/locations
* /{location}/collections/{collection}/dataStores/{data_store}`
* `projects/{project}/locations/{location}/dataStores/{data_store}`
*
* @var string[]
*/
public $dataStores;
/**
* Optional. The filter expression to be applied. Expression syntax is
* documented at https://cloud.google.com/generative-ai-app-
* builder/docs/filter-search-metadata#filter-expression-syntax
*
* @var string
*/
public $filter;
/**
* Optional. Data Stores where the boosting configuration is applied. The full
* names of the referenced data stores. Formats: `projects/{project}/locations
* /{location}/collections/{collection}/dataStores/{data_store}`
* `projects/{project}/locations/{location}/dataStores/{data_store}`
*
* @param string[] $dataStores
*/
public function setDataStores($dataStores)
{
$this->dataStores = $dataStores;
}
/**
* @return string[]
*/
public function getDataStores()
{
return $this->dataStores;
}
/**
* Optional. The filter expression to be applied. Expression syntax is
* documented at https://cloud.google.com/generative-ai-app-
* builder/docs/filter-search-metadata#filter-expression-syntax
*
* @param string $filter
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3FilterSpecs::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3FilterSpecs');

View File

@@ -0,0 +1,314 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3Flow extends \Google\Collection
{
protected $collection_key = 'transitionRoutes';
protected $advancedSettingsType = GoogleCloudDialogflowCxV3AdvancedSettings::class;
protected $advancedSettingsDataType = '';
/**
* The description of the flow. The maximum length is 500 characters. If
* exceeded, the request is rejected.
*
* @var string
*/
public $description;
/**
* Required. The human-readable name of the flow.
*
* @var string
*/
public $displayName;
protected $eventHandlersType = GoogleCloudDialogflowCxV3EventHandler::class;
protected $eventHandlersDataType = 'array';
protected $inputParameterDefinitionsType = GoogleCloudDialogflowCxV3ParameterDefinition::class;
protected $inputParameterDefinitionsDataType = 'array';
protected $knowledgeConnectorSettingsType = GoogleCloudDialogflowCxV3KnowledgeConnectorSettings::class;
protected $knowledgeConnectorSettingsDataType = '';
/**
* Indicates whether the flow is locked for changes. If the flow is locked,
* modifications to the flow will be rejected.
*
* @var bool
*/
public $locked;
protected $multiLanguageSettingsType = GoogleCloudDialogflowCxV3FlowMultiLanguageSettings::class;
protected $multiLanguageSettingsDataType = '';
/**
* The unique identifier of the flow. Format:
* `projects//locations//agents//flows/`.
*
* @var string
*/
public $name;
protected $nluSettingsType = GoogleCloudDialogflowCxV3NluSettings::class;
protected $nluSettingsDataType = '';
protected $outputParameterDefinitionsType = GoogleCloudDialogflowCxV3ParameterDefinition::class;
protected $outputParameterDefinitionsDataType = 'array';
/**
* A flow's transition route group serve two purposes: * They are responsible
* for matching the user's first utterances in the flow. * They are inherited
* by every page's transition route groups. Transition route groups defined in
* the page have higher priority than those defined in the flow. Format:
* `projects//locations//agents//flows//transitionRouteGroups/` or
* `projects//locations//agents//transitionRouteGroups/` for agent-level
* groups.
*
* @var string[]
*/
public $transitionRouteGroups;
protected $transitionRoutesType = GoogleCloudDialogflowCxV3TransitionRoute::class;
protected $transitionRoutesDataType = 'array';
/**
* Hierarchical advanced settings for this flow. The settings exposed at the
* lower level overrides the settings exposed at the higher level.
*
* @param GoogleCloudDialogflowCxV3AdvancedSettings $advancedSettings
*/
public function setAdvancedSettings(GoogleCloudDialogflowCxV3AdvancedSettings $advancedSettings)
{
$this->advancedSettings = $advancedSettings;
}
/**
* @return GoogleCloudDialogflowCxV3AdvancedSettings
*/
public function getAdvancedSettings()
{
return $this->advancedSettings;
}
/**
* The description of the flow. The maximum length is 500 characters. If
* exceeded, the request is rejected.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. The human-readable name of the flow.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* A flow's event handlers serve two purposes: * They are responsible for
* handling events (e.g. no match, webhook errors) in the flow. * They are
* inherited by every page's event handlers, which can be used to handle
* common events regardless of the current page. Event handlers defined in the
* page have higher priority than those defined in the flow. Unlike
* transition_routes, these handlers are evaluated on a first-match basis. The
* first one that matches the event get executed, with the rest being ignored.
*
* @param GoogleCloudDialogflowCxV3EventHandler[] $eventHandlers
*/
public function setEventHandlers($eventHandlers)
{
$this->eventHandlers = $eventHandlers;
}
/**
* @return GoogleCloudDialogflowCxV3EventHandler[]
*/
public function getEventHandlers()
{
return $this->eventHandlers;
}
/**
* Optional. Defined structured input parameters for this flow.
*
* @param GoogleCloudDialogflowCxV3ParameterDefinition[] $inputParameterDefinitions
*/
public function setInputParameterDefinitions($inputParameterDefinitions)
{
$this->inputParameterDefinitions = $inputParameterDefinitions;
}
/**
* @return GoogleCloudDialogflowCxV3ParameterDefinition[]
*/
public function getInputParameterDefinitions()
{
return $this->inputParameterDefinitions;
}
/**
* Optional. Knowledge connector configuration.
*
* @param GoogleCloudDialogflowCxV3KnowledgeConnectorSettings $knowledgeConnectorSettings
*/
public function setKnowledgeConnectorSettings(GoogleCloudDialogflowCxV3KnowledgeConnectorSettings $knowledgeConnectorSettings)
{
$this->knowledgeConnectorSettings = $knowledgeConnectorSettings;
}
/**
* @return GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
*/
public function getKnowledgeConnectorSettings()
{
return $this->knowledgeConnectorSettings;
}
/**
* Indicates whether the flow is locked for changes. If the flow is locked,
* modifications to the flow will be rejected.
*
* @param bool $locked
*/
public function setLocked($locked)
{
$this->locked = $locked;
}
/**
* @return bool
*/
public function getLocked()
{
return $this->locked;
}
/**
* Optional. Multi-lingual agent settings for this flow.
*
* @param GoogleCloudDialogflowCxV3FlowMultiLanguageSettings $multiLanguageSettings
*/
public function setMultiLanguageSettings(GoogleCloudDialogflowCxV3FlowMultiLanguageSettings $multiLanguageSettings)
{
$this->multiLanguageSettings = $multiLanguageSettings;
}
/**
* @return GoogleCloudDialogflowCxV3FlowMultiLanguageSettings
*/
public function getMultiLanguageSettings()
{
return $this->multiLanguageSettings;
}
/**
* The unique identifier of the flow. Format:
* `projects//locations//agents//flows/`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* NLU related settings of the flow.
*
* @param GoogleCloudDialogflowCxV3NluSettings $nluSettings
*/
public function setNluSettings(GoogleCloudDialogflowCxV3NluSettings $nluSettings)
{
$this->nluSettings = $nluSettings;
}
/**
* @return GoogleCloudDialogflowCxV3NluSettings
*/
public function getNluSettings()
{
return $this->nluSettings;
}
/**
* Optional. Defined structured output parameters for this flow.
*
* @param GoogleCloudDialogflowCxV3ParameterDefinition[] $outputParameterDefinitions
*/
public function setOutputParameterDefinitions($outputParameterDefinitions)
{
$this->outputParameterDefinitions = $outputParameterDefinitions;
}
/**
* @return GoogleCloudDialogflowCxV3ParameterDefinition[]
*/
public function getOutputParameterDefinitions()
{
return $this->outputParameterDefinitions;
}
/**
* A flow's transition route group serve two purposes: * They are responsible
* for matching the user's first utterances in the flow. * They are inherited
* by every page's transition route groups. Transition route groups defined in
* the page have higher priority than those defined in the flow. Format:
* `projects//locations//agents//flows//transitionRouteGroups/` or
* `projects//locations//agents//transitionRouteGroups/` for agent-level
* groups.
*
* @param string[] $transitionRouteGroups
*/
public function setTransitionRouteGroups($transitionRouteGroups)
{
$this->transitionRouteGroups = $transitionRouteGroups;
}
/**
* @return string[]
*/
public function getTransitionRouteGroups()
{
return $this->transitionRouteGroups;
}
/**
* A flow's transition routes serve two purposes: * They are responsible for
* matching the user's first utterances in the flow. * They are inherited by
* every page's transition routes and can support use cases such as the user
* saying "help" or "can I talk to a human?", which can be handled in a common
* way regardless of the current page. Transition routes defined in the page
* have higher priority than those defined in the flow. TransitionRoutes are
* evaluated in the following order: * TransitionRoutes with intent specified.
* * TransitionRoutes with only condition specified. TransitionRoutes with
* intent specified are inherited by pages in the flow.
*
* @param GoogleCloudDialogflowCxV3TransitionRoute[] $transitionRoutes
*/
public function setTransitionRoutes($transitionRoutes)
{
$this->transitionRoutes = $transitionRoutes;
}
/**
* @return GoogleCloudDialogflowCxV3TransitionRoute[]
*/
public function getTransitionRoutes()
{
return $this->transitionRoutes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3Flow::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3Flow');

View File

@@ -0,0 +1,85 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3FlowImportStrategy extends \Google\Model
{
/**
* Unspecified. Treated as 'CREATE_NEW'.
*/
public const GLOBAL_IMPORT_STRATEGY_IMPORT_STRATEGY_UNSPECIFIED = 'IMPORT_STRATEGY_UNSPECIFIED';
/**
* Create a new resource with a numeric suffix appended to the end of the
* existing display name.
*/
public const GLOBAL_IMPORT_STRATEGY_IMPORT_STRATEGY_CREATE_NEW = 'IMPORT_STRATEGY_CREATE_NEW';
/**
* Replace existing resource with incoming resource in the content to be
* imported.
*/
public const GLOBAL_IMPORT_STRATEGY_IMPORT_STRATEGY_REPLACE = 'IMPORT_STRATEGY_REPLACE';
/**
* Keep existing resource and discard incoming resource in the content to be
* imported.
*/
public const GLOBAL_IMPORT_STRATEGY_IMPORT_STRATEGY_KEEP = 'IMPORT_STRATEGY_KEEP';
/**
* Combine existing and incoming resources when a conflict is encountered.
*/
public const GLOBAL_IMPORT_STRATEGY_IMPORT_STRATEGY_MERGE = 'IMPORT_STRATEGY_MERGE';
/**
* Throw error if a conflict is encountered.
*/
public const GLOBAL_IMPORT_STRATEGY_IMPORT_STRATEGY_THROW_ERROR = 'IMPORT_STRATEGY_THROW_ERROR';
/**
* Optional. Import strategy for resource conflict resolution, applied
* globally throughout the flow. It will be applied for all display name
* conflicts in the imported content. If not specified, 'CREATE_NEW' is
* assumed.
*
* @var string
*/
public $globalImportStrategy;
/**
* Optional. Import strategy for resource conflict resolution, applied
* globally throughout the flow. It will be applied for all display name
* conflicts in the imported content. If not specified, 'CREATE_NEW' is
* assumed.
*
* Accepted values: IMPORT_STRATEGY_UNSPECIFIED, IMPORT_STRATEGY_CREATE_NEW,
* IMPORT_STRATEGY_REPLACE, IMPORT_STRATEGY_KEEP, IMPORT_STRATEGY_MERGE,
* IMPORT_STRATEGY_THROW_ERROR
*
* @param self::GLOBAL_IMPORT_STRATEGY_* $globalImportStrategy
*/
public function setGlobalImportStrategy($globalImportStrategy)
{
$this->globalImportStrategy = $globalImportStrategy;
}
/**
* @return self::GLOBAL_IMPORT_STRATEGY_*
*/
public function getGlobalImportStrategy()
{
return $this->globalImportStrategy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3FlowImportStrategy::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3FlowImportStrategy');

View File

@@ -0,0 +1,122 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3FlowInvocation extends \Google\Model
{
/**
* Unspecified output.
*/
public const FLOW_STATE_OUTPUT_STATE_UNSPECIFIED = 'OUTPUT_STATE_UNSPECIFIED';
/**
* Succeeded.
*/
public const FLOW_STATE_OUTPUT_STATE_OK = 'OUTPUT_STATE_OK';
/**
* Cancelled.
*/
public const FLOW_STATE_OUTPUT_STATE_CANCELLED = 'OUTPUT_STATE_CANCELLED';
/**
* Failed.
*/
public const FLOW_STATE_OUTPUT_STATE_FAILED = 'OUTPUT_STATE_FAILED';
/**
* Escalated.
*/
public const FLOW_STATE_OUTPUT_STATE_ESCALATED = 'OUTPUT_STATE_ESCALATED';
/**
* Pending.
*/
public const FLOW_STATE_OUTPUT_STATE_PENDING = 'OUTPUT_STATE_PENDING';
/**
* Output only. The display name of the flow.
*
* @var string
*/
public $displayName;
/**
* Required. The unique identifier of the flow. Format:
* `projects//locations//agents//flows/`.
*
* @var string
*/
public $flow;
/**
* Required. Flow invocation's output state.
*
* @var string
*/
public $flowState;
/**
* Output only. The display name of the flow.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Required. The unique identifier of the flow. Format:
* `projects//locations//agents//flows/`.
*
* @param string $flow
*/
public function setFlow($flow)
{
$this->flow = $flow;
}
/**
* @return string
*/
public function getFlow()
{
return $this->flow;
}
/**
* Required. Flow invocation's output state.
*
* Accepted values: OUTPUT_STATE_UNSPECIFIED, OUTPUT_STATE_OK,
* OUTPUT_STATE_CANCELLED, OUTPUT_STATE_FAILED, OUTPUT_STATE_ESCALATED,
* OUTPUT_STATE_PENDING
*
* @param self::FLOW_STATE_* $flowState
*/
public function setFlowState($flowState)
{
$this->flowState = $flowState;
}
/**
* @return self::FLOW_STATE_*
*/
public function getFlowState()
{
return $this->flowState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3FlowInvocation::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3FlowInvocation');

View File

@@ -0,0 +1,81 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3FlowMultiLanguageSettings extends \Google\Collection
{
protected $collection_key = 'supportedResponseLanguageCodes';
/**
* Optional. Enable multi-language detection for this flow. This can be set
* only if agent level multi language setting is enabled.
*
* @var bool
*/
public $enableMultiLanguageDetection;
/**
* Optional. Agent will respond in the detected language if the detected
* language code is in the supported resolved languages for this flow. This
* will be used only if multi-language training is enabled in the agent and
* multi-language detection is enabled in the flow. The supported languages
* must be a subset of the languages supported by the agent.
*
* @var string[]
*/
public $supportedResponseLanguageCodes;
/**
* Optional. Enable multi-language detection for this flow. This can be set
* only if agent level multi language setting is enabled.
*
* @param bool $enableMultiLanguageDetection
*/
public function setEnableMultiLanguageDetection($enableMultiLanguageDetection)
{
$this->enableMultiLanguageDetection = $enableMultiLanguageDetection;
}
/**
* @return bool
*/
public function getEnableMultiLanguageDetection()
{
return $this->enableMultiLanguageDetection;
}
/**
* Optional. Agent will respond in the detected language if the detected
* language code is in the supported resolved languages for this flow. This
* will be used only if multi-language training is enabled in the agent and
* multi-language detection is enabled in the flow. The supported languages
* must be a subset of the languages supported by the agent.
*
* @param string[] $supportedResponseLanguageCodes
*/
public function setSupportedResponseLanguageCodes($supportedResponseLanguageCodes)
{
$this->supportedResponseLanguageCodes = $supportedResponseLanguageCodes;
}
/**
* @return string[]
*/
public function getSupportedResponseLanguageCodes()
{
return $this->supportedResponseLanguageCodes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3FlowMultiLanguageSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3FlowMultiLanguageSettings');

View File

@@ -0,0 +1,72 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3FlowTransition extends \Google\Model
{
/**
* Output only. The display name of the flow.
*
* @var string
*/
public $displayName;
/**
* Required. The unique identifier of the flow. Format:
* `projects//locations//agents/`.
*
* @var string
*/
public $flow;
/**
* Output only. The display name of the flow.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Required. The unique identifier of the flow. Format:
* `projects//locations//agents/`.
*
* @param string $flow
*/
public function setFlow($flow)
{
$this->flow = $flow;
}
/**
* @return string
*/
public function getFlow()
{
return $this->flow;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3FlowTransition::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3FlowTransition');

View File

@@ -0,0 +1,91 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3FlowValidationResult extends \Google\Collection
{
protected $collection_key = 'validationMessages';
/**
* The unique identifier of the flow validation result. Format:
* `projects//locations//agents//flows//validationResult`.
*
* @var string
*/
public $name;
/**
* Last time the flow was validated.
*
* @var string
*/
public $updateTime;
protected $validationMessagesType = GoogleCloudDialogflowCxV3ValidationMessage::class;
protected $validationMessagesDataType = 'array';
/**
* The unique identifier of the flow validation result. Format:
* `projects//locations//agents//flows//validationResult`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Last time the flow was validated.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* Contains all validation messages.
*
* @param GoogleCloudDialogflowCxV3ValidationMessage[] $validationMessages
*/
public function setValidationMessages($validationMessages)
{
$this->validationMessages = $validationMessages;
}
/**
* @return GoogleCloudDialogflowCxV3ValidationMessage[]
*/
public function getValidationMessages()
{
return $this->validationMessages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3FlowValidationResult::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3FlowValidationResult');

View File

@@ -0,0 +1,45 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3Form extends \Google\Collection
{
protected $collection_key = 'parameters';
protected $parametersType = GoogleCloudDialogflowCxV3FormParameter::class;
protected $parametersDataType = 'array';
/**
* Parameters to collect from the user.
*
* @param GoogleCloudDialogflowCxV3FormParameter[] $parameters
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return GoogleCloudDialogflowCxV3FormParameter[]
*/
public function getParameters()
{
return $this->parameters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3Form::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3Form');

View File

@@ -0,0 +1,213 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3FormParameter extends \Google\Model
{
protected $advancedSettingsType = GoogleCloudDialogflowCxV3AdvancedSettings::class;
protected $advancedSettingsDataType = '';
/**
* The default value of an optional parameter. If the parameter is required,
* the default value will be ignored.
*
* @var array
*/
public $defaultValue;
/**
* Required. The human-readable name of the parameter, unique within the form.
*
* @var string
*/
public $displayName;
/**
* Required. The entity type of the parameter. Format:
* `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for
* example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or
* `projects//locations//agents//entityTypes/` for developer entity types.
*
* @var string
*/
public $entityType;
protected $fillBehaviorType = GoogleCloudDialogflowCxV3FormParameterFillBehavior::class;
protected $fillBehaviorDataType = '';
/**
* Indicates whether the parameter represents a list of values.
*
* @var bool
*/
public $isList;
/**
* Indicates whether the parameter content should be redacted in log. If
* redaction is enabled, the parameter content will be replaced by parameter
* name during logging. Note: the parameter content is subject to redaction if
* either parameter level redaction or entity type level redaction is enabled.
*
* @var bool
*/
public $redact;
/**
* Indicates whether the parameter is required. Optional parameters will not
* trigger prompts; however, they are filled if the user specifies them.
* Required parameters must be filled before form filling concludes.
*
* @var bool
*/
public $required;
/**
* Hierarchical advanced settings for this parameter. The settings exposed at
* the lower level overrides the settings exposed at the higher level.
*
* @param GoogleCloudDialogflowCxV3AdvancedSettings $advancedSettings
*/
public function setAdvancedSettings(GoogleCloudDialogflowCxV3AdvancedSettings $advancedSettings)
{
$this->advancedSettings = $advancedSettings;
}
/**
* @return GoogleCloudDialogflowCxV3AdvancedSettings
*/
public function getAdvancedSettings()
{
return $this->advancedSettings;
}
/**
* The default value of an optional parameter. If the parameter is required,
* the default value will be ignored.
*
* @param array $defaultValue
*/
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return array
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* Required. The human-readable name of the parameter, unique within the form.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Required. The entity type of the parameter. Format:
* `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for
* example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or
* `projects//locations//agents//entityTypes/` for developer entity types.
*
* @param string $entityType
*/
public function setEntityType($entityType)
{
$this->entityType = $entityType;
}
/**
* @return string
*/
public function getEntityType()
{
return $this->entityType;
}
/**
* Required. Defines fill behavior for the parameter.
*
* @param GoogleCloudDialogflowCxV3FormParameterFillBehavior $fillBehavior
*/
public function setFillBehavior(GoogleCloudDialogflowCxV3FormParameterFillBehavior $fillBehavior)
{
$this->fillBehavior = $fillBehavior;
}
/**
* @return GoogleCloudDialogflowCxV3FormParameterFillBehavior
*/
public function getFillBehavior()
{
return $this->fillBehavior;
}
/**
* Indicates whether the parameter represents a list of values.
*
* @param bool $isList
*/
public function setIsList($isList)
{
$this->isList = $isList;
}
/**
* @return bool
*/
public function getIsList()
{
return $this->isList;
}
/**
* Indicates whether the parameter content should be redacted in log. If
* redaction is enabled, the parameter content will be replaced by parameter
* name during logging. Note: the parameter content is subject to redaction if
* either parameter level redaction or entity type level redaction is enabled.
*
* @param bool $redact
*/
public function setRedact($redact)
{
$this->redact = $redact;
}
/**
* @return bool
*/
public function getRedact()
{
return $this->redact;
}
/**
* Indicates whether the parameter is required. Optional parameters will not
* trigger prompts; however, they are filled if the user specifies them.
* Required parameters must be filled before form filling concludes.
*
* @param bool $required
*/
public function setRequired($required)
{
$this->required = $required;
}
/**
* @return bool
*/
public function getRequired()
{
return $this->required;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3FormParameter::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3FormParameter');

View File

@@ -0,0 +1,83 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3FormParameterFillBehavior extends \Google\Collection
{
protected $collection_key = 'repromptEventHandlers';
protected $initialPromptFulfillmentType = GoogleCloudDialogflowCxV3Fulfillment::class;
protected $initialPromptFulfillmentDataType = '';
protected $repromptEventHandlersType = GoogleCloudDialogflowCxV3EventHandler::class;
protected $repromptEventHandlersDataType = 'array';
/**
* Required. The fulfillment to provide the initial prompt that the agent can
* present to the user in order to fill the parameter.
*
* @param GoogleCloudDialogflowCxV3Fulfillment $initialPromptFulfillment
*/
public function setInitialPromptFulfillment(GoogleCloudDialogflowCxV3Fulfillment $initialPromptFulfillment)
{
$this->initialPromptFulfillment = $initialPromptFulfillment;
}
/**
* @return GoogleCloudDialogflowCxV3Fulfillment
*/
public function getInitialPromptFulfillment()
{
return $this->initialPromptFulfillment;
}
/**
* The handlers for parameter-level events, used to provide reprompt for the
* parameter or transition to a different page/flow. The supported events are:
* * `sys.no-match-`, where N can be from 1 to 6 * `sys.no-match-default` *
* `sys.no-input-`, where N can be from 1 to 6 * `sys.no-input-default` *
* `sys.invalid-parameter` `initial_prompt_fulfillment` provides the first
* prompt for the parameter. If the user's response does not fill the
* parameter, a no-match/no-input event will be triggered, and the fulfillment
* associated with the `sys.no-match-1`/`sys.no-input-1` handler (if defined)
* will be called to provide a prompt. The `sys.no-match-2`/`sys.no-input-2`
* handler (if defined) will respond to the next no-match/no-input event, and
* so on. A `sys.no-match-default` or `sys.no-input-default` handler will be
* used to handle all following no-match/no-input events after all numbered
* no-match/no-input handlers for the parameter are consumed. A `sys.invalid-
* parameter` handler can be defined to handle the case where the parameter
* values have been `invalidated` by webhook. For example, if the user's
* response fill the parameter, however the parameter was invalidated by
* webhook, the fulfillment associated with the `sys.invalid-parameter`
* handler (if defined) will be called to provide a prompt. If the event
* handler for the corresponding event can't be found on the parameter,
* `initial_prompt_fulfillment` will be re-prompted.
*
* @param GoogleCloudDialogflowCxV3EventHandler[] $repromptEventHandlers
*/
public function setRepromptEventHandlers($repromptEventHandlers)
{
$this->repromptEventHandlers = $repromptEventHandlers;
}
/**
* @return GoogleCloudDialogflowCxV3EventHandler[]
*/
public function getRepromptEventHandlers()
{
return $this->repromptEventHandlers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3FormParameterFillBehavior::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3FormParameterFillBehavior');

View File

@@ -0,0 +1,81 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3FulfillIntentRequest extends \Google\Model
{
protected $matchType = GoogleCloudDialogflowCxV3Match::class;
protected $matchDataType = '';
protected $matchIntentRequestType = GoogleCloudDialogflowCxV3MatchIntentRequest::class;
protected $matchIntentRequestDataType = '';
protected $outputAudioConfigType = GoogleCloudDialogflowCxV3OutputAudioConfig::class;
protected $outputAudioConfigDataType = '';
/**
* The matched intent/event to fulfill.
*
* @param GoogleCloudDialogflowCxV3Match $match
*/
public function setMatch(GoogleCloudDialogflowCxV3Match $match)
{
$this->match = $match;
}
/**
* @return GoogleCloudDialogflowCxV3Match
*/
public function getMatch()
{
return $this->match;
}
/**
* Must be same as the corresponding MatchIntent request, otherwise the
* behavior is undefined.
*
* @param GoogleCloudDialogflowCxV3MatchIntentRequest $matchIntentRequest
*/
public function setMatchIntentRequest(GoogleCloudDialogflowCxV3MatchIntentRequest $matchIntentRequest)
{
$this->matchIntentRequest = $matchIntentRequest;
}
/**
* @return GoogleCloudDialogflowCxV3MatchIntentRequest
*/
public function getMatchIntentRequest()
{
return $this->matchIntentRequest;
}
/**
* Instructs the speech synthesizer how to generate output audio.
*
* @param GoogleCloudDialogflowCxV3OutputAudioConfig $outputAudioConfig
*/
public function setOutputAudioConfig(GoogleCloudDialogflowCxV3OutputAudioConfig $outputAudioConfig)
{
$this->outputAudioConfig = $outputAudioConfig;
}
/**
* @return GoogleCloudDialogflowCxV3OutputAudioConfig
*/
public function getOutputAudioConfig()
{
return $this->outputAudioConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3FulfillIntentRequest::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3FulfillIntentRequest');

View File

@@ -0,0 +1,122 @@
<?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\Dialogflow;
class GoogleCloudDialogflowCxV3FulfillIntentResponse extends \Google\Model
{
/**
* The audio data bytes encoded as specified in the request. Note: The output
* audio is generated based on the values of default platform text responses
* found in the `query_result.response_messages` field. If multiple default
* text responses exist, they will be concatenated when generating audio. If
* no default platform text responses exist, the generated audio content will
* be empty. In some scenarios, multiple output audio fields may be present in
* the response structure. In these cases, only the top-most-level audio
* output has content.
*
* @var string
*/
public $outputAudio;
protected $outputAudioConfigType = GoogleCloudDialogflowCxV3OutputAudioConfig::class;
protected $outputAudioConfigDataType = '';
protected $queryResultType = GoogleCloudDialogflowCxV3QueryResult::class;
protected $queryResultDataType = '';
/**
* Output only. The unique identifier of the response. It can be used to
* locate a response in the training example set or for reporting issues.
*
* @var string
*/
public $responseId;
/**
* The audio data bytes encoded as specified in the request. Note: The output
* audio is generated based on the values of default platform text responses
* found in the `query_result.response_messages` field. If multiple default
* text responses exist, they will be concatenated when generating audio. If
* no default platform text responses exist, the generated audio content will
* be empty. In some scenarios, multiple output audio fields may be present in
* the response structure. In these cases, only the top-most-level audio
* output has content.
*
* @param string $outputAudio
*/
public function setOutputAudio($outputAudio)
{
$this->outputAudio = $outputAudio;
}
/**
* @return string
*/
public function getOutputAudio()
{
return $this->outputAudio;
}
/**
* The config used by the speech synthesizer to generate the output audio.
*
* @param GoogleCloudDialogflowCxV3OutputAudioConfig $outputAudioConfig
*/
public function setOutputAudioConfig(GoogleCloudDialogflowCxV3OutputAudioConfig $outputAudioConfig)
{
$this->outputAudioConfig = $outputAudioConfig;
}
/**
* @return GoogleCloudDialogflowCxV3OutputAudioConfig
*/
public function getOutputAudioConfig()
{
return $this->outputAudioConfig;
}
/**
* The result of the conversational query.
*
* @param GoogleCloudDialogflowCxV3QueryResult $queryResult
*/
public function setQueryResult(GoogleCloudDialogflowCxV3QueryResult $queryResult)
{
$this->queryResult = $queryResult;
}
/**
* @return GoogleCloudDialogflowCxV3QueryResult
*/
public function getQueryResult()
{
return $this->queryResult;
}
/**
* Output only. The unique identifier of the response. It can be used to
* locate a response in the training example set or for reporting issues.
*
* @param string $responseId
*/
public function setResponseId($responseId)
{
$this->responseId = $responseId;
}
/**
* @return string
*/
public function getResponseId()
{
return $this->responseId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3FulfillIntentResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3FulfillIntentResponse');

Some files were not shown because too many files have changed in this diff Show More