_simpleRequest('/google.cloud.dialogflow.v2.Sessions/DetectIntent', $argument, ['\Google\Cloud\Dialogflow\V2\DetectIntentResponse', 'decode'], $metadata, $options); } /** * Processes a natural language query in audio format in a streaming fashion * and returns structured, actionable data as a result. This method is only * available via the gRPC API (not REST). * @param array $metadata metadata * @param array $options call options */ public function StreamingDetectIntent($metadata = [], $options = []) { return $this->_bidiRequest('/google.cloud.dialogflow.v2.Sessions/StreamingDetectIntent', ['\Google\Cloud\Dialogflow\V2\StreamingDetectIntentResponse','decode'], $metadata, $options); } }