- ActionContext - Class in com.google.actions.api
-
ActionContext represent the current context of a user's request.
See
ActionContext
- ActionContext(name, lifespan) - Constructor for class com.google.actions.api.ActionContext
-
ActionContext represent the current context of a user's request.
See
ActionContext
- ActionRequest - Interface in com.google.actions.api
-
Defines requirements of an object that represents a request to the Actions
webhook.
- ActionResponse - Interface in com.google.actions.api
-
Defines requirements of an object that represents a response from the Actions
webhook.
- ActionsSdkApp - Class in com.google.actions.api
-
Implementation of App for ActionsSDK based webhook. Developers must extend
this class if they are using the ActionsSDK (as against Dialogflow) to handle
requests.
- ActionsSdkApp() - Constructor for class com.google.actions.api.ActionsSdkApp
-
Implementation of App for ActionsSDK based webhook. Developers must extend
this class if they are using the ActionsSDK (as against Dialogflow) to handle
requests.
- add(text) - Method in class com.google.actions.api.response.ResponseBuilder
-
Adds the specified text to the response. This is a short-cut to creating a
SimpleResponse
with the specified text as the display text and the text to speech.
- add(simpleResponse) - Method in class com.google.actions.api.response.ResponseBuilder
-
- add(basicCard) - Method in class com.google.actions.api.response.ResponseBuilder
-
- add(structuredResponse) - Method in class com.google.actions.api.response.ResponseBuilder
-
- add(mediaResponse) - Method in class com.google.actions.api.response.ResponseBuilder
-
- add(carousel) - Method in class com.google.actions.api.response.ResponseBuilder
-
- add(tableCard) - Method in class com.google.actions.api.response.ResponseBuilder
-
- add(richResponse) - Method in class com.google.actions.api.response.ResponseBuilder
-
- add(suggestion) - Method in class com.google.actions.api.response.ResponseBuilder
-
Adds a
Suggestion
to the response. A suggestion chip allows the user to tap to quickly
post a reply to the conversation.
- add(image) - Method in class com.google.actions.api.response.ResponseBuilder
-
Adds an
Image
to the response. This is a short-cut to creating a basic card with just the
image.
- add(helperIntent) - Method in class com.google.actions.api.response.ResponseBuilder
-
Adds a HelperIntent to the response.
- add(linkOutSuggestion) - Method in class com.google.actions.api.response.ResponseBuilder
-
Adds a
LinkOutSuggestion
to the response. A LinkOutSuggestion creates a suggestion chip that allows
the user to jump out to the App or Website associated with this agent.
- add(context) - Method in class com.google.actions.api.response.ResponseBuilder
-
Helper method to add an ActionContext to the response. Contexts are supported only on
Dialogflow.
- addAll(suggestions) - Method in class com.google.actions.api.response.ResponseBuilder
-
Helper method to add multiple suggestions to the response.
- addSuggestions(suggestions) - Method in class com.google.actions.api.response.ResponseBuilder
-
Helper method to add multiple suggestions to the response.
- App - Interface in com.google.actions.api
-
Top level interface for the Actions webhook. Sub-classes must
implement the JSON based protocol for the Actions on Google Conversational
API as described
here.
- ARG_CONFIRMATION - Static variable in class com.google.actions.api.ConstantsKt
-
Name of the argument to get the confirmation response from user.
- ARG_DATETIME - Static variable in class com.google.actions.api.ConstantsKt
-
Name of argument to get the datetime value selected by the user.
- ARG_IS_FINAL_REPROMPT - Static variable in class com.google.actions.api.ConstantsKt
-
Name of argument to get whether it is the final reprompt
- ARG_MEDIA_STATUS - Static variable in class com.google.actions.api.ConstantsKt
-
Name of argument to get media status
- ARG_OPTION - Static variable in class com.google.actions.api.ConstantsKt
-
Name of argument to get the user selected option (eg: from a List).
- ARG_PERMISSION - Static variable in class com.google.actions.api.ConstantsKt
-
Name of the argument to get the permission response from the user.
- ARG_PLACE - Static variable in class com.google.actions.api.ConstantsKt
-
Name of the argument to get the place / location response from the user.
- ARG_REGISTER_UPDATE - Static variable in class com.google.actions.api.ConstantsKt
-
Name of the argument to get register for update status.
- ARG_REPROMPT_COUNT - Static variable in class com.google.actions.api.ConstantsKt
-
Name of argument to get the reprompt count
- ARG_SIGN_IN - Static variable in class com.google.actions.api.ConstantsKt
-
Name of the argument to get the sign in status
- ARG_UPDATES_USER_ID - Static variable in class com.google.actions.api.ConstantsKt
-
Argument key for the ID of the user granting permission for updates
- getAppRequest() - Method in interface com.google.actions.api.ActionRequest
-
The binding class (POJO) that represents an Actions on Google request.
- getAppResponse() - Method in interface com.google.actions.api.ActionResponse
-
The binding class (POJO) that represents an Actions on Google response.
- getArgument(name) - Method in interface com.google.actions.api.ActionRequest
-
- getAvailableSurfaces() - Method in interface com.google.actions.api.ActionRequest
-
- getContext(name) - Method in interface com.google.actions.api.ActionRequest
-
- getContexts() - Method in interface com.google.actions.api.ActionRequest
-
- getConversationData() - Method in interface com.google.actions.api.ActionRequest
-
Key-value pair data that is persisted across turns in the same
conversation session.
- getConversationData() - Method in class com.google.actions.api.response.ResponseBuilder
-
- getDateTime() - Method in interface com.google.actions.api.ActionRequest
-
- getDevice() - Method in interface com.google.actions.api.ActionRequest
-
- getErrorMsg_badReturnValue() - Method in class com.google.actions.api.DefaultApp
-
- getExpectUserResponse() - Method in interface com.google.actions.api.ActionResponse
-
Whether a user response is expected.
- getHelperIntent() - Method in interface com.google.actions.api.ActionResponse
-
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.
- getIntent() - Method in interface com.google.actions.api.ActionRequest
-
- getLifespan() - Method in class com.google.actions.api.ActionContext
-
- getLocale() - Method in interface com.google.actions.api.ActionRequest
-
Returns the Locale of the user.
- getMediaStatus() - Method in interface com.google.actions.api.ActionRequest
-
- getName() - Method in class com.google.actions.api.ActionContext
-
- getName() - Method in class com.google.actions.api.response.helperintent.CompletePurchase
-
- getName() - Method in class com.google.actions.api.response.helperintent.Confirmation
-
- getName() - Method in class com.google.actions.api.response.helperintent.DateTimePrompt
-
- getName() - Method in class com.google.actions.api.response.helperintent.DeliveryAddress
-
- getName() - Method in interface com.google.actions.api.response.helperintent.HelperIntent
-
- getName() - Method in class com.google.actions.api.response.helperintent.NewSurface
-
- getName() - Method in class com.google.actions.api.response.helperintent.Permission
-
- getName() - Method in class com.google.actions.api.response.helperintent.Place
-
- getName() - Method in class com.google.actions.api.response.helperintent.RegisterUpdate
-
- getName() - Method in class com.google.actions.api.response.helperintent.SelectionCarousel
-
- getName() - Method in class com.google.actions.api.response.helperintent.SelectionList
-
- getName() - Method in class com.google.actions.api.response.helperintent.SignIn
-
- getName() - Method in class com.google.actions.api.response.helperintent.TransactionDecision
-
- getName() - Method in class com.google.actions.api.response.helperintent.TransactionRequirements
-
- getName() - Method in class com.google.actions.api.response.helperintent.UpdatePermission
-
- getParameter(name) - Method in interface com.google.actions.api.ActionRequest
-
- getParameters() - Method in class com.google.actions.api.ActionContext
-
- getParameters() - Method in class com.google.actions.api.response.helperintent.CompletePurchase
-
- getParameters() - Method in class com.google.actions.api.response.helperintent.Confirmation
-
- getParameters() - Method in class com.google.actions.api.response.helperintent.DateTimePrompt
-
- getParameters() - Method in class com.google.actions.api.response.helperintent.DeliveryAddress
-
- getParameters() - Method in interface com.google.actions.api.response.helperintent.HelperIntent
-
- getParameters() - Method in class com.google.actions.api.response.helperintent.NewSurface
-
- getParameters() - Method in class com.google.actions.api.response.helperintent.Permission
-
- getParameters() - Method in class com.google.actions.api.response.helperintent.Place
-
- getParameters() - Method in class com.google.actions.api.response.helperintent.RegisterUpdate
-
- getParameters() - Method in class com.google.actions.api.response.helperintent.SelectionCarousel
-
- getParameters() - Method in class com.google.actions.api.response.helperintent.SelectionList
-
- getParameters() - Method in class com.google.actions.api.response.helperintent.SignIn
-
- getParameters() - Method in class com.google.actions.api.response.helperintent.TransactionDecision
-
- getParameters() - Method in class com.google.actions.api.response.helperintent.TransactionRequirements
-
- getPlace() - Method in interface com.google.actions.api.ActionRequest
-
- getRawInput() - Method in interface com.google.actions.api.ActionRequest
-
- getRawText() - Method in interface com.google.actions.api.ActionRequest
-
- getRepromptCount() - Method in interface com.google.actions.api.ActionRequest
-
Returns the number of subsequent reprompts related to silent input from the
user. This should be used along with the NO_INPUT intent to reprompt the
user for input in cases where the Google Assistant could not pick up any
speech or null if request has no information about reprompts.
- getResponseBuilder(request) - Method in class com.google.actions.api.ActionsSdkApp
-
- getResponseBuilder(request) - Method in class com.google.actions.api.DefaultApp
-
- getResponseBuilder(request) - Method in class com.google.actions.api.DialogflowApp
-
- getRichResponse() - Method in interface com.google.actions.api.ActionResponse
-
A rich response that can include audio, text, cards, suggestions and
structured data.
- getSelectedOption() - Method in interface com.google.actions.api.ActionRequest
-
- getSessionId() - Method in interface com.google.actions.api.ActionRequest
-
- getSessionId() - Method in class com.google.actions.api.response.ResponseBuilder
-
- getSurface() - Method in interface com.google.actions.api.ActionRequest
-
- getUser() - Method in interface com.google.actions.api.ActionRequest
-
- getUserConfirmation() - Method in interface com.google.actions.api.ActionRequest
-
- getUserStorage() - Method in interface com.google.actions.api.ActionRequest
-
Key-value pair data that is persisted across conversations for a
particular user.
- getUserStorage() - Method in class com.google.actions.api.response.ResponseBuilder
-
- getUsesDialogflow() - Method in class com.google.actions.api.response.ResponseBuilder
-
- getValue() - Method in enum com.google.actions.api.Capability
-
- getWebhookRequest() - Method in interface com.google.actions.api.ActionRequest
-
Binding class (POJO) that represents a Dialogflow request. This is set only
if the request is routed through Dialogflow.
- getWebhookResponse() - Method in interface com.google.actions.api.ActionResponse
-
Binding class (POJO) that represents a Dialogflow response. This is set
only if the request is routed through Dialogflow.