Files
IQ-Dynamic-Google-Pricing/vendor/google/apiclient-services/src/Dialogflow/GoogleCloudDialogflowCxV3beta1IntentParameter.php

129 lines
3.5 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 GoogleCloudDialogflowCxV3beta1IntentParameter extends \Google\Model
{
/**
* 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;
/**
* Required. The unique identifier of the parameter. This field is used by
* training phrases to annotate their parts.
*
* @var string
*/
public $id;
/**
* 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;
/**
* 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. The unique identifier of the parameter. This field is used by
* training phrases to annotate their parts.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* 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;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3beta1IntentParameter::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3beta1IntentParameter');