Dialogflow weekly v2/v2beta1 library update:

- Update comments on Contexts and Sessions resources.

PiperOrigin-RevId: 305919798
This commit is contained in:
Google APIs 2020-04-10 12:09:05 -07:00 committed by Copybara-Service
parent 1df336ab4a
commit 1e92c34379
4 changed files with 41 additions and 42 deletions

View File

@ -328,8 +328,6 @@ message DeleteAgentRequest {
];
}
// ============================================================================
// Requests and responses for custom methods.
// The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents].
message SearchAgentsRequest {
// Required. The project to list agents from.

View File

@ -172,7 +172,7 @@ message Context {
// - MapKey value: parameter name
// - MapValue type:
// - If parameter's entity type is a composite entity: map
// - Else: string
// - Else: string or number, depending on parameter value type
// - MapValue value:
// - If parameter's entity type is a composite entity:
// map from composite entity property names to property values

View File

@ -24,46 +24,20 @@ documentation:
Builds conversational interfaces (for example, chatbots, and voice-powered
apps and devices).
overview: |-
[Dialogflow](http://dialogflow.com/) is a natural language
understanding platform that makes it easy for you to design and integrate
a conversational user interface into your mobile app, web application,
device, bot, and so on. Using Dialogflow you can provide users new and
engaging ways to interact with your product using both voice recognition
and text input.
<!-- mdformat off(presubmit failing, mdformat is as well) --> Dialogflow is
a natural language understanding platform that makes it easy
to design and integrate a conversational user interface into your mobile
app, web application, device, bot, interactive voice response system, and
so on. Using Dialogflow, you can provide new and engaging ways for
users to interact with your product.
For information on how Dialogflow agents, intents, entities, and so on
work, see the [Dialogflow getting
started
guide](https://dialogflow.com/docs/getting-started/basics) in the
dialogflow.com documentation.
Dialogflow can analyze multiple types of input from your customers,
including text or audio inputs (like from a phone or voice recording).
It can also respond to your customers in a couple of ways, either through
text or with synthetic speech.
## Dialogflow Editions
Dialogflow is available in two editions: Standard and Enterprise. For
information on the difference in Dialogflow editions, see [Dialogflow
Editions](https://cloud.google.com/dialogflow-enterprise/docs/editions).
## The Dialogflow API
The Dialogflow API provides a REST and gRPC API that you can use to
incorporate the Dialogflow into your product. After you have created a
Google Cloud project and a Dialogflow agent, you can use the API to create
intents, entities, and so on, and then pass user input to your Dialogflow
agent to determine user intent using
the
[detectIntent](https://cloud.google.com/dialogflow-enterprise/docs/reference/rest/v2beta1/projects.agent.sessions/detectIntent) REST
API, or the
[StreamingDetectIntentRequest](https://cloud.google.com/dialogflow-enterprise/docs/reference/rpc/google.cloud.dialogflow.v2beta1#google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest) gRPC
API.
## Getting Started
* For information on setting up a Google Cloud Platform project and
creating an agent using the Dialogflow Enterprise Edition, see
[Quickstart](https://cloud.google.com/dialogflow-enterprise/docs/quickstart). *
For information on creating an agent using the Dialogflow Standard
Edition, see [Building Your First
Agent](https://dialogflow.com/docs/getting-started/building-your-first-agent)
For more information, see the
[Dialogflow documentation](https://cloud.google.com/dialogflow/docs).
backend:
rules:

View File

@ -76,7 +76,6 @@ service Sessions {
}
}
// Requests and responses for custom methods.
// The request to detect user's intent.
message DetectIntentRequest {
// Required. The name of the session this query is sent to. Format:
@ -244,6 +243,20 @@ message QueryResult {
string action = 3;
// The collection of extracted parameters.
//
// Depending on your protocol or client library language, this is a
// map, associative array, symbol table, dictionary, or JSON object
// composed of a collection of (MapKey, MapValue) pairs:
//
// - MapKey type: string
// - MapKey value: parameter name
// - MapValue type:
// - If parameter's entity type is a composite entity: map
// - Else: string or number, depending on parameter value type
// - MapValue value:
// - If parameter's entity type is a composite entity:
// map from composite entity property names to property values
// - Else: parameter value
google.protobuf.Struct parameters = 4;
// This field is set to:
@ -539,6 +552,20 @@ message EventInput {
string name = 1 [(google.api.field_behavior) = REQUIRED];
// The collection of parameters associated with the event.
//
// Depending on your protocol or client library language, this is a
// map, associative array, symbol table, dictionary, or JSON object
// composed of a collection of (MapKey, MapValue) pairs:
//
// - MapKey type: string
// - MapKey value: parameter name
// - MapValue type:
// - If parameter's entity type is a composite entity: map
// - Else: string or number, depending on parameter value type
// - MapValue value:
// - If parameter's entity type is a composite entity:
// map from composite entity property names to property values
// - Else: parameter value
google.protobuf.Struct parameters = 2;
// Required. The language of this query. See [Language