lib/google/cloud/dialogflow/v2/agent_services_pb.rb in google-cloud-dialogflow-v2-0.9.0 vs lib/google/cloud/dialogflow/v2/agent_services_pb.rb in google-cloud-dialogflow-v2-0.10.0
- old
+ new
@@ -34,10 +34,14 @@
self.service_name = 'google.cloud.dialogflow.v2.Agents'
# Retrieves the specified agent.
rpc :GetAgent, ::Google::Cloud::Dialogflow::V2::GetAgentRequest, ::Google::Cloud::Dialogflow::V2::Agent
# Creates/updates the specified agent.
+ #
+ # Note: You should always train an agent prior to sending it queries. See the
+ # [training
+ # documentation](https://cloud.google.com/dialogflow/es/docs/training).
rpc :SetAgent, ::Google::Cloud::Dialogflow::V2::SetAgentRequest, ::Google::Cloud::Dialogflow::V2::Agent
# Deletes the specified agent.
rpc :DeleteAgent, ::Google::Cloud::Dialogflow::V2::DeleteAgentRequest, ::Google::Protobuf::Empty
# Returns the list of agents.
#
@@ -47,15 +51,16 @@
# Refer to [List
# Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).
rpc :SearchAgents, ::Google::Cloud::Dialogflow::V2::SearchAgentsRequest, ::Google::Cloud::Dialogflow::V2::SearchAgentsResponse
# Trains the specified agent.
#
- # Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
+ #
+ # Note: You should always train an agent prior to sending it queries. See the
+ # [training
+ # documentation](https://cloud.google.com/dialogflow/es/docs/training).
rpc :TrainAgent, ::Google::Cloud::Dialogflow::V2::TrainAgentRequest, ::Google::Longrunning::Operation
# Exports the specified agent to a ZIP file.
- #
- # Operation <response: [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]>
rpc :ExportAgent, ::Google::Cloud::Dialogflow::V2::ExportAgentRequest, ::Google::Longrunning::Operation
# Imports the specified agent from a ZIP file.
#
# Uploads new intents and entity types without deleting the existing ones.
# Intents and entity types with the same name are replaced with the new
@@ -63,25 +68,31 @@
# agent will be trained automatically (unless disabled in agent settings).
# However, once the import is done, training may not be completed yet. Please
# call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it returns in order to train
# explicitly.
#
- # Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
# An operation which tracks when importing is complete. It only tracks
# when the draft agent is updated not when it is done training.
+ #
+ # Note: You should always train an agent prior to sending it queries. See the
+ # [training
+ # documentation](https://cloud.google.com/dialogflow/es/docs/training).
rpc :ImportAgent, ::Google::Cloud::Dialogflow::V2::ImportAgentRequest, ::Google::Longrunning::Operation
# Restores the specified agent from a ZIP file.
#
# Replaces the current agent version with a new one. All the intents and
# entity types in the older version are deleted. After the restore, the
# restored draft agent will be trained automatically (unless disabled in
# agent settings). However, once the restore is done, training may not be
# completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
# returns in order to train explicitly.
#
- # Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
# An operation which tracks when restoring is complete. It only tracks
# when the draft agent is updated not when it is done training.
+ #
+ # Note: You should always train an agent prior to sending it queries. See the
+ # [training
+ # documentation](https://cloud.google.com/dialogflow/es/docs/training).
rpc :RestoreAgent, ::Google::Cloud::Dialogflow::V2::RestoreAgentRequest, ::Google::Longrunning::Operation
# Gets agent validation result. Agent validation is performed during
# training time and is updated automatically when training is completed.
rpc :GetValidationResult, ::Google::Cloud::Dialogflow::V2::GetValidationResultRequest, ::Google::Cloud::Dialogflow::V2::ValidationResult
end