Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
docs: added notes to train agent prior to sending queries (#601)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/4608b25f-ef7f-4e94-8853-b270d97453b2/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

PiperOrigin-RevId: 380595849
Source-Link: googleapis/googleapis@5fe3c63

fix: added resource reference to agent_version
  • Loading branch information
yoshi-automation committed Jul 5, 2021
1 parent 6e43ac4 commit 5692ace
Show file tree
Hide file tree
Showing 16 changed files with 667 additions and 309 deletions.
Expand Up @@ -278,6 +278,9 @@ public final UnaryCallable<GetAgentRequest, Agent> getAgentCallable() {
/**
* Creates/updates the specified agent.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -299,6 +302,9 @@ public final Agent setAgent(Agent agent) {
/**
* Creates/updates the specified agent.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -323,6 +329,9 @@ public final Agent setAgent(SetAgentRequest request) {
/**
* Creates/updates the specified agent.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
* <pre>{@code
Expand Down Expand Up @@ -658,7 +667,8 @@ public final UnaryCallable<SearchAgentsRequest, SearchAgentsResponse> searchAgen
/**
* Trains the specified agent.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt;
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand All @@ -683,7 +693,8 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(LocationName parent)
/**
* Trains the specified agent.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt;
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand All @@ -708,7 +719,8 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(ProjectName parent)
/**
* Trains the specified agent.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt;
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand All @@ -732,7 +744,8 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(String parent) {
/**
* Trains the specified agent.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt;
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand All @@ -757,7 +770,8 @@ public final OperationFuture<Empty, Struct> trainAgentAsync(TrainAgentRequest re
/**
* Trains the specified agent.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt;
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand All @@ -782,7 +796,8 @@ public final OperationCallable<TrainAgentRequest, Empty, Struct> trainAgentOpera
/**
* Trains the specified agent.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt;
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand All @@ -806,9 +821,6 @@ public final UnaryCallable<TrainAgentRequest, Operation> trainAgentCallable() {
/**
* Exports the specified agent to a ZIP file.
*
* <p>Operation &lt;response:
* [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]&gt;
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -834,9 +846,6 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(Locat
/**
* Exports the specified agent to a ZIP file.
*
* <p>Operation &lt;response:
* [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]&gt;
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -862,9 +871,6 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(Proje
/**
* Exports the specified agent to a ZIP file.
*
* <p>Operation &lt;response:
* [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]&gt;
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -887,9 +893,6 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(Strin
/**
* Exports the specified agent to a ZIP file.
*
* <p>Operation &lt;response:
* [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]&gt;
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -915,9 +918,6 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(
/**
* Exports the specified agent to a ZIP file.
*
* <p>Operation &lt;response:
* [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]&gt;
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -943,9 +943,6 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(
/**
* Exports the specified agent to a ZIP file.
*
* <p>Operation &lt;response:
* [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]&gt;
*
* <p>Sample code:
*
* <pre>{@code
Expand Down Expand Up @@ -977,9 +974,11 @@ public final UnaryCallable<ExportAgentRequest, Operation> exportAgentCallable()
* [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
* returns in order to train explicitly.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt; An operation
* which tracks when importing is complete. It only tracks when the draft agent is updated not
* when it is done training.
* <p>An operation which tracks when importing is complete. It only tracks when the draft agent is
* updated not when it is done training.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1012,9 +1011,11 @@ public final OperationFuture<Empty, Struct> importAgentAsync(ImportAgentRequest
* [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
* returns in order to train explicitly.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt; An operation
* which tracks when importing is complete. It only tracks when the draft agent is updated not
* when it is done training.
* <p>An operation which tracks when importing is complete. It only tracks when the draft agent is
* updated not when it is done training.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1047,9 +1048,11 @@ public final OperationCallable<ImportAgentRequest, Empty, Struct> importAgentOpe
* [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
* returns in order to train explicitly.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt; An operation
* which tracks when importing is complete. It only tracks when the draft agent is updated not
* when it is done training.
* <p>An operation which tracks when importing is complete. It only tracks when the draft agent is
* updated not when it is done training.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1080,9 +1083,11 @@ public final UnaryCallable<ImportAgentRequest, Operation> importAgentCallable()
* [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
* returns in order to train explicitly.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt; An operation
* which tracks when restoring is complete. It only tracks when the draft agent is updated not
* when it is done training.
* <p>An operation which tracks when restoring is complete. It only tracks when the draft agent is
* updated not when it is done training.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1114,9 +1119,11 @@ public final OperationFuture<Empty, Struct> restoreAgentAsync(RestoreAgentReques
* [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
* returns in order to train explicitly.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt; An operation
* which tracks when restoring is complete. It only tracks when the draft agent is updated not
* when it is done training.
* <p>An operation which tracks when restoring is complete. It only tracks when the draft agent is
* updated not when it is done training.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1149,9 +1156,11 @@ public final OperationFuture<Empty, Struct> restoreAgentAsync(RestoreAgentReques
* [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it
* returns in order to train explicitly.
*
* <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt; An operation
* which tracks when restoring is complete. It only tracks when the draft agent is updated not
* when it is done training.
* <p>An operation which tracks when restoring is complete. It only tracks when the draft agent is
* updated not when it is done training.
*
* <p>Note: You should always train an agent prior to sending it queries. See the [training
* documentation](https://cloud.google.com/dialogflow/es/docs/training).
*
* <p>Sample code:
*
Expand Down

0 comments on commit 5692ace

Please sign in to comment.