[f9c482b] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service\Dialogflow;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudDialogflowCxV3Agent extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'supportedLanguageCodes';
|
---|
| 23 | protected $advancedSettingsType = GoogleCloudDialogflowCxV3AdvancedSettings::class;
|
---|
| 24 | protected $advancedSettingsDataType = '';
|
---|
| 25 | protected $answerFeedbackSettingsType = GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings::class;
|
---|
| 26 | protected $answerFeedbackSettingsDataType = '';
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $avatarUri;
|
---|
| 31 | protected $clientCertificateSettingsType = GoogleCloudDialogflowCxV3AgentClientCertificateSettings::class;
|
---|
| 32 | protected $clientCertificateSettingsDataType = '';
|
---|
| 33 | /**
|
---|
| 34 | * @var string
|
---|
| 35 | */
|
---|
| 36 | public $defaultLanguageCode;
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $description;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $displayName;
|
---|
| 45 | /**
|
---|
| 46 | * @var bool
|
---|
| 47 | */
|
---|
| 48 | public $enableMultiLanguageTraining;
|
---|
| 49 | /**
|
---|
| 50 | * @var bool
|
---|
| 51 | */
|
---|
| 52 | public $enableSpellCorrection;
|
---|
| 53 | /**
|
---|
| 54 | * @var bool
|
---|
| 55 | */
|
---|
| 56 | public $enableStackdriverLogging;
|
---|
| 57 | protected $genAppBuilderSettingsType = GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings::class;
|
---|
| 58 | protected $genAppBuilderSettingsDataType = '';
|
---|
| 59 | protected $gitIntegrationSettingsType = GoogleCloudDialogflowCxV3AgentGitIntegrationSettings::class;
|
---|
| 60 | protected $gitIntegrationSettingsDataType = '';
|
---|
| 61 | /**
|
---|
| 62 | * @var bool
|
---|
| 63 | */
|
---|
| 64 | public $locked;
|
---|
| 65 | /**
|
---|
| 66 | * @var string
|
---|
| 67 | */
|
---|
| 68 | public $name;
|
---|
| 69 | protected $personalizationSettingsType = GoogleCloudDialogflowCxV3AgentPersonalizationSettings::class;
|
---|
| 70 | protected $personalizationSettingsDataType = '';
|
---|
| 71 | /**
|
---|
| 72 | * @var string
|
---|
| 73 | */
|
---|
| 74 | public $securitySettings;
|
---|
| 75 | protected $speechToTextSettingsType = GoogleCloudDialogflowCxV3SpeechToTextSettings::class;
|
---|
| 76 | protected $speechToTextSettingsDataType = '';
|
---|
| 77 | /**
|
---|
| 78 | * @var string
|
---|
| 79 | */
|
---|
| 80 | public $startFlow;
|
---|
| 81 | /**
|
---|
| 82 | * @var string[]
|
---|
| 83 | */
|
---|
| 84 | public $supportedLanguageCodes;
|
---|
| 85 | protected $textToSpeechSettingsType = GoogleCloudDialogflowCxV3TextToSpeechSettings::class;
|
---|
| 86 | protected $textToSpeechSettingsDataType = '';
|
---|
| 87 | /**
|
---|
| 88 | * @var string
|
---|
| 89 | */
|
---|
| 90 | public $timeZone;
|
---|
| 91 |
|
---|
| 92 | /**
|
---|
| 93 | * @param GoogleCloudDialogflowCxV3AdvancedSettings
|
---|
| 94 | */
|
---|
| 95 | public function setAdvancedSettings(GoogleCloudDialogflowCxV3AdvancedSettings $advancedSettings)
|
---|
| 96 | {
|
---|
| 97 | $this->advancedSettings = $advancedSettings;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @return GoogleCloudDialogflowCxV3AdvancedSettings
|
---|
| 101 | */
|
---|
| 102 | public function getAdvancedSettings()
|
---|
| 103 | {
|
---|
| 104 | return $this->advancedSettings;
|
---|
| 105 | }
|
---|
| 106 | /**
|
---|
| 107 | * @param GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings
|
---|
| 108 | */
|
---|
| 109 | public function setAnswerFeedbackSettings(GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings $answerFeedbackSettings)
|
---|
| 110 | {
|
---|
| 111 | $this->answerFeedbackSettings = $answerFeedbackSettings;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @return GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings
|
---|
| 115 | */
|
---|
| 116 | public function getAnswerFeedbackSettings()
|
---|
| 117 | {
|
---|
| 118 | return $this->answerFeedbackSettings;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @param string
|
---|
| 122 | */
|
---|
| 123 | public function setAvatarUri($avatarUri)
|
---|
| 124 | {
|
---|
| 125 | $this->avatarUri = $avatarUri;
|
---|
| 126 | }
|
---|
| 127 | /**
|
---|
| 128 | * @return string
|
---|
| 129 | */
|
---|
| 130 | public function getAvatarUri()
|
---|
| 131 | {
|
---|
| 132 | return $this->avatarUri;
|
---|
| 133 | }
|
---|
| 134 | /**
|
---|
| 135 | * @param GoogleCloudDialogflowCxV3AgentClientCertificateSettings
|
---|
| 136 | */
|
---|
| 137 | public function setClientCertificateSettings(GoogleCloudDialogflowCxV3AgentClientCertificateSettings $clientCertificateSettings)
|
---|
| 138 | {
|
---|
| 139 | $this->clientCertificateSettings = $clientCertificateSettings;
|
---|
| 140 | }
|
---|
| 141 | /**
|
---|
| 142 | * @return GoogleCloudDialogflowCxV3AgentClientCertificateSettings
|
---|
| 143 | */
|
---|
| 144 | public function getClientCertificateSettings()
|
---|
| 145 | {
|
---|
| 146 | return $this->clientCertificateSettings;
|
---|
| 147 | }
|
---|
| 148 | /**
|
---|
| 149 | * @param string
|
---|
| 150 | */
|
---|
| 151 | public function setDefaultLanguageCode($defaultLanguageCode)
|
---|
| 152 | {
|
---|
| 153 | $this->defaultLanguageCode = $defaultLanguageCode;
|
---|
| 154 | }
|
---|
| 155 | /**
|
---|
| 156 | * @return string
|
---|
| 157 | */
|
---|
| 158 | public function getDefaultLanguageCode()
|
---|
| 159 | {
|
---|
| 160 | return $this->defaultLanguageCode;
|
---|
| 161 | }
|
---|
| 162 | /**
|
---|
| 163 | * @param string
|
---|
| 164 | */
|
---|
| 165 | public function setDescription($description)
|
---|
| 166 | {
|
---|
| 167 | $this->description = $description;
|
---|
| 168 | }
|
---|
| 169 | /**
|
---|
| 170 | * @return string
|
---|
| 171 | */
|
---|
| 172 | public function getDescription()
|
---|
| 173 | {
|
---|
| 174 | return $this->description;
|
---|
| 175 | }
|
---|
| 176 | /**
|
---|
| 177 | * @param string
|
---|
| 178 | */
|
---|
| 179 | public function setDisplayName($displayName)
|
---|
| 180 | {
|
---|
| 181 | $this->displayName = $displayName;
|
---|
| 182 | }
|
---|
| 183 | /**
|
---|
| 184 | * @return string
|
---|
| 185 | */
|
---|
| 186 | public function getDisplayName()
|
---|
| 187 | {
|
---|
| 188 | return $this->displayName;
|
---|
| 189 | }
|
---|
| 190 | /**
|
---|
| 191 | * @param bool
|
---|
| 192 | */
|
---|
| 193 | public function setEnableMultiLanguageTraining($enableMultiLanguageTraining)
|
---|
| 194 | {
|
---|
| 195 | $this->enableMultiLanguageTraining = $enableMultiLanguageTraining;
|
---|
| 196 | }
|
---|
| 197 | /**
|
---|
| 198 | * @return bool
|
---|
| 199 | */
|
---|
| 200 | public function getEnableMultiLanguageTraining()
|
---|
| 201 | {
|
---|
| 202 | return $this->enableMultiLanguageTraining;
|
---|
| 203 | }
|
---|
| 204 | /**
|
---|
| 205 | * @param bool
|
---|
| 206 | */
|
---|
| 207 | public function setEnableSpellCorrection($enableSpellCorrection)
|
---|
| 208 | {
|
---|
| 209 | $this->enableSpellCorrection = $enableSpellCorrection;
|
---|
| 210 | }
|
---|
| 211 | /**
|
---|
| 212 | * @return bool
|
---|
| 213 | */
|
---|
| 214 | public function getEnableSpellCorrection()
|
---|
| 215 | {
|
---|
| 216 | return $this->enableSpellCorrection;
|
---|
| 217 | }
|
---|
| 218 | /**
|
---|
| 219 | * @param bool
|
---|
| 220 | */
|
---|
| 221 | public function setEnableStackdriverLogging($enableStackdriverLogging)
|
---|
| 222 | {
|
---|
| 223 | $this->enableStackdriverLogging = $enableStackdriverLogging;
|
---|
| 224 | }
|
---|
| 225 | /**
|
---|
| 226 | * @return bool
|
---|
| 227 | */
|
---|
| 228 | public function getEnableStackdriverLogging()
|
---|
| 229 | {
|
---|
| 230 | return $this->enableStackdriverLogging;
|
---|
| 231 | }
|
---|
| 232 | /**
|
---|
| 233 | * @param GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings
|
---|
| 234 | */
|
---|
| 235 | public function setGenAppBuilderSettings(GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings $genAppBuilderSettings)
|
---|
| 236 | {
|
---|
| 237 | $this->genAppBuilderSettings = $genAppBuilderSettings;
|
---|
| 238 | }
|
---|
| 239 | /**
|
---|
| 240 | * @return GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings
|
---|
| 241 | */
|
---|
| 242 | public function getGenAppBuilderSettings()
|
---|
| 243 | {
|
---|
| 244 | return $this->genAppBuilderSettings;
|
---|
| 245 | }
|
---|
| 246 | /**
|
---|
| 247 | * @param GoogleCloudDialogflowCxV3AgentGitIntegrationSettings
|
---|
| 248 | */
|
---|
| 249 | public function setGitIntegrationSettings(GoogleCloudDialogflowCxV3AgentGitIntegrationSettings $gitIntegrationSettings)
|
---|
| 250 | {
|
---|
| 251 | $this->gitIntegrationSettings = $gitIntegrationSettings;
|
---|
| 252 | }
|
---|
| 253 | /**
|
---|
| 254 | * @return GoogleCloudDialogflowCxV3AgentGitIntegrationSettings
|
---|
| 255 | */
|
---|
| 256 | public function getGitIntegrationSettings()
|
---|
| 257 | {
|
---|
| 258 | return $this->gitIntegrationSettings;
|
---|
| 259 | }
|
---|
| 260 | /**
|
---|
| 261 | * @param bool
|
---|
| 262 | */
|
---|
| 263 | public function setLocked($locked)
|
---|
| 264 | {
|
---|
| 265 | $this->locked = $locked;
|
---|
| 266 | }
|
---|
| 267 | /**
|
---|
| 268 | * @return bool
|
---|
| 269 | */
|
---|
| 270 | public function getLocked()
|
---|
| 271 | {
|
---|
| 272 | return $this->locked;
|
---|
| 273 | }
|
---|
| 274 | /**
|
---|
| 275 | * @param string
|
---|
| 276 | */
|
---|
| 277 | public function setName($name)
|
---|
| 278 | {
|
---|
| 279 | $this->name = $name;
|
---|
| 280 | }
|
---|
| 281 | /**
|
---|
| 282 | * @return string
|
---|
| 283 | */
|
---|
| 284 | public function getName()
|
---|
| 285 | {
|
---|
| 286 | return $this->name;
|
---|
| 287 | }
|
---|
| 288 | /**
|
---|
| 289 | * @param GoogleCloudDialogflowCxV3AgentPersonalizationSettings
|
---|
| 290 | */
|
---|
| 291 | public function setPersonalizationSettings(GoogleCloudDialogflowCxV3AgentPersonalizationSettings $personalizationSettings)
|
---|
| 292 | {
|
---|
| 293 | $this->personalizationSettings = $personalizationSettings;
|
---|
| 294 | }
|
---|
| 295 | /**
|
---|
| 296 | * @return GoogleCloudDialogflowCxV3AgentPersonalizationSettings
|
---|
| 297 | */
|
---|
| 298 | public function getPersonalizationSettings()
|
---|
| 299 | {
|
---|
| 300 | return $this->personalizationSettings;
|
---|
| 301 | }
|
---|
| 302 | /**
|
---|
| 303 | * @param string
|
---|
| 304 | */
|
---|
| 305 | public function setSecuritySettings($securitySettings)
|
---|
| 306 | {
|
---|
| 307 | $this->securitySettings = $securitySettings;
|
---|
| 308 | }
|
---|
| 309 | /**
|
---|
| 310 | * @return string
|
---|
| 311 | */
|
---|
| 312 | public function getSecuritySettings()
|
---|
| 313 | {
|
---|
| 314 | return $this->securitySettings;
|
---|
| 315 | }
|
---|
| 316 | /**
|
---|
| 317 | * @param GoogleCloudDialogflowCxV3SpeechToTextSettings
|
---|
| 318 | */
|
---|
| 319 | public function setSpeechToTextSettings(GoogleCloudDialogflowCxV3SpeechToTextSettings $speechToTextSettings)
|
---|
| 320 | {
|
---|
| 321 | $this->speechToTextSettings = $speechToTextSettings;
|
---|
| 322 | }
|
---|
| 323 | /**
|
---|
| 324 | * @return GoogleCloudDialogflowCxV3SpeechToTextSettings
|
---|
| 325 | */
|
---|
| 326 | public function getSpeechToTextSettings()
|
---|
| 327 | {
|
---|
| 328 | return $this->speechToTextSettings;
|
---|
| 329 | }
|
---|
| 330 | /**
|
---|
| 331 | * @param string
|
---|
| 332 | */
|
---|
| 333 | public function setStartFlow($startFlow)
|
---|
| 334 | {
|
---|
| 335 | $this->startFlow = $startFlow;
|
---|
| 336 | }
|
---|
| 337 | /**
|
---|
| 338 | * @return string
|
---|
| 339 | */
|
---|
| 340 | public function getStartFlow()
|
---|
| 341 | {
|
---|
| 342 | return $this->startFlow;
|
---|
| 343 | }
|
---|
| 344 | /**
|
---|
| 345 | * @param string[]
|
---|
| 346 | */
|
---|
| 347 | public function setSupportedLanguageCodes($supportedLanguageCodes)
|
---|
| 348 | {
|
---|
| 349 | $this->supportedLanguageCodes = $supportedLanguageCodes;
|
---|
| 350 | }
|
---|
| 351 | /**
|
---|
| 352 | * @return string[]
|
---|
| 353 | */
|
---|
| 354 | public function getSupportedLanguageCodes()
|
---|
| 355 | {
|
---|
| 356 | return $this->supportedLanguageCodes;
|
---|
| 357 | }
|
---|
| 358 | /**
|
---|
| 359 | * @param GoogleCloudDialogflowCxV3TextToSpeechSettings
|
---|
| 360 | */
|
---|
| 361 | public function setTextToSpeechSettings(GoogleCloudDialogflowCxV3TextToSpeechSettings $textToSpeechSettings)
|
---|
| 362 | {
|
---|
| 363 | $this->textToSpeechSettings = $textToSpeechSettings;
|
---|
| 364 | }
|
---|
| 365 | /**
|
---|
| 366 | * @return GoogleCloudDialogflowCxV3TextToSpeechSettings
|
---|
| 367 | */
|
---|
| 368 | public function getTextToSpeechSettings()
|
---|
| 369 | {
|
---|
| 370 | return $this->textToSpeechSettings;
|
---|
| 371 | }
|
---|
| 372 | /**
|
---|
| 373 | * @param string
|
---|
| 374 | */
|
---|
| 375 | public function setTimeZone($timeZone)
|
---|
| 376 | {
|
---|
| 377 | $this->timeZone = $timeZone;
|
---|
| 378 | }
|
---|
| 379 | /**
|
---|
| 380 | * @return string
|
---|
| 381 | */
|
---|
| 382 | public function getTimeZone()
|
---|
| 383 | {
|
---|
| 384 | return $this->timeZone;
|
---|
| 385 | }
|
---|
| 386 | }
|
---|
| 387 |
|
---|
| 388 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 389 | class_alias(GoogleCloudDialogflowCxV3Agent::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3Agent');
|
---|