lib/google/cloud/dialogflow/v2/agent_services_pb.rb in google-cloud-dialogflow-0.4.0 vs lib/google/cloud/dialogflow/v2/agent_services_pb.rb in google-cloud-dialogflow-0.5.0
- old
+ new
@@ -37,34 +37,38 @@
# and actions.
#
# You can create an agent using both Dialogflow Standard Edition and
# Dialogflow Enterprise Edition. For details, see
# [Dialogflow
- # Editions](https://cloud.google.com/dialogflow-enterprise/docs/editions).
+ # Editions](https://cloud.google.com/dialogflow/docs/editions).
#
# You can save your agent for backup or versioning by exporting the agent by
# using the [ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent] method. You can import a saved
# agent by using the [ImportAgent][google.cloud.dialogflow.v2.Agents.ImportAgent] method.
#
# Dialogflow provides several
# [prebuilt
- # agents](https://cloud.google.com/dialogflow-enterprise/docs/agents-prebuilt)
+ # agents](https://cloud.google.com/dialogflow/docs/agents-prebuilt)
# for common conversation scenarios such as determining a date and time,
# converting currency, and so on.
#
# For more information about agents, see the
# [Dialogflow
- # documentation](https://cloud.google.com/dialogflow-enterprise/docs/agents-overview).
+ # documentation](https://cloud.google.com/dialogflow/docs/agents-overview).
class Service
include GRPC::GenericService
self.marshal_class_method = :encode
self.unmarshal_class_method = :decode
self.service_name = 'google.cloud.dialogflow.v2.Agents'
# Retrieves the specified agent.
rpc :GetAgent, GetAgentRequest, Agent
+ # Creates/updates the specified agent.
+ rpc :SetAgent, SetAgentRequest, Agent
+ # Deletes the specified agent.
+ rpc :DeleteAgent, DeleteAgentRequest, Google::Protobuf::Empty
# Returns the list of agents.
#
# Since there is at most one conversational agent per project, this method is
# useful primarily for listing all agents across projects the caller has
# access to. One can achieve that with a wildcard project collection id "-".