_simpleRequest('/google.cloud.dialogflow.v2.Intents/ListIntents', $argument, ['\Google\Cloud\Dialogflow\V2\ListIntentsResponse', 'decode'], $metadata, $options); } /** * Retrieves the specified intent. * @param \Google\Cloud\Dialogflow\V2\GetIntentRequest $argument input argument * @param array $metadata metadata * @param array $options call options */ public function GetIntent(\Google\Cloud\Dialogflow\V2\GetIntentRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/google.cloud.dialogflow.v2.Intents/GetIntent', $argument, ['\Google\Cloud\Dialogflow\V2\Intent', 'decode'], $metadata, $options); } /** * Creates an intent in the specified agent. * @param \Google\Cloud\Dialogflow\V2\CreateIntentRequest $argument input argument * @param array $metadata metadata * @param array $options call options */ public function CreateIntent(\Google\Cloud\Dialogflow\V2\CreateIntentRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/google.cloud.dialogflow.v2.Intents/CreateIntent', $argument, ['\Google\Cloud\Dialogflow\V2\Intent', 'decode'], $metadata, $options); } /** * Updates the specified intent. * @param \Google\Cloud\Dialogflow\V2\UpdateIntentRequest $argument input argument * @param array $metadata metadata * @param array $options call options */ public function UpdateIntent(\Google\Cloud\Dialogflow\V2\UpdateIntentRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/google.cloud.dialogflow.v2.Intents/UpdateIntent', $argument, ['\Google\Cloud\Dialogflow\V2\Intent', 'decode'], $metadata, $options); } /** * Deletes the specified intent. * @param \Google\Cloud\Dialogflow\V2\DeleteIntentRequest $argument input argument * @param array $metadata metadata * @param array $options call options */ public function DeleteIntent(\Google\Cloud\Dialogflow\V2\DeleteIntentRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/google.cloud.dialogflow.v2.Intents/DeleteIntent', $argument, ['\Google\Protobuf\GPBEmpty', 'decode'], $metadata, $options); } /** * Updates/Creates multiple intents in the specified agent. * * Operation * @param \Google\Cloud\Dialogflow\V2\BatchUpdateIntentsRequest $argument input argument * @param array $metadata metadata * @param array $options call options */ public function BatchUpdateIntents(\Google\Cloud\Dialogflow\V2\BatchUpdateIntentsRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/google.cloud.dialogflow.v2.Intents/BatchUpdateIntents', $argument, ['\Google\LongRunning\Operation', 'decode'], $metadata, $options); } /** * Deletes intents in the specified agent. * * Operation * @param \Google\Cloud\Dialogflow\V2\BatchDeleteIntentsRequest $argument input argument * @param array $metadata metadata * @param array $options call options */ public function BatchDeleteIntents(\Google\Cloud\Dialogflow\V2\BatchDeleteIntentsRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/google.cloud.dialogflow.v2.Intents/BatchDeleteIntents', $argument, ['\Google\LongRunning\Operation', 'decode'], $metadata, $options); } }