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