public ActionResponse
Defines requirements of an object that represents a response from the Actions webhook.
Modifier and Type | Method and Description |
---|---|
com.google.api.services.actions_fulfillment.v2.model.AppResponse |
getAppResponse()
The binding class (POJO) that represents an Actions on Google response.
|
java.lang.Boolean |
getExpectUserResponse()
Whether a user response is expected.
|
com.google.api.services.actions_fulfillment.v2.model.ExpectedIntent |
getHelperIntent()
Helper intents tell the Assistant to momentarily take over the conversation
to obtain common data such as a user's full name, a date and time, or a
delivery address. When you request a helper, the Assistant presents a
standard, consistent UI to users to obtain this information, so you don't
have to design your own.
|
com.google.api.services.actions_fulfillment.v2.model.RichResponse |
getRichResponse()
A rich response that can include audio, text, cards, suggestions and
structured data.
|
com.google.api.services.dialogflow_fulfillment.v2.model.WebhookResponse |
getWebhookResponse()
Binding class (POJO) that represents a Dialogflow response. This is set
only if the request is routed through Dialogflow.
|
java.lang.String |
toJson()
Returns the JSON representation of the response.
|
java.lang.Boolean getExpectUserResponse()
Whether a user response is expected.
com.google.api.services.dialogflow_fulfillment.v2.model.WebhookResponse getWebhookResponse()
Binding class (POJO) that represents a Dialogflow response. This is set only if the request is routed through Dialogflow.
com.google.api.services.actions_fulfillment.v2.model.AppResponse getAppResponse()
The binding class (POJO) that represents an Actions on Google response.
com.google.api.services.actions_fulfillment.v2.model.RichResponse getRichResponse()
A rich response that can include audio, text, cards, suggestions and structured data.
com.google.api.services.actions_fulfillment.v2.model.ExpectedIntent getHelperIntent()
Helper intents tell the Assistant to momentarily take over the conversation to obtain common data such as a user's full name, a date and time, or a delivery address. When you request a helper, the Assistant presents a standard, consistent UI to users to obtain this information, so you don't have to design your own.
java.lang.String toJson()
Returns the JSON representation of the response.