lib/google/cloud/dialogflow/v2/intent_services_pb.rb in google-cloud-dialogflow-0.2.3 vs lib/google/cloud/dialogflow/v2/intent_services_pb.rb in google-cloud-dialogflow-0.3.0
- old
+ new
@@ -1,9 +1,9 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# Source: google/cloud/dialogflow/v2/intent.proto for package 'google.cloud.dialogflow.v2'
# Original file comments:
-# Copyright 2018 Google Inc.
+# Copyright 2019 Google LLC.
#
# 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
#
@@ -13,10 +13,11 @@
# 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.
#
+#
require 'grpc'
require 'google/cloud/dialogflow/v2/intent_pb'
@@ -37,11 +38,11 @@
# match user input to an intent by adding the following to your intent.
#
# * **Contexts** - provide additional context for intent analysis. For
# example, if an intent is related to an object in your application that
# plays music, you can provide a context to determine when to match the
- # intent if the user input is “turn it off”. You can include a context
+ # intent if the user input is "turn it off". You can include a context
# that matches the intent when there is previous user input of
# "play music", and not when there is previous user input of
# "turn on the light".
#
# * **Events** - allow for matching an intent by using an event name
@@ -53,11 +54,12 @@
#
# * **Training phrases** - provide examples of user input to train the
# Dialogflow API agent to better match intents.
#
# For more information about intents, see the
- # [Dialogflow documentation](https://dialogflow.com/docs/intents).
+ # [Dialogflow
+ # documentation](https://cloud.google.com/dialogflow-enterprise/docs/intents-overview).
class Service
include GRPC::GenericService
self.marshal_class_method = :encode
@@ -70,10 +72,10 @@
rpc :GetIntent, GetIntentRequest, Intent
# Creates an intent in the specified agent.
rpc :CreateIntent, CreateIntentRequest, Intent
# Updates the specified intent.
rpc :UpdateIntent, UpdateIntentRequest, Intent
- # Deletes the specified intent.
+ # Deletes the specified intent and its direct or indirect followup intents.
rpc :DeleteIntent, DeleteIntentRequest, Google::Protobuf::Empty
# Updates/Creates multiple intents in the specified agent.
#
# Operation <response: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]>
rpc :BatchUpdateIntents, BatchUpdateIntentsRequest, Google::Longrunning::Operation