ok
Direktori : /home2/selectio/public_html/fms-worksuite/vendor/google/apiclient-services/src/ |
Current File : /home2/selectio/public_html/fms-worksuite/vendor/google/apiclient-services/src/Dialogflow.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; use Google\Client; /** * Service definition for Dialogflow (v3). * * <p> * Builds conversational interfaces (for example, chatbots, and voice-powered * apps and devices).</p> * * <p> * For more information about this service, see the API * <a href="https://cloud.google.com/dialogflow/" target="_blank">Documentation</a> * </p> * * @author Google, Inc. */ class Dialogflow extends \Google\Service { /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; /** View, manage and query your Dialogflow agents. */ const DIALOGFLOW = "https://www.googleapis.com/auth/dialogflow"; public $projects_locations; public $projects_locations_agents; public $projects_locations_agents_changelogs; public $projects_locations_agents_entityTypes; public $projects_locations_agents_environments; public $projects_locations_agents_environments_continuousTestResults; public $projects_locations_agents_environments_deployments; public $projects_locations_agents_environments_experiments; public $projects_locations_agents_environments_sessions; public $projects_locations_agents_environments_sessions_entityTypes; public $projects_locations_agents_flows; public $projects_locations_agents_flows_pages; public $projects_locations_agents_flows_transitionRouteGroups; public $projects_locations_agents_flows_versions; public $projects_locations_agents_intents; public $projects_locations_agents_sessions; public $projects_locations_agents_sessions_entityTypes; public $projects_locations_agents_testCases; public $projects_locations_agents_testCases_results; public $projects_locations_agents_webhooks; public $projects_locations_operations; public $projects_locations_securitySettings; public $projects_operations; /** * Constructs the internal representation of the Dialogflow service. * * @param Client|array $clientOrConfig The client used to deliver requests, or a * config array to pass to a new Client instance. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct($clientOrConfig = [], $rootUrl = null) { parent::__construct($clientOrConfig); $this->rootUrl = $rootUrl ?: 'https://dialogflow.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v3'; $this->serviceName = 'dialogflow'; $this->projects_locations = new Dialogflow\Resource\ProjectsLocations( $this, $this->serviceName, 'locations', [ 'methods' => [ 'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+name}/locations', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'filter' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_locations_agents = new Dialogflow\Resource\ProjectsLocationsAgents( $this, $this->serviceName, 'agents', [ 'methods' => [ 'create' => [ 'path' => 'v3/{+parent}/agents', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'export' => [ 'path' => 'v3/{+name}:export', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'getValidationResult' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], ], ],'list' => [ 'path' => 'v3/{+parent}/agents', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ],'restore' => [ 'path' => 'v3/{+name}:restore', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'validate' => [ 'path' => 'v3/{+name}:validate', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ], ] ] ); $this->projects_locations_agents_changelogs = new Dialogflow\Resource\ProjectsLocationsAgentsChangelogs( $this, $this->serviceName, 'changelogs', [ 'methods' => [ 'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+parent}/changelogs', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'filter' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_locations_agents_entityTypes = new Dialogflow\Resource\ProjectsLocationsAgentsEntityTypes( $this, $this->serviceName, 'entityTypes', [ 'methods' => [ 'create' => [ 'path' => 'v3/{+parent}/entityTypes', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], ], ],'delete' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'force' => [ 'location' => 'query', 'type' => 'boolean', ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], ], ],'list' => [ 'path' => 'v3/{+parent}/entityTypes', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_locations_agents_environments = new Dialogflow\Resource\ProjectsLocationsAgentsEnvironments( $this, $this->serviceName, 'environments', [ 'methods' => [ 'create' => [ 'path' => 'v3/{+parent}/environments', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'deployFlow' => [ 'path' => 'v3/{+environment}:deployFlow', 'httpMethod' => 'POST', 'parameters' => [ 'environment' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+parent}/environments', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'lookupEnvironmentHistory' => [ 'path' => 'v3/{+name}:lookupEnvironmentHistory', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ],'runContinuousTest' => [ 'path' => 'v3/{+environment}:runContinuousTest', 'httpMethod' => 'POST', 'parameters' => [ 'environment' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ], ] ] ); $this->projects_locations_agents_environments_continuousTestResults = new Dialogflow\Resource\ProjectsLocationsAgentsEnvironmentsContinuousTestResults( $this, $this->serviceName, 'continuousTestResults', [ 'methods' => [ 'list' => [ 'path' => 'v3/{+parent}/continuousTestResults', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_locations_agents_environments_deployments = new Dialogflow\Resource\ProjectsLocationsAgentsEnvironmentsDeployments( $this, $this->serviceName, 'deployments', [ 'methods' => [ 'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+parent}/deployments', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_locations_agents_environments_experiments = new Dialogflow\Resource\ProjectsLocationsAgentsEnvironmentsExperiments( $this, $this->serviceName, 'experiments', [ 'methods' => [ 'create' => [ 'path' => 'v3/{+parent}/experiments', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+parent}/experiments', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ],'start' => [ 'path' => 'v3/{+name}:start', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'stop' => [ 'path' => 'v3/{+name}:stop', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ], ] ] ); $this->projects_locations_agents_environments_sessions = new Dialogflow\Resource\ProjectsLocationsAgentsEnvironmentsSessions( $this, $this->serviceName, 'sessions', [ 'methods' => [ 'detectIntent' => [ 'path' => 'v3/{+session}:detectIntent', 'httpMethod' => 'POST', 'parameters' => [ 'session' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'fulfillIntent' => [ 'path' => 'v3/{+session}:fulfillIntent', 'httpMethod' => 'POST', 'parameters' => [ 'session' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'matchIntent' => [ 'path' => 'v3/{+session}:matchIntent', 'httpMethod' => 'POST', 'parameters' => [ 'session' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ], ] ] ); $this->projects_locations_agents_environments_sessions_entityTypes = new Dialogflow\Resource\ProjectsLocationsAgentsEnvironmentsSessionsEntityTypes( $this, $this->serviceName, 'entityTypes', [ 'methods' => [ 'create' => [ 'path' => 'v3/{+parent}/entityTypes', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+parent}/entityTypes', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_locations_agents_flows = new Dialogflow\Resource\ProjectsLocationsAgentsFlows( $this, $this->serviceName, 'flows', [ 'methods' => [ 'create' => [ 'path' => 'v3/{+parent}/flows', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], ], ],'delete' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'force' => [ 'location' => 'query', 'type' => 'boolean', ], ], ],'export' => [ 'path' => 'v3/{+name}:export', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], ], ],'getValidationResult' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], ], ],'import' => [ 'path' => 'v3/{+parent}/flows:import', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+parent}/flows', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ],'train' => [ 'path' => 'v3/{+name}:train', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'validate' => [ 'path' => 'v3/{+name}:validate', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ], ] ] ); $this->projects_locations_agents_flows_pages = new Dialogflow\Resource\ProjectsLocationsAgentsFlowsPages( $this, $this->serviceName, 'pages', [ 'methods' => [ 'create' => [ 'path' => 'v3/{+parent}/pages', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], ], ],'delete' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'force' => [ 'location' => 'query', 'type' => 'boolean', ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], ], ],'list' => [ 'path' => 'v3/{+parent}/pages', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_locations_agents_flows_transitionRouteGroups = new Dialogflow\Resource\ProjectsLocationsAgentsFlowsTransitionRouteGroups( $this, $this->serviceName, 'transitionRouteGroups', [ 'methods' => [ 'create' => [ 'path' => 'v3/{+parent}/transitionRouteGroups', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], ], ],'delete' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'force' => [ 'location' => 'query', 'type' => 'boolean', ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], ], ],'list' => [ 'path' => 'v3/{+parent}/transitionRouteGroups', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_locations_agents_flows_versions = new Dialogflow\Resource\ProjectsLocationsAgentsFlowsVersions( $this, $this->serviceName, 'versions', [ 'methods' => [ 'compareVersions' => [ 'path' => 'v3/{+baseVersion}:compareVersions', 'httpMethod' => 'POST', 'parameters' => [ 'baseVersion' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'create' => [ 'path' => 'v3/{+parent}/versions', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+parent}/versions', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'load' => [ 'path' => 'v3/{+name}:load', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'patch' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_locations_agents_intents = new Dialogflow\Resource\ProjectsLocationsAgentsIntents( $this, $this->serviceName, 'intents', [ 'methods' => [ 'create' => [ 'path' => 'v3/{+parent}/intents', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], ], ],'delete' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], ], ],'list' => [ 'path' => 'v3/{+parent}/intents', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'intentView' => [ 'location' => 'query', 'type' => 'string', ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'languageCode' => [ 'location' => 'query', 'type' => 'string', ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_locations_agents_sessions = new Dialogflow\Resource\ProjectsLocationsAgentsSessions( $this, $this->serviceName, 'sessions', [ 'methods' => [ 'detectIntent' => [ 'path' => 'v3/{+session}:detectIntent', 'httpMethod' => 'POST', 'parameters' => [ 'session' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'fulfillIntent' => [ 'path' => 'v3/{+session}:fulfillIntent', 'httpMethod' => 'POST', 'parameters' => [ 'session' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'matchIntent' => [ 'path' => 'v3/{+session}:matchIntent', 'httpMethod' => 'POST', 'parameters' => [ 'session' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ], ] ] ); $this->projects_locations_agents_sessions_entityTypes = new Dialogflow\Resource\ProjectsLocationsAgentsSessionsEntityTypes( $this, $this->serviceName, 'entityTypes', [ 'methods' => [ 'create' => [ 'path' => 'v3/{+parent}/entityTypes', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+parent}/entityTypes', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_locations_agents_testCases = new Dialogflow\Resource\ProjectsLocationsAgentsTestCases( $this, $this->serviceName, 'testCases', [ 'methods' => [ 'batchDelete' => [ 'path' => 'v3/{+parent}/testCases:batchDelete', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'batchRun' => [ 'path' => 'v3/{+parent}/testCases:batchRun', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'calculateCoverage' => [ 'path' => 'v3/{+agent}/testCases:calculateCoverage', 'httpMethod' => 'GET', 'parameters' => [ 'agent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'type' => [ 'location' => 'query', 'type' => 'string', ], ], ],'create' => [ 'path' => 'v3/{+parent}/testCases', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'export' => [ 'path' => 'v3/{+parent}/testCases:export', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'import' => [ 'path' => 'v3/{+parent}/testCases:import', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+parent}/testCases', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], 'view' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ],'run' => [ 'path' => 'v3/{+name}:run', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ], ] ] ); $this->projects_locations_agents_testCases_results = new Dialogflow\Resource\ProjectsLocationsAgentsTestCasesResults( $this, $this->serviceName, 'results', [ 'methods' => [ 'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+parent}/results', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'filter' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_locations_agents_webhooks = new Dialogflow\Resource\ProjectsLocationsAgentsWebhooks( $this, $this->serviceName, 'webhooks', [ 'methods' => [ 'create' => [ 'path' => 'v3/{+parent}/webhooks', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'force' => [ 'location' => 'query', 'type' => 'boolean', ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+parent}/webhooks', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_locations_operations = new Dialogflow\Resource\ProjectsLocationsOperations( $this, $this->serviceName, 'operations', [ 'methods' => [ 'cancel' => [ 'path' => 'v3/{+name}:cancel', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+name}/operations', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'filter' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_locations_securitySettings = new Dialogflow\Resource\ProjectsLocationsSecuritySettings( $this, $this->serviceName, 'securitySettings', [ 'methods' => [ 'create' => [ 'path' => 'v3/{+parent}/securitySettings', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+parent}/securitySettings', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_operations = new Dialogflow\Resource\ProjectsOperations( $this, $this->serviceName, 'operations', [ 'methods' => [ 'cancel' => [ 'path' => 'v3/{+name}:cancel', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v3/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v3/{+name}/operations', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'filter' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Dialogflow::class, 'Google_Service_Dialogflow');