blob: c3ac5a54941ce7d3dee81e7051d5e9ca0c43e114 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="dialogflow_v2beta1.html">Dialogflow API</a> . <a href="dialogflow_v2beta1.projects.html">projects</a> . <a href="dialogflow_v2beta1.projects.agent.html">agent</a> . <a href="dialogflow_v2beta1.projects.agent.intents.html">intents</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#batchDelete">batchDelete(parent, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070079<p class="firstline">Deletes intents in the specified agent. Operation </p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070080<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#batchUpdate">batchUpdate(parent, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070082<p class="firstline">Updates/Creates multiple intents in the specified agent. Operation </p>
83<p class="toc_element">
84 <code><a href="#close">close()</a></code></p>
85<p class="firstline">Close httplib2 connections.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070086<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070087 <code><a href="#create">create(parent, body=None, languageCode=None, intentView=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088<p class="firstline">Creates an intent in the specified agent.</p>
89<p class="toc_element">
90 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
91<p class="firstline">Deletes the specified intent and its direct or indirect followup intents.</p>
92<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070093 <code><a href="#get">get(name, languageCode=None, intentView=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070094<p class="firstline">Retrieves the specified intent.</p>
95<p class="toc_element">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -080096 <code><a href="#list">list(parent, pageToken=None, languageCode=None, pageSize=None, intentView=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070097<p class="firstline">Returns the list of all intents in the specified agent.</p>
98<p class="toc_element">
99 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
100<p class="firstline">Retrieves the next page of results.</p>
101<p class="toc_element">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800102 <code><a href="#patch">patch(name, body=None, intentView=None, languageCode=None, updateMask=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700103<p class="firstline">Updates the specified intent.</p>
104<h3>Method Details</h3>
105<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700106 <code class="details" id="batchDelete">batchDelete(parent, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700107 <pre>Deletes intents in the specified agent. Operation
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700108
109Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700110 parent: string, Required. The name of the agent to delete all entities types for. Supported formats: - `projects//agent` - `projects//locations//agent` (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700111 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700112 The object takes the form of:
113
114{ # The request message for Intents.BatchDeleteIntents.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700115 &quot;intents&quot;: [ # Required. The collection of intents to delete. Only intent `name` must be filled in.
116 { # An intent categorizes an end-user&#x27;s intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700117 &quot;defaultResponsePlatforms&quot;: [ # Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
118 &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700119 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800120 &quot;mlEnabled&quot;: True or False, # Optional. Indicates whether Machine Learning is enabled for the intent. Note: If `ml_enabled` setting is set to false, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, then the default value is determined as follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the default is: ml_enabled = true / ml_disabled = false.
121 &quot;events&quot;: [ # Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
122 &quot;A String&quot;,
123 ],
124 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
125 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
126 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
127 { # Represents intent parameters.
128 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
129 &quot;defaultValue&quot;: &quot;A String&quot;, # Optional. The default value to use when the `value` yields an empty result. Default values can be extracted from contexts by using the following syntax: `#context_name.parameter_name`.
130 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
131 &quot;entityTypeDisplayName&quot;: &quot;A String&quot;, # Optional. The name of the entity type, prefixed with `@`, that describes values of the parameter. If the parameter is required, this must be provided.
132 &quot;value&quot;: &quot;A String&quot;, # Optional. The definition of the parameter value. It can be: - a constant string, - a parameter value defined as `$parameter_name`, - an original parameter value defined as `$parameter_name.original`, - a parameter value from some context defined as `#context_name.parameter_name`.
133 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
134 &quot;prompts&quot;: [ # Optional. The collection of prompts that the agent can present to the user in order to collect a value for the parameter.
135 &quot;A String&quot;,
136 ],
137 &quot;mandatory&quot;: True or False, # Optional. Indicates whether the parameter is required. That is, whether the intent cannot be completed without collecting the parameter value.
138 },
139 ],
140 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
141 { # Represents an example that the agent is trained on.
142 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
143 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
144 &quot;parts&quot;: [ # Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `entity_type`, `alias`, and `user_defined` fields are all set.
145 { # Represents a part of a training phrase.
146 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
147 &quot;alias&quot;: &quot;A String&quot;, # Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.
148 &quot;userDefined&quot;: True or False, # Optional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.
149 &quot;entityType&quot;: &quot;A String&quot;, # Optional. The entity type name prefixed with `@`. This field is required for annotated parts of the training phrase.
150 },
151 ],
152 &quot;timesAddedCount&quot;: 42, # Optional. Indicates how many times this example was added to the intent. Each time a developer adds an existing sample by editing an intent or training, this counter is increased.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700153 },
154 ],
155 &quot;inputContextNames&quot;: [ # Optional. The list of context names required for this intent to be triggered. Formats: - `projects//agent/sessions/-/contexts/` - `projects//locations//agent/sessions/-/contexts/`
156 &quot;A String&quot;,
157 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800158 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # Optional. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with CreateIntent or BatchUpdateIntents, in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects//agent/intents/`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700159 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700160 &quot;outputContexts&quot;: [ # Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects//agent/sessions/-/contexts/`.
161 { # Dialogflow contexts are similar to natural language context. If a person says to you &quot;they are orange&quot;, you need context in order to understand what &quot;they&quot; is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent. Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts. For more information about context, see the [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview).
162 &quot;parameters&quot;: { # Optional. The collection of parameters associated with this context. 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&#x27;s entity type is a composite entity: map - Else: string or number, depending on parameter value type - MapValue value: - If parameter&#x27;s entity type is a composite entity: map from composite entity property names to property values - Else: parameter value
163 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
164 },
165 &quot;name&quot;: &quot;A String&quot;, # Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default &#x27;draft&#x27; environment. If `User ID` is not specified, we assume default &#x27;-&#x27; user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
166 &quot;lifespanCount&quot;: 42, # Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries.
167 },
168 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800169 &quot;mlDisabled&quot;: True or False, # Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off.
170 &quot;action&quot;: &quot;A String&quot;, # Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700171 &quot;rootFollowupIntentName&quot;: &quot;A String&quot;, # Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects//agent/intents/`.
172 &quot;endInteraction&quot;: True or False, # Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is false.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700173 &quot;messages&quot;: [ # Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
Bu Sun Kim65020912020-05-20 12:08:20 -0700174 { # Corresponds to the `Response` field in the Dialogflow console.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700175 &quot;browseCarouselCard&quot;: { # Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel # Browse carousel card for Actions on Google.
176 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
177 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
178 { # Browsing carousel tile
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700179 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
180 &quot;url&quot;: &quot;A String&quot;, # Required. URL
181 &quot;urlTypeHint&quot;: &quot;A String&quot;, # Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via web browser.
182 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800183 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700184 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700185 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800186 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700187 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700188 &quot;footer&quot;: &quot;A String&quot;, # Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800189 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700190 },
191 ],
192 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800193 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
194 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to transfer the call to in [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently only allow transferring to US numbers (+1xxxyyyzzzz).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700195 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700196 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
197 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
198 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
199 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
Bu Sun Kim65020912020-05-20 12:08:20 -0700200 },
201 ],
202 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700203 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700204 &quot;items&quot;: [ # Required. List items.
205 { # An item in the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800206 &quot;image&quot;: { # The image response message. # Optional. The image to display.
207 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
208 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
209 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700210 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700211 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
212 &quot;A String&quot;,
213 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800214 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700215 },
216 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800217 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
Bu Sun Kim65020912020-05-20 12:08:20 -0700218 },
219 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700220 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800221 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
222 },
223 &quot;image&quot;: { # The image response message. # Displays an image.
224 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
225 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
226 },
227 &quot;linkOutSuggestion&quot;: { # The suggestion chip message that allows the user to jump out to the app or website associated with this agent. # Displays a link out suggestion chip for Actions on Google.
228 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
229 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
230 },
231 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
232 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
233 { # The button object that appears at the bottom of a card.
234 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
235 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
236 },
237 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
238 },
239 ],
240 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
241 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
242 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
243 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
244 },
245 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
246 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700247 },
248 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
249 &quot;items&quot;: [ # Required. Carousel items.
250 { # An item in the carousel.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800251 &quot;image&quot;: { # The image response message. # Optional. The image to display.
252 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
253 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
254 },
255 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700256 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700257 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
258 &quot;A String&quot;,
259 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800260 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700261 },
262 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700263 },
264 ],
265 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800266 &quot;text&quot;: { # The text response message. # Returns a text response.
267 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
268 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700269 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800270 },
271 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700272 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800273 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
274 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
275 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
276 },
277 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
Bu Sun Kim65020912020-05-20 12:08:20 -0700278 &quot;rows&quot;: [ # Optional. Rows in this table of data.
279 { # Row of TableCard.
Bu Sun Kim65020912020-05-20 12:08:20 -0700280 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
281 { # Cell of TableCardRow.
282 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
283 },
284 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700285 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
286 },
287 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800288 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
289 { # Column properties for TableCard.
290 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
291 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
292 },
293 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700294 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
295 { # The button object that appears at the bottom of a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700296 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
297 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
298 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800299 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
Bu Sun Kim65020912020-05-20 12:08:20 -0700300 },
301 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800302 },
303 &quot;rbmCarouselRichCard&quot;: { # Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead. # Rich Business Messaging (RBM) carousel rich card response.
304 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
305 { # Rich Business Messaging (RBM) Card content
306 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
307 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
308 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
309 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
310 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
311 },
312 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
313 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
314 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
315 },
316 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
317 },
318 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
319 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
320 },
321 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
322 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
323 },
324 },
325 ],
326 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
327 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
328 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
329 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
330 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
331 },
332 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
333 },
334 ],
335 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700336 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700337 &quot;card&quot;: { # The card response message. # Displays a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700338 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800339 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
340 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700341 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
342 { # Optional. Contains information about a button.
343 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
344 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
Bu Sun Kim65020912020-05-20 12:08:20 -0700345 },
346 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800347 },
348 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
349 &quot;mediaObjects&quot;: [ # Required. List of media objects.
350 { # Response media object for media content card.
351 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
352 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
353 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
354 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
355 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
356 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
357 },
358 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
359 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
360 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
361 },
362 },
363 ],
364 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
365 },
366 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
367 &quot;rbmStandaloneRichCard&quot;: { # Standalone Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout. # Standalone Rich Business Messaging (RBM) rich card response.
368 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
369 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
370 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
371 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
372 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
373 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
374 },
375 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
376 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
377 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
378 },
379 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
380 },
381 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
382 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
383 },
384 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
385 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
386 },
387 },
388 ],
389 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
390 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
391 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
392 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
393 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
394 },
395 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
396 },
397 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
398 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Bu Sun Kim65020912020-05-20 12:08:20 -0700399 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700400 &quot;payload&quot;: { # A custom platform-specific response.
401 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Bu Sun Kim65020912020-05-20 12:08:20 -0700402 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700403 &quot;simpleResponses&quot;: { # The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`. # Returns a voice or text-only response for Actions on Google.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700404 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
405 { # The simple response message containing speech or text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700406 &quot;ssml&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800407 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
408 &quot;textToSpeech&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700409 },
410 ],
411 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700412 &quot;rbmText&quot;: { # Rich Business Messaging (RBM) text response with suggestions. # Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800413 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700414 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
415 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800416 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
417 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
418 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
419 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700420 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700421 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
422 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
423 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700424 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
425 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800426 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
427 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
428 },
429 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
430 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700431 },
432 },
433 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700434 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800435 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
436 &quot;audioUri&quot;: &quot;A String&quot;, # Required. URI to a Google Cloud Storage object containing the audio to play, e.g., &quot;gs://bucket/object&quot;. The object must contain a single channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz. This object must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account where is the number of the Telephony Gateway project (usually the same as the Dialogflow agent project). If the Google Cloud Storage bucket is in the Telephony Gateway project, this permission is added by default when enabling the Dialogflow V2 API. For audio from other sources, consider using the `TelephonySynthesizeSpeech` message with SSML.
437 },
438 &quot;telephonySynthesizeSpeech&quot;: { # Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway. Telephony Gateway takes the synthesizer settings from `DetectIntentResponse.output_audio_config` which can either be set at request-level or can come from the agent-level synthesizer config. # Synthesizes speech in Telephony Gateway.
439 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
440 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700441 },
442 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
443 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
444 &quot;A String&quot;,
445 ],
446 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
447 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700448 },
449 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800450 &quot;priority&quot;: 42, # Optional. The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700451 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800452 &quot;name&quot;: &quot;A String&quot;, # Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/`
453 &quot;followupIntentInfo&quot;: [ # Output only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
454 { # Represents a single followup intent in the chain.
455 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
456 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
457 },
458 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700459 },
460 ],
461 }
462
463 x__xgafv: string, V1 error format.
464 Allowed values
465 1 - v1 error format
466 2 - v2 error format
467
468Returns:
469 An object of the form:
470
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700471 { # This resource represents a long-running operation that is the result of a network API call.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700472 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
473 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
474 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700475 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700476 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700477 {
478 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
479 },
480 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700481 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800482 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700483 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700484 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
485 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
486 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
487 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800488 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700489 }</pre>
490</div>
491
492<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700493 <code class="details" id="batchUpdate">batchUpdate(parent, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700494 <pre>Updates/Creates multiple intents in the specified agent. Operation
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700495
496Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700497 parent: string, Required. The name of the agent to update or create intents in. Supported formats: - `projects//agent` - `projects//locations//agent` (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700498 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700499 The object takes the form of:
500
501{ # The request message for Intents.BatchUpdateIntents.
Bu Sun Kim65020912020-05-20 12:08:20 -0700502 &quot;intentBatchInline&quot;: { # This message is a wrapper around a collection of intents. # The collection of intents to update or create.
503 &quot;intents&quot;: [ # A collection of intents.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700504 { # An intent categorizes an end-user&#x27;s intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700505 &quot;defaultResponsePlatforms&quot;: [ # Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
506 &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700507 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800508 &quot;mlEnabled&quot;: True or False, # Optional. Indicates whether Machine Learning is enabled for the intent. Note: If `ml_enabled` setting is set to false, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, then the default value is determined as follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the default is: ml_enabled = true / ml_disabled = false.
509 &quot;events&quot;: [ # Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
510 &quot;A String&quot;,
511 ],
512 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
513 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
514 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
515 { # Represents intent parameters.
516 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
517 &quot;defaultValue&quot;: &quot;A String&quot;, # Optional. The default value to use when the `value` yields an empty result. Default values can be extracted from contexts by using the following syntax: `#context_name.parameter_name`.
518 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
519 &quot;entityTypeDisplayName&quot;: &quot;A String&quot;, # Optional. The name of the entity type, prefixed with `@`, that describes values of the parameter. If the parameter is required, this must be provided.
520 &quot;value&quot;: &quot;A String&quot;, # Optional. The definition of the parameter value. It can be: - a constant string, - a parameter value defined as `$parameter_name`, - an original parameter value defined as `$parameter_name.original`, - a parameter value from some context defined as `#context_name.parameter_name`.
521 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
522 &quot;prompts&quot;: [ # Optional. The collection of prompts that the agent can present to the user in order to collect a value for the parameter.
523 &quot;A String&quot;,
524 ],
525 &quot;mandatory&quot;: True or False, # Optional. Indicates whether the parameter is required. That is, whether the intent cannot be completed without collecting the parameter value.
526 },
527 ],
528 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
529 { # Represents an example that the agent is trained on.
530 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
531 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
532 &quot;parts&quot;: [ # Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `entity_type`, `alias`, and `user_defined` fields are all set.
533 { # Represents a part of a training phrase.
534 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
535 &quot;alias&quot;: &quot;A String&quot;, # Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.
536 &quot;userDefined&quot;: True or False, # Optional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.
537 &quot;entityType&quot;: &quot;A String&quot;, # Optional. The entity type name prefixed with `@`. This field is required for annotated parts of the training phrase.
538 },
539 ],
540 &quot;timesAddedCount&quot;: 42, # Optional. Indicates how many times this example was added to the intent. Each time a developer adds an existing sample by editing an intent or training, this counter is increased.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700541 },
542 ],
543 &quot;inputContextNames&quot;: [ # Optional. The list of context names required for this intent to be triggered. Formats: - `projects//agent/sessions/-/contexts/` - `projects//locations//agent/sessions/-/contexts/`
544 &quot;A String&quot;,
545 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800546 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # Optional. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with CreateIntent or BatchUpdateIntents, in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects//agent/intents/`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700547 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700548 &quot;outputContexts&quot;: [ # Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects//agent/sessions/-/contexts/`.
549 { # Dialogflow contexts are similar to natural language context. If a person says to you &quot;they are orange&quot;, you need context in order to understand what &quot;they&quot; is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent. Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts. For more information about context, see the [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview).
550 &quot;parameters&quot;: { # Optional. The collection of parameters associated with this context. 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&#x27;s entity type is a composite entity: map - Else: string or number, depending on parameter value type - MapValue value: - If parameter&#x27;s entity type is a composite entity: map from composite entity property names to property values - Else: parameter value
551 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
552 },
553 &quot;name&quot;: &quot;A String&quot;, # Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default &#x27;draft&#x27; environment. If `User ID` is not specified, we assume default &#x27;-&#x27; user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
554 &quot;lifespanCount&quot;: 42, # Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries.
555 },
556 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800557 &quot;mlDisabled&quot;: True or False, # Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off.
558 &quot;action&quot;: &quot;A String&quot;, # Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700559 &quot;rootFollowupIntentName&quot;: &quot;A String&quot;, # Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects//agent/intents/`.
560 &quot;endInteraction&quot;: True or False, # Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is false.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700561 &quot;messages&quot;: [ # Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
Bu Sun Kim65020912020-05-20 12:08:20 -0700562 { # Corresponds to the `Response` field in the Dialogflow console.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700563 &quot;browseCarouselCard&quot;: { # Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel # Browse carousel card for Actions on Google.
564 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
565 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
566 { # Browsing carousel tile
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700567 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
568 &quot;url&quot;: &quot;A String&quot;, # Required. URL
569 &quot;urlTypeHint&quot;: &quot;A String&quot;, # Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via web browser.
570 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800571 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700572 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700573 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800574 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700575 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700576 &quot;footer&quot;: &quot;A String&quot;, # Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800577 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700578 },
579 ],
580 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800581 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
582 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to transfer the call to in [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently only allow transferring to US numbers (+1xxxyyyzzzz).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700583 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700584 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
585 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
586 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
587 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
Bu Sun Kim65020912020-05-20 12:08:20 -0700588 },
589 ],
590 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700591 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700592 &quot;items&quot;: [ # Required. List items.
593 { # An item in the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800594 &quot;image&quot;: { # The image response message. # Optional. The image to display.
595 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
596 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
597 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700598 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700599 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
600 &quot;A String&quot;,
601 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800602 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700603 },
604 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800605 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
Bu Sun Kim65020912020-05-20 12:08:20 -0700606 },
607 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700608 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800609 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
610 },
611 &quot;image&quot;: { # The image response message. # Displays an image.
612 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
613 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
614 },
615 &quot;linkOutSuggestion&quot;: { # The suggestion chip message that allows the user to jump out to the app or website associated with this agent. # Displays a link out suggestion chip for Actions on Google.
616 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
617 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
618 },
619 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
620 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
621 { # The button object that appears at the bottom of a card.
622 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
623 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
624 },
625 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
626 },
627 ],
628 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
629 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
630 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
631 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
632 },
633 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
634 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700635 },
636 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
637 &quot;items&quot;: [ # Required. Carousel items.
638 { # An item in the carousel.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800639 &quot;image&quot;: { # The image response message. # Optional. The image to display.
640 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
641 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
642 },
643 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700644 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700645 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
646 &quot;A String&quot;,
647 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800648 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700649 },
650 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700651 },
652 ],
653 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800654 &quot;text&quot;: { # The text response message. # Returns a text response.
655 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
656 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700657 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800658 },
659 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700660 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800661 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
662 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
663 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
664 },
665 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
Bu Sun Kim65020912020-05-20 12:08:20 -0700666 &quot;rows&quot;: [ # Optional. Rows in this table of data.
667 { # Row of TableCard.
Bu Sun Kim65020912020-05-20 12:08:20 -0700668 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
669 { # Cell of TableCardRow.
670 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
671 },
672 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700673 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
674 },
675 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800676 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
677 { # Column properties for TableCard.
678 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
679 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
680 },
681 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700682 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
683 { # The button object that appears at the bottom of a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700684 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
685 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
686 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800687 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
Bu Sun Kim65020912020-05-20 12:08:20 -0700688 },
689 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800690 },
691 &quot;rbmCarouselRichCard&quot;: { # Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead. # Rich Business Messaging (RBM) carousel rich card response.
692 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
693 { # Rich Business Messaging (RBM) Card content
694 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
695 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
696 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
697 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
698 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
699 },
700 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
701 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
702 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
703 },
704 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
705 },
706 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
707 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
708 },
709 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
710 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
711 },
712 },
713 ],
714 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
715 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
716 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
717 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
718 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
719 },
720 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
721 },
722 ],
723 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700724 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700725 &quot;card&quot;: { # The card response message. # Displays a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700726 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800727 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
728 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700729 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
730 { # Optional. Contains information about a button.
731 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
732 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
Bu Sun Kim65020912020-05-20 12:08:20 -0700733 },
734 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800735 },
736 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
737 &quot;mediaObjects&quot;: [ # Required. List of media objects.
738 { # Response media object for media content card.
739 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
740 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
741 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
742 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
743 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
744 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
745 },
746 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
747 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
748 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
749 },
750 },
751 ],
752 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
753 },
754 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
755 &quot;rbmStandaloneRichCard&quot;: { # Standalone Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout. # Standalone Rich Business Messaging (RBM) rich card response.
756 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
757 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
758 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
759 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
760 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
761 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
762 },
763 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
764 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
765 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
766 },
767 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
768 },
769 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
770 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
771 },
772 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
773 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
774 },
775 },
776 ],
777 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
778 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
779 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
780 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
781 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
782 },
783 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
784 },
785 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
786 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Bu Sun Kim65020912020-05-20 12:08:20 -0700787 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700788 &quot;payload&quot;: { # A custom platform-specific response.
789 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Bu Sun Kim65020912020-05-20 12:08:20 -0700790 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700791 &quot;simpleResponses&quot;: { # The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`. # Returns a voice or text-only response for Actions on Google.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700792 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
793 { # The simple response message containing speech or text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700794 &quot;ssml&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800795 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
796 &quot;textToSpeech&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700797 },
798 ],
799 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700800 &quot;rbmText&quot;: { # Rich Business Messaging (RBM) text response with suggestions. # Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800801 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700802 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
803 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800804 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
805 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
806 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
807 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700808 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700809 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
810 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
811 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700812 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
813 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800814 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
815 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
816 },
817 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
818 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700819 },
820 },
821 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700822 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800823 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
824 &quot;audioUri&quot;: &quot;A String&quot;, # Required. URI to a Google Cloud Storage object containing the audio to play, e.g., &quot;gs://bucket/object&quot;. The object must contain a single channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz. This object must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account where is the number of the Telephony Gateway project (usually the same as the Dialogflow agent project). If the Google Cloud Storage bucket is in the Telephony Gateway project, this permission is added by default when enabling the Dialogflow V2 API. For audio from other sources, consider using the `TelephonySynthesizeSpeech` message with SSML.
825 },
826 &quot;telephonySynthesizeSpeech&quot;: { # Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway. Telephony Gateway takes the synthesizer settings from `DetectIntentResponse.output_audio_config` which can either be set at request-level or can come from the agent-level synthesizer config. # Synthesizes speech in Telephony Gateway.
827 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
828 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700829 },
830 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
831 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
832 &quot;A String&quot;,
833 ],
834 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
835 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700836 },
837 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800838 &quot;priority&quot;: 42, # Optional. The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700839 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800840 &quot;name&quot;: &quot;A String&quot;, # Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/`
841 &quot;followupIntentInfo&quot;: [ # Output only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
842 { # Represents a single followup intent in the chain.
843 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
844 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
845 },
846 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700847 },
848 ],
849 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700850 &quot;updateMask&quot;: &quot;A String&quot;, # Optional. The mask to control which fields get updated.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800851 &quot;intentBatchUri&quot;: &quot;A String&quot;, # The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with &quot;gs://&quot;.
852 &quot;intentView&quot;: &quot;A String&quot;, # Optional. The resource view to apply to the returned intent.
853 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. The language used to access language-specific data. If not specified, the agent&#x27;s default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700854 }
855
856 x__xgafv: string, V1 error format.
857 Allowed values
858 1 - v1 error format
859 2 - v2 error format
860
861Returns:
862 An object of the form:
863
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700864 { # This resource represents a long-running operation that is the result of a network API call.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700865 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
866 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
867 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700868 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700869 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700870 {
871 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
872 },
873 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700874 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800875 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700876 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700877 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
878 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
879 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
880 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800881 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700882 }</pre>
883</div>
884
885<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700886 <code class="details" id="close">close()</code>
887 <pre>Close httplib2 connections.</pre>
888</div>
889
890<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700891 <code class="details" id="create">create(parent, body=None, languageCode=None, intentView=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700892 <pre>Creates an intent in the specified agent.
893
894Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700895 parent: string, Required. The agent to create a intent for. Supported formats: - `projects//agent` - `projects//locations//agent` (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700896 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700897 The object takes the form of:
898
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700899{ # An intent categorizes an end-user&#x27;s intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700900 &quot;defaultResponsePlatforms&quot;: [ # Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
901 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700902 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800903 &quot;mlEnabled&quot;: True or False, # Optional. Indicates whether Machine Learning is enabled for the intent. Note: If `ml_enabled` setting is set to false, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, then the default value is determined as follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the default is: ml_enabled = true / ml_disabled = false.
904 &quot;events&quot;: [ # Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
905 &quot;A String&quot;,
906 ],
907 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
908 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
909 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
910 { # Represents intent parameters.
911 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
912 &quot;defaultValue&quot;: &quot;A String&quot;, # Optional. The default value to use when the `value` yields an empty result. Default values can be extracted from contexts by using the following syntax: `#context_name.parameter_name`.
913 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
914 &quot;entityTypeDisplayName&quot;: &quot;A String&quot;, # Optional. The name of the entity type, prefixed with `@`, that describes values of the parameter. If the parameter is required, this must be provided.
915 &quot;value&quot;: &quot;A String&quot;, # Optional. The definition of the parameter value. It can be: - a constant string, - a parameter value defined as `$parameter_name`, - an original parameter value defined as `$parameter_name.original`, - a parameter value from some context defined as `#context_name.parameter_name`.
916 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
917 &quot;prompts&quot;: [ # Optional. The collection of prompts that the agent can present to the user in order to collect a value for the parameter.
918 &quot;A String&quot;,
919 ],
920 &quot;mandatory&quot;: True or False, # Optional. Indicates whether the parameter is required. That is, whether the intent cannot be completed without collecting the parameter value.
921 },
922 ],
923 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
924 { # Represents an example that the agent is trained on.
925 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
926 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
927 &quot;parts&quot;: [ # Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `entity_type`, `alias`, and `user_defined` fields are all set.
928 { # Represents a part of a training phrase.
929 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
930 &quot;alias&quot;: &quot;A String&quot;, # Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.
931 &quot;userDefined&quot;: True or False, # Optional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.
932 &quot;entityType&quot;: &quot;A String&quot;, # Optional. The entity type name prefixed with `@`. This field is required for annotated parts of the training phrase.
933 },
934 ],
935 &quot;timesAddedCount&quot;: 42, # Optional. Indicates how many times this example was added to the intent. Each time a developer adds an existing sample by editing an intent or training, this counter is increased.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700936 },
937 ],
938 &quot;inputContextNames&quot;: [ # Optional. The list of context names required for this intent to be triggered. Formats: - `projects//agent/sessions/-/contexts/` - `projects//locations//agent/sessions/-/contexts/`
939 &quot;A String&quot;,
940 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800941 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # Optional. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with CreateIntent or BatchUpdateIntents, in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects//agent/intents/`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700942 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700943 &quot;outputContexts&quot;: [ # Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects//agent/sessions/-/contexts/`.
944 { # Dialogflow contexts are similar to natural language context. If a person says to you &quot;they are orange&quot;, you need context in order to understand what &quot;they&quot; is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent. Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts. For more information about context, see the [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview).
945 &quot;parameters&quot;: { # Optional. The collection of parameters associated with this context. 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&#x27;s entity type is a composite entity: map - Else: string or number, depending on parameter value type - MapValue value: - If parameter&#x27;s entity type is a composite entity: map from composite entity property names to property values - Else: parameter value
946 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
947 },
948 &quot;name&quot;: &quot;A String&quot;, # Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default &#x27;draft&#x27; environment. If `User ID` is not specified, we assume default &#x27;-&#x27; user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
949 &quot;lifespanCount&quot;: 42, # Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries.
950 },
951 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800952 &quot;mlDisabled&quot;: True or False, # Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off.
953 &quot;action&quot;: &quot;A String&quot;, # Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700954 &quot;rootFollowupIntentName&quot;: &quot;A String&quot;, # Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects//agent/intents/`.
955 &quot;endInteraction&quot;: True or False, # Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is false.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700956 &quot;messages&quot;: [ # Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
Bu Sun Kim65020912020-05-20 12:08:20 -0700957 { # Corresponds to the `Response` field in the Dialogflow console.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700958 &quot;browseCarouselCard&quot;: { # Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel # Browse carousel card for Actions on Google.
959 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
960 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
961 { # Browsing carousel tile
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700962 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
963 &quot;url&quot;: &quot;A String&quot;, # Required. URL
964 &quot;urlTypeHint&quot;: &quot;A String&quot;, # Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via web browser.
965 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800966 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700967 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700968 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800969 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700970 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700971 &quot;footer&quot;: &quot;A String&quot;, # Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800972 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700973 },
974 ],
975 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800976 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
977 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to transfer the call to in [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently only allow transferring to US numbers (+1xxxyyyzzzz).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700978 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700979 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
980 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
981 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
982 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700983 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700984 ],
985 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700986 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700987 &quot;items&quot;: [ # Required. List items.
988 { # An item in the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800989 &quot;image&quot;: { # The image response message. # Optional. The image to display.
990 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
991 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
992 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700993 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700994 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
995 &quot;A String&quot;,
996 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800997 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700998 },
999 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001000 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
Bu Sun Kim65020912020-05-20 12:08:20 -07001001 },
1002 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001003 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001004 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
1005 },
1006 &quot;image&quot;: { # The image response message. # Displays an image.
1007 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1008 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1009 },
1010 &quot;linkOutSuggestion&quot;: { # The suggestion chip message that allows the user to jump out to the app or website associated with this agent. # Displays a link out suggestion chip for Actions on Google.
1011 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
1012 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
1013 },
1014 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
1015 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
1016 { # The button object that appears at the bottom of a card.
1017 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
1018 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
1019 },
1020 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
1021 },
1022 ],
1023 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
1024 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
1025 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1026 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1027 },
1028 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
1029 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001030 },
1031 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
1032 &quot;items&quot;: [ # Required. Carousel items.
1033 { # An item in the carousel.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001034 &quot;image&quot;: { # The image response message. # Optional. The image to display.
1035 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1036 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1037 },
1038 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001039 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001040 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
1041 &quot;A String&quot;,
1042 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001043 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001044 },
1045 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001046 },
1047 ],
1048 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001049 &quot;text&quot;: { # The text response message. # Returns a text response.
1050 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
1051 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001052 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001053 },
1054 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001055 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001056 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
1057 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1058 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1059 },
1060 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
Bu Sun Kim65020912020-05-20 12:08:20 -07001061 &quot;rows&quot;: [ # Optional. Rows in this table of data.
1062 { # Row of TableCard.
Bu Sun Kim65020912020-05-20 12:08:20 -07001063 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
1064 { # Cell of TableCardRow.
1065 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
1066 },
1067 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001068 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
1069 },
1070 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001071 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
1072 { # Column properties for TableCard.
1073 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
1074 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
1075 },
1076 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001077 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
1078 { # The button object that appears at the bottom of a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001079 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
1080 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
1081 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001082 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
Bu Sun Kim65020912020-05-20 12:08:20 -07001083 },
1084 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001085 },
1086 &quot;rbmCarouselRichCard&quot;: { # Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead. # Rich Business Messaging (RBM) carousel rich card response.
1087 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
1088 { # Rich Business Messaging (RBM) Card content
1089 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
1090 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
1091 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
1092 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1093 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
1094 },
1095 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
1096 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
1097 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
1098 },
1099 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
1100 },
1101 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
1102 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
1103 },
1104 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
1105 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
1106 },
1107 },
1108 ],
1109 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
1110 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
1111 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
1112 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
1113 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
1114 },
1115 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
1116 },
1117 ],
1118 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001119 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001120 &quot;card&quot;: { # The card response message. # Displays a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001121 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001122 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
1123 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001124 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
1125 { # Optional. Contains information about a button.
1126 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
1127 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
Bu Sun Kim65020912020-05-20 12:08:20 -07001128 },
1129 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001130 },
1131 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
1132 &quot;mediaObjects&quot;: [ # Required. List of media objects.
1133 { # Response media object for media content card.
1134 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
1135 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
1136 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
1137 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
1138 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1139 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1140 },
1141 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
1142 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1143 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1144 },
1145 },
1146 ],
1147 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
1148 },
1149 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
1150 &quot;rbmStandaloneRichCard&quot;: { # Standalone Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout. # Standalone Rich Business Messaging (RBM) rich card response.
1151 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
1152 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
1153 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
1154 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
1155 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1156 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
1157 },
1158 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
1159 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
1160 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
1161 },
1162 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
1163 },
1164 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
1165 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
1166 },
1167 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
1168 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
1169 },
1170 },
1171 ],
1172 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
1173 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
1174 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
1175 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
1176 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
1177 },
1178 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
1179 },
1180 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
1181 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Bu Sun Kim65020912020-05-20 12:08:20 -07001182 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001183 &quot;payload&quot;: { # A custom platform-specific response.
1184 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Bu Sun Kim65020912020-05-20 12:08:20 -07001185 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001186 &quot;simpleResponses&quot;: { # The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`. # Returns a voice or text-only response for Actions on Google.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001187 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
1188 { # The simple response message containing speech or text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001189 &quot;ssml&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001190 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
1191 &quot;textToSpeech&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001192 },
1193 ],
1194 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001195 &quot;rbmText&quot;: { # Rich Business Messaging (RBM) text response with suggestions. # Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001196 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001197 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
1198 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001199 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
1200 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1201 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
1202 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001203 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001204 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
1205 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
1206 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001207 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
1208 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001209 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
1210 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
1211 },
1212 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
1213 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001214 },
1215 },
1216 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001217 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001218 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
1219 &quot;audioUri&quot;: &quot;A String&quot;, # Required. URI to a Google Cloud Storage object containing the audio to play, e.g., &quot;gs://bucket/object&quot;. The object must contain a single channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz. This object must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account where is the number of the Telephony Gateway project (usually the same as the Dialogflow agent project). If the Google Cloud Storage bucket is in the Telephony Gateway project, this permission is added by default when enabling the Dialogflow V2 API. For audio from other sources, consider using the `TelephonySynthesizeSpeech` message with SSML.
1220 },
1221 &quot;telephonySynthesizeSpeech&quot;: { # Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway. Telephony Gateway takes the synthesizer settings from `DetectIntentResponse.output_audio_config` which can either be set at request-level or can come from the agent-level synthesizer config. # Synthesizes speech in Telephony Gateway.
1222 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
1223 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001224 },
1225 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
1226 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
1227 &quot;A String&quot;,
1228 ],
1229 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
1230 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001231 },
1232 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001233 &quot;priority&quot;: 42, # Optional. The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001234 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001235 &quot;name&quot;: &quot;A String&quot;, # Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/`
1236 &quot;followupIntentInfo&quot;: [ # Output only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
1237 { # Represents a single followup intent in the chain.
1238 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
1239 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
1240 },
1241 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001242}
1243
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001244 languageCode: string, Optional. The language used to access language-specific data. If not specified, the agent&#x27;s default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001245 intentView: string, Optional. The resource view to apply to the returned intent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001246 Allowed values
1247 INTENT_VIEW_UNSPECIFIED - Training phrases field is not populated in the response.
1248 INTENT_VIEW_FULL - All fields are populated.
Bu Sun Kim65020912020-05-20 12:08:20 -07001249 x__xgafv: string, V1 error format.
1250 Allowed values
1251 1 - v1 error format
1252 2 - v2 error format
1253
1254Returns:
1255 An object of the form:
1256
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001257 { # An intent categorizes an end-user&#x27;s intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001258 &quot;defaultResponsePlatforms&quot;: [ # Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
1259 &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -07001260 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001261 &quot;mlEnabled&quot;: True or False, # Optional. Indicates whether Machine Learning is enabled for the intent. Note: If `ml_enabled` setting is set to false, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, then the default value is determined as follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the default is: ml_enabled = true / ml_disabled = false.
1262 &quot;events&quot;: [ # Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
1263 &quot;A String&quot;,
1264 ],
1265 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
1266 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
1267 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
1268 { # Represents intent parameters.
1269 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
1270 &quot;defaultValue&quot;: &quot;A String&quot;, # Optional. The default value to use when the `value` yields an empty result. Default values can be extracted from contexts by using the following syntax: `#context_name.parameter_name`.
1271 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
1272 &quot;entityTypeDisplayName&quot;: &quot;A String&quot;, # Optional. The name of the entity type, prefixed with `@`, that describes values of the parameter. If the parameter is required, this must be provided.
1273 &quot;value&quot;: &quot;A String&quot;, # Optional. The definition of the parameter value. It can be: - a constant string, - a parameter value defined as `$parameter_name`, - an original parameter value defined as `$parameter_name.original`, - a parameter value from some context defined as `#context_name.parameter_name`.
1274 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
1275 &quot;prompts&quot;: [ # Optional. The collection of prompts that the agent can present to the user in order to collect a value for the parameter.
1276 &quot;A String&quot;,
1277 ],
1278 &quot;mandatory&quot;: True or False, # Optional. Indicates whether the parameter is required. That is, whether the intent cannot be completed without collecting the parameter value.
1279 },
1280 ],
1281 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
1282 { # Represents an example that the agent is trained on.
1283 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
1284 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
1285 &quot;parts&quot;: [ # Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `entity_type`, `alias`, and `user_defined` fields are all set.
1286 { # Represents a part of a training phrase.
1287 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
1288 &quot;alias&quot;: &quot;A String&quot;, # Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.
1289 &quot;userDefined&quot;: True or False, # Optional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.
1290 &quot;entityType&quot;: &quot;A String&quot;, # Optional. The entity type name prefixed with `@`. This field is required for annotated parts of the training phrase.
1291 },
1292 ],
1293 &quot;timesAddedCount&quot;: 42, # Optional. Indicates how many times this example was added to the intent. Each time a developer adds an existing sample by editing an intent or training, this counter is increased.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001294 },
1295 ],
1296 &quot;inputContextNames&quot;: [ # Optional. The list of context names required for this intent to be triggered. Formats: - `projects//agent/sessions/-/contexts/` - `projects//locations//agent/sessions/-/contexts/`
1297 &quot;A String&quot;,
1298 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001299 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # Optional. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with CreateIntent or BatchUpdateIntents, in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects//agent/intents/`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001300 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001301 &quot;outputContexts&quot;: [ # Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects//agent/sessions/-/contexts/`.
1302 { # Dialogflow contexts are similar to natural language context. If a person says to you &quot;they are orange&quot;, you need context in order to understand what &quot;they&quot; is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent. Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts. For more information about context, see the [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview).
1303 &quot;parameters&quot;: { # Optional. The collection of parameters associated with this context. 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&#x27;s entity type is a composite entity: map - Else: string or number, depending on parameter value type - MapValue value: - If parameter&#x27;s entity type is a composite entity: map from composite entity property names to property values - Else: parameter value
1304 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1305 },
1306 &quot;name&quot;: &quot;A String&quot;, # Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default &#x27;draft&#x27; environment. If `User ID` is not specified, we assume default &#x27;-&#x27; user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
1307 &quot;lifespanCount&quot;: 42, # Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries.
1308 },
1309 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001310 &quot;mlDisabled&quot;: True or False, # Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off.
1311 &quot;action&quot;: &quot;A String&quot;, # Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001312 &quot;rootFollowupIntentName&quot;: &quot;A String&quot;, # Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects//agent/intents/`.
1313 &quot;endInteraction&quot;: True or False, # Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is false.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001314 &quot;messages&quot;: [ # Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
Bu Sun Kim65020912020-05-20 12:08:20 -07001315 { # Corresponds to the `Response` field in the Dialogflow console.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001316 &quot;browseCarouselCard&quot;: { # Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel # Browse carousel card for Actions on Google.
1317 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
1318 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
1319 { # Browsing carousel tile
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001320 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
1321 &quot;url&quot;: &quot;A String&quot;, # Required. URL
1322 &quot;urlTypeHint&quot;: &quot;A String&quot;, # Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via web browser.
1323 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001324 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001325 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001326 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001327 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001328 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001329 &quot;footer&quot;: &quot;A String&quot;, # Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001330 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001331 },
1332 ],
1333 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001334 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
1335 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to transfer the call to in [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently only allow transferring to US numbers (+1xxxyyyzzzz).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001336 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001337 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
1338 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
1339 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
1340 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
Bu Sun Kim65020912020-05-20 12:08:20 -07001341 },
1342 ],
1343 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001344 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001345 &quot;items&quot;: [ # Required. List items.
1346 { # An item in the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001347 &quot;image&quot;: { # The image response message. # Optional. The image to display.
1348 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1349 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1350 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001351 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001352 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
1353 &quot;A String&quot;,
1354 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001355 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001356 },
1357 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001358 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
Bu Sun Kim65020912020-05-20 12:08:20 -07001359 },
1360 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001361 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001362 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
1363 },
1364 &quot;image&quot;: { # The image response message. # Displays an image.
1365 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1366 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1367 },
1368 &quot;linkOutSuggestion&quot;: { # The suggestion chip message that allows the user to jump out to the app or website associated with this agent. # Displays a link out suggestion chip for Actions on Google.
1369 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
1370 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
1371 },
1372 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
1373 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
1374 { # The button object that appears at the bottom of a card.
1375 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
1376 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
1377 },
1378 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
1379 },
1380 ],
1381 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
1382 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
1383 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1384 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1385 },
1386 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
1387 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001388 },
1389 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
1390 &quot;items&quot;: [ # Required. Carousel items.
1391 { # An item in the carousel.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001392 &quot;image&quot;: { # The image response message. # Optional. The image to display.
1393 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1394 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1395 },
1396 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001397 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001398 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
1399 &quot;A String&quot;,
1400 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001401 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001402 },
1403 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001404 },
1405 ],
1406 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001407 &quot;text&quot;: { # The text response message. # Returns a text response.
1408 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
1409 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001410 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001411 },
1412 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001413 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001414 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
1415 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1416 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1417 },
1418 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
Bu Sun Kim65020912020-05-20 12:08:20 -07001419 &quot;rows&quot;: [ # Optional. Rows in this table of data.
1420 { # Row of TableCard.
Bu Sun Kim65020912020-05-20 12:08:20 -07001421 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
1422 { # Cell of TableCardRow.
1423 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
1424 },
1425 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001426 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
1427 },
1428 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001429 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
1430 { # Column properties for TableCard.
1431 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
1432 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
1433 },
1434 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001435 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
1436 { # The button object that appears at the bottom of a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001437 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
1438 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
1439 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001440 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
Bu Sun Kim65020912020-05-20 12:08:20 -07001441 },
1442 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001443 },
1444 &quot;rbmCarouselRichCard&quot;: { # Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead. # Rich Business Messaging (RBM) carousel rich card response.
1445 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
1446 { # Rich Business Messaging (RBM) Card content
1447 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
1448 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
1449 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
1450 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1451 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
1452 },
1453 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
1454 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
1455 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
1456 },
1457 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
1458 },
1459 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
1460 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
1461 },
1462 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
1463 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
1464 },
1465 },
1466 ],
1467 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
1468 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
1469 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
1470 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
1471 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
1472 },
1473 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
1474 },
1475 ],
1476 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001477 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001478 &quot;card&quot;: { # The card response message. # Displays a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001479 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001480 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
1481 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001482 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
1483 { # Optional. Contains information about a button.
1484 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
1485 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
Bu Sun Kim65020912020-05-20 12:08:20 -07001486 },
1487 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001488 },
1489 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
1490 &quot;mediaObjects&quot;: [ # Required. List of media objects.
1491 { # Response media object for media content card.
1492 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
1493 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
1494 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
1495 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
1496 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1497 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1498 },
1499 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
1500 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1501 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1502 },
1503 },
1504 ],
1505 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
1506 },
1507 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
1508 &quot;rbmStandaloneRichCard&quot;: { # Standalone Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout. # Standalone Rich Business Messaging (RBM) rich card response.
1509 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
1510 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
1511 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
1512 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
1513 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1514 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
1515 },
1516 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
1517 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
1518 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
1519 },
1520 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
1521 },
1522 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
1523 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
1524 },
1525 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
1526 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
1527 },
1528 },
1529 ],
1530 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
1531 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
1532 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
1533 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
1534 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
1535 },
1536 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
1537 },
1538 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
1539 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Bu Sun Kim65020912020-05-20 12:08:20 -07001540 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001541 &quot;payload&quot;: { # A custom platform-specific response.
1542 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Bu Sun Kim65020912020-05-20 12:08:20 -07001543 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001544 &quot;simpleResponses&quot;: { # The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`. # Returns a voice or text-only response for Actions on Google.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001545 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
1546 { # The simple response message containing speech or text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001547 &quot;ssml&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001548 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
1549 &quot;textToSpeech&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001550 },
1551 ],
1552 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001553 &quot;rbmText&quot;: { # Rich Business Messaging (RBM) text response with suggestions. # Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001554 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001555 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
1556 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001557 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
1558 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1559 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
1560 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001561 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001562 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
1563 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
1564 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001565 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
1566 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001567 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
1568 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
1569 },
1570 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
1571 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001572 },
1573 },
1574 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001575 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001576 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
1577 &quot;audioUri&quot;: &quot;A String&quot;, # Required. URI to a Google Cloud Storage object containing the audio to play, e.g., &quot;gs://bucket/object&quot;. The object must contain a single channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz. This object must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account where is the number of the Telephony Gateway project (usually the same as the Dialogflow agent project). If the Google Cloud Storage bucket is in the Telephony Gateway project, this permission is added by default when enabling the Dialogflow V2 API. For audio from other sources, consider using the `TelephonySynthesizeSpeech` message with SSML.
1578 },
1579 &quot;telephonySynthesizeSpeech&quot;: { # Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway. Telephony Gateway takes the synthesizer settings from `DetectIntentResponse.output_audio_config` which can either be set at request-level or can come from the agent-level synthesizer config. # Synthesizes speech in Telephony Gateway.
1580 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
1581 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001582 },
1583 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
1584 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
1585 &quot;A String&quot;,
1586 ],
1587 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
1588 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001589 },
1590 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001591 &quot;priority&quot;: 42, # Optional. The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001592 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001593 &quot;name&quot;: &quot;A String&quot;, # Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/`
1594 &quot;followupIntentInfo&quot;: [ # Output only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
1595 { # Represents a single followup intent in the chain.
1596 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
1597 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
1598 },
1599 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001600 }</pre>
1601</div>
1602
1603<div class="method">
1604 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
1605 <pre>Deletes the specified intent and its direct or indirect followup intents.
1606
1607Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001608 name: string, Required. The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/` (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001609 x__xgafv: string, V1 error format.
1610 Allowed values
1611 1 - v1 error format
1612 2 - v2 error format
1613
1614Returns:
1615 An object of the form:
1616
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001617 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001618 }</pre>
1619</div>
1620
1621<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001622 <code class="details" id="get">get(name, languageCode=None, intentView=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001623 <pre>Retrieves the specified intent.
1624
1625Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001626 name: string, Required. The name of the intent. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/` (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001627 languageCode: string, Optional. The language used to access language-specific data. If not specified, the agent&#x27;s default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001628 intentView: string, Optional. The resource view to apply to the returned intent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001629 Allowed values
1630 INTENT_VIEW_UNSPECIFIED - Training phrases field is not populated in the response.
1631 INTENT_VIEW_FULL - All fields are populated.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001632 x__xgafv: string, V1 error format.
1633 Allowed values
1634 1 - v1 error format
1635 2 - v2 error format
1636
1637Returns:
1638 An object of the form:
1639
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001640 { # An intent categorizes an end-user&#x27;s intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001641 &quot;defaultResponsePlatforms&quot;: [ # Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
1642 &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -07001643 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001644 &quot;mlEnabled&quot;: True or False, # Optional. Indicates whether Machine Learning is enabled for the intent. Note: If `ml_enabled` setting is set to false, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, then the default value is determined as follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the default is: ml_enabled = true / ml_disabled = false.
1645 &quot;events&quot;: [ # Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
1646 &quot;A String&quot;,
1647 ],
1648 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
1649 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
1650 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
1651 { # Represents intent parameters.
1652 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
1653 &quot;defaultValue&quot;: &quot;A String&quot;, # Optional. The default value to use when the `value` yields an empty result. Default values can be extracted from contexts by using the following syntax: `#context_name.parameter_name`.
1654 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
1655 &quot;entityTypeDisplayName&quot;: &quot;A String&quot;, # Optional. The name of the entity type, prefixed with `@`, that describes values of the parameter. If the parameter is required, this must be provided.
1656 &quot;value&quot;: &quot;A String&quot;, # Optional. The definition of the parameter value. It can be: - a constant string, - a parameter value defined as `$parameter_name`, - an original parameter value defined as `$parameter_name.original`, - a parameter value from some context defined as `#context_name.parameter_name`.
1657 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
1658 &quot;prompts&quot;: [ # Optional. The collection of prompts that the agent can present to the user in order to collect a value for the parameter.
1659 &quot;A String&quot;,
1660 ],
1661 &quot;mandatory&quot;: True or False, # Optional. Indicates whether the parameter is required. That is, whether the intent cannot be completed without collecting the parameter value.
1662 },
1663 ],
1664 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
1665 { # Represents an example that the agent is trained on.
1666 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
1667 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
1668 &quot;parts&quot;: [ # Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `entity_type`, `alias`, and `user_defined` fields are all set.
1669 { # Represents a part of a training phrase.
1670 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
1671 &quot;alias&quot;: &quot;A String&quot;, # Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.
1672 &quot;userDefined&quot;: True or False, # Optional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.
1673 &quot;entityType&quot;: &quot;A String&quot;, # Optional. The entity type name prefixed with `@`. This field is required for annotated parts of the training phrase.
1674 },
1675 ],
1676 &quot;timesAddedCount&quot;: 42, # Optional. Indicates how many times this example was added to the intent. Each time a developer adds an existing sample by editing an intent or training, this counter is increased.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001677 },
1678 ],
1679 &quot;inputContextNames&quot;: [ # Optional. The list of context names required for this intent to be triggered. Formats: - `projects//agent/sessions/-/contexts/` - `projects//locations//agent/sessions/-/contexts/`
1680 &quot;A String&quot;,
1681 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001682 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # Optional. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with CreateIntent or BatchUpdateIntents, in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects//agent/intents/`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001683 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001684 &quot;outputContexts&quot;: [ # Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects//agent/sessions/-/contexts/`.
1685 { # Dialogflow contexts are similar to natural language context. If a person says to you &quot;they are orange&quot;, you need context in order to understand what &quot;they&quot; is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent. Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts. For more information about context, see the [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview).
1686 &quot;parameters&quot;: { # Optional. The collection of parameters associated with this context. 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&#x27;s entity type is a composite entity: map - Else: string or number, depending on parameter value type - MapValue value: - If parameter&#x27;s entity type is a composite entity: map from composite entity property names to property values - Else: parameter value
1687 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1688 },
1689 &quot;name&quot;: &quot;A String&quot;, # Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default &#x27;draft&#x27; environment. If `User ID` is not specified, we assume default &#x27;-&#x27; user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
1690 &quot;lifespanCount&quot;: 42, # Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries.
1691 },
1692 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001693 &quot;mlDisabled&quot;: True or False, # Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off.
1694 &quot;action&quot;: &quot;A String&quot;, # Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001695 &quot;rootFollowupIntentName&quot;: &quot;A String&quot;, # Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects//agent/intents/`.
1696 &quot;endInteraction&quot;: True or False, # Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is false.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001697 &quot;messages&quot;: [ # Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
Bu Sun Kim65020912020-05-20 12:08:20 -07001698 { # Corresponds to the `Response` field in the Dialogflow console.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001699 &quot;browseCarouselCard&quot;: { # Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel # Browse carousel card for Actions on Google.
1700 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
1701 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
1702 { # Browsing carousel tile
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001703 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
1704 &quot;url&quot;: &quot;A String&quot;, # Required. URL
1705 &quot;urlTypeHint&quot;: &quot;A String&quot;, # Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via web browser.
1706 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001707 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001708 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001709 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001710 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001711 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001712 &quot;footer&quot;: &quot;A String&quot;, # Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001713 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001714 },
1715 ],
1716 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001717 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
1718 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to transfer the call to in [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently only allow transferring to US numbers (+1xxxyyyzzzz).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001719 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001720 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
1721 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
1722 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
1723 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
Bu Sun Kim65020912020-05-20 12:08:20 -07001724 },
1725 ],
1726 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001727 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001728 &quot;items&quot;: [ # Required. List items.
1729 { # An item in the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001730 &quot;image&quot;: { # The image response message. # Optional. The image to display.
1731 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1732 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1733 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001734 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001735 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
1736 &quot;A String&quot;,
1737 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001738 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001739 },
1740 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001741 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
Bu Sun Kim65020912020-05-20 12:08:20 -07001742 },
1743 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001744 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001745 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
1746 },
1747 &quot;image&quot;: { # The image response message. # Displays an image.
1748 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1749 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1750 },
1751 &quot;linkOutSuggestion&quot;: { # The suggestion chip message that allows the user to jump out to the app or website associated with this agent. # Displays a link out suggestion chip for Actions on Google.
1752 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
1753 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
1754 },
1755 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
1756 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
1757 { # The button object that appears at the bottom of a card.
1758 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
1759 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
1760 },
1761 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
1762 },
1763 ],
1764 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
1765 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
1766 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1767 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1768 },
1769 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
1770 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001771 },
1772 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
1773 &quot;items&quot;: [ # Required. Carousel items.
1774 { # An item in the carousel.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001775 &quot;image&quot;: { # The image response message. # Optional. The image to display.
1776 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1777 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1778 },
1779 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001780 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001781 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
1782 &quot;A String&quot;,
1783 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001784 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001785 },
1786 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001787 },
1788 ],
1789 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001790 &quot;text&quot;: { # The text response message. # Returns a text response.
1791 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
1792 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001793 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001794 },
1795 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001796 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001797 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
1798 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1799 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1800 },
1801 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
Bu Sun Kim65020912020-05-20 12:08:20 -07001802 &quot;rows&quot;: [ # Optional. Rows in this table of data.
1803 { # Row of TableCard.
Bu Sun Kim65020912020-05-20 12:08:20 -07001804 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
1805 { # Cell of TableCardRow.
1806 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
1807 },
1808 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001809 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
1810 },
1811 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001812 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
1813 { # Column properties for TableCard.
1814 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
1815 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
1816 },
1817 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001818 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
1819 { # The button object that appears at the bottom of a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001820 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
1821 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
1822 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001823 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
Bu Sun Kim65020912020-05-20 12:08:20 -07001824 },
1825 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001826 },
1827 &quot;rbmCarouselRichCard&quot;: { # Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead. # Rich Business Messaging (RBM) carousel rich card response.
1828 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
1829 { # Rich Business Messaging (RBM) Card content
1830 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
1831 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
1832 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
1833 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1834 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
1835 },
1836 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
1837 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
1838 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
1839 },
1840 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
1841 },
1842 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
1843 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
1844 },
1845 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
1846 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
1847 },
1848 },
1849 ],
1850 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
1851 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
1852 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
1853 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
1854 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
1855 },
1856 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
1857 },
1858 ],
1859 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001860 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001861 &quot;card&quot;: { # The card response message. # Displays a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001862 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001863 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
1864 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001865 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
1866 { # Optional. Contains information about a button.
1867 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
1868 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
Bu Sun Kim65020912020-05-20 12:08:20 -07001869 },
1870 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001871 },
1872 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
1873 &quot;mediaObjects&quot;: [ # Required. List of media objects.
1874 { # Response media object for media content card.
1875 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
1876 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
1877 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
1878 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
1879 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1880 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1881 },
1882 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
1883 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1884 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
1885 },
1886 },
1887 ],
1888 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
1889 },
1890 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
1891 &quot;rbmStandaloneRichCard&quot;: { # Standalone Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout. # Standalone Rich Business Messaging (RBM) rich card response.
1892 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
1893 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
1894 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
1895 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
1896 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1897 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
1898 },
1899 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
1900 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
1901 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
1902 },
1903 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
1904 },
1905 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
1906 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
1907 },
1908 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
1909 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
1910 },
1911 },
1912 ],
1913 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
1914 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
1915 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
1916 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
1917 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
1918 },
1919 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
1920 },
1921 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
1922 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Bu Sun Kim65020912020-05-20 12:08:20 -07001923 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001924 &quot;payload&quot;: { # A custom platform-specific response.
1925 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Bu Sun Kim65020912020-05-20 12:08:20 -07001926 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001927 &quot;simpleResponses&quot;: { # The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`. # Returns a voice or text-only response for Actions on Google.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001928 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
1929 { # The simple response message containing speech or text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001930 &quot;ssml&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001931 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
1932 &quot;textToSpeech&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001933 },
1934 ],
1935 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001936 &quot;rbmText&quot;: { # Rich Business Messaging (RBM) text response with suggestions. # Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001937 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001938 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
1939 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001940 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
1941 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1942 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
1943 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001944 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001945 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
1946 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
1947 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001948 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
1949 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001950 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
1951 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
1952 },
1953 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
1954 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001955 },
1956 },
1957 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001958 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001959 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
1960 &quot;audioUri&quot;: &quot;A String&quot;, # Required. URI to a Google Cloud Storage object containing the audio to play, e.g., &quot;gs://bucket/object&quot;. The object must contain a single channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz. This object must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account where is the number of the Telephony Gateway project (usually the same as the Dialogflow agent project). If the Google Cloud Storage bucket is in the Telephony Gateway project, this permission is added by default when enabling the Dialogflow V2 API. For audio from other sources, consider using the `TelephonySynthesizeSpeech` message with SSML.
1961 },
1962 &quot;telephonySynthesizeSpeech&quot;: { # Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway. Telephony Gateway takes the synthesizer settings from `DetectIntentResponse.output_audio_config` which can either be set at request-level or can come from the agent-level synthesizer config. # Synthesizes speech in Telephony Gateway.
1963 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
1964 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001965 },
1966 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
1967 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
1968 &quot;A String&quot;,
1969 ],
1970 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
1971 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001972 },
1973 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001974 &quot;priority&quot;: 42, # Optional. The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001975 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001976 &quot;name&quot;: &quot;A String&quot;, # Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/`
1977 &quot;followupIntentInfo&quot;: [ # Output only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
1978 { # Represents a single followup intent in the chain.
1979 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
1980 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
1981 },
1982 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001983 }</pre>
1984</div>
1985
1986<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001987 <code class="details" id="list">list(parent, pageToken=None, languageCode=None, pageSize=None, intentView=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001988 <pre>Returns the list of all intents in the specified agent.
1989
1990Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001991 parent: string, Required. The agent to list all intents from. Format: `projects//agent`. (required)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001992 pageToken: string, Optional. The next_page_token value returned from a previous list request.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001993 languageCode: string, Optional. The language used to access language-specific data. If not specified, the agent&#x27;s default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001994 pageSize: integer, Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001995 intentView: string, Optional. The resource view to apply to the returned intent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001996 Allowed values
1997 INTENT_VIEW_UNSPECIFIED - Training phrases field is not populated in the response.
1998 INTENT_VIEW_FULL - All fields are populated.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001999 x__xgafv: string, V1 error format.
2000 Allowed values
2001 1 - v1 error format
2002 2 - v2 error format
2003
2004Returns:
2005 An object of the form:
2006
2007 { # The response message for Intents.ListIntents.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002008 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no more results in the list.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002009 &quot;intents&quot;: [ # The list of agent intents. There will be a maximum number of items returned based on the page_size field in the request.
2010 { # An intent categorizes an end-user&#x27;s intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002011 &quot;defaultResponsePlatforms&quot;: [ # Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
2012 &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -07002013 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002014 &quot;mlEnabled&quot;: True or False, # Optional. Indicates whether Machine Learning is enabled for the intent. Note: If `ml_enabled` setting is set to false, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, then the default value is determined as follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the default is: ml_enabled = true / ml_disabled = false.
2015 &quot;events&quot;: [ # Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
2016 &quot;A String&quot;,
2017 ],
2018 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
2019 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
2020 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
2021 { # Represents intent parameters.
2022 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
2023 &quot;defaultValue&quot;: &quot;A String&quot;, # Optional. The default value to use when the `value` yields an empty result. Default values can be extracted from contexts by using the following syntax: `#context_name.parameter_name`.
2024 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
2025 &quot;entityTypeDisplayName&quot;: &quot;A String&quot;, # Optional. The name of the entity type, prefixed with `@`, that describes values of the parameter. If the parameter is required, this must be provided.
2026 &quot;value&quot;: &quot;A String&quot;, # Optional. The definition of the parameter value. It can be: - a constant string, - a parameter value defined as `$parameter_name`, - an original parameter value defined as `$parameter_name.original`, - a parameter value from some context defined as `#context_name.parameter_name`.
2027 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
2028 &quot;prompts&quot;: [ # Optional. The collection of prompts that the agent can present to the user in order to collect a value for the parameter.
2029 &quot;A String&quot;,
2030 ],
2031 &quot;mandatory&quot;: True or False, # Optional. Indicates whether the parameter is required. That is, whether the intent cannot be completed without collecting the parameter value.
2032 },
2033 ],
2034 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
2035 { # Represents an example that the agent is trained on.
2036 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
2037 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
2038 &quot;parts&quot;: [ # Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `entity_type`, `alias`, and `user_defined` fields are all set.
2039 { # Represents a part of a training phrase.
2040 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
2041 &quot;alias&quot;: &quot;A String&quot;, # Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.
2042 &quot;userDefined&quot;: True or False, # Optional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.
2043 &quot;entityType&quot;: &quot;A String&quot;, # Optional. The entity type name prefixed with `@`. This field is required for annotated parts of the training phrase.
2044 },
2045 ],
2046 &quot;timesAddedCount&quot;: 42, # Optional. Indicates how many times this example was added to the intent. Each time a developer adds an existing sample by editing an intent or training, this counter is increased.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002047 },
2048 ],
2049 &quot;inputContextNames&quot;: [ # Optional. The list of context names required for this intent to be triggered. Formats: - `projects//agent/sessions/-/contexts/` - `projects//locations//agent/sessions/-/contexts/`
2050 &quot;A String&quot;,
2051 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002052 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # Optional. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with CreateIntent or BatchUpdateIntents, in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects//agent/intents/`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002053 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002054 &quot;outputContexts&quot;: [ # Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects//agent/sessions/-/contexts/`.
2055 { # Dialogflow contexts are similar to natural language context. If a person says to you &quot;they are orange&quot;, you need context in order to understand what &quot;they&quot; is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent. Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts. For more information about context, see the [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview).
2056 &quot;parameters&quot;: { # Optional. The collection of parameters associated with this context. 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&#x27;s entity type is a composite entity: map - Else: string or number, depending on parameter value type - MapValue value: - If parameter&#x27;s entity type is a composite entity: map from composite entity property names to property values - Else: parameter value
2057 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2058 },
2059 &quot;name&quot;: &quot;A String&quot;, # Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default &#x27;draft&#x27; environment. If `User ID` is not specified, we assume default &#x27;-&#x27; user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
2060 &quot;lifespanCount&quot;: 42, # Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries.
2061 },
2062 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002063 &quot;mlDisabled&quot;: True or False, # Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off.
2064 &quot;action&quot;: &quot;A String&quot;, # Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002065 &quot;rootFollowupIntentName&quot;: &quot;A String&quot;, # Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects//agent/intents/`.
2066 &quot;endInteraction&quot;: True or False, # Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is false.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002067 &quot;messages&quot;: [ # Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
Bu Sun Kim65020912020-05-20 12:08:20 -07002068 { # Corresponds to the `Response` field in the Dialogflow console.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002069 &quot;browseCarouselCard&quot;: { # Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel # Browse carousel card for Actions on Google.
2070 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
2071 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
2072 { # Browsing carousel tile
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002073 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
2074 &quot;url&quot;: &quot;A String&quot;, # Required. URL
2075 &quot;urlTypeHint&quot;: &quot;A String&quot;, # Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via web browser.
2076 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002077 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002078 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002079 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002080 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002081 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002082 &quot;footer&quot;: &quot;A String&quot;, # Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002083 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002084 },
2085 ],
2086 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002087 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
2088 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to transfer the call to in [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently only allow transferring to US numbers (+1xxxyyyzzzz).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002089 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002090 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
2091 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
2092 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
2093 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
Bu Sun Kim65020912020-05-20 12:08:20 -07002094 },
2095 ],
2096 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002097 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002098 &quot;items&quot;: [ # Required. List items.
2099 { # An item in the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002100 &quot;image&quot;: { # The image response message. # Optional. The image to display.
2101 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2102 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2103 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002104 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002105 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
2106 &quot;A String&quot;,
2107 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002108 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002109 },
2110 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002111 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
Bu Sun Kim65020912020-05-20 12:08:20 -07002112 },
2113 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002114 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002115 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
2116 },
2117 &quot;image&quot;: { # The image response message. # Displays an image.
2118 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2119 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2120 },
2121 &quot;linkOutSuggestion&quot;: { # The suggestion chip message that allows the user to jump out to the app or website associated with this agent. # Displays a link out suggestion chip for Actions on Google.
2122 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
2123 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
2124 },
2125 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
2126 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
2127 { # The button object that appears at the bottom of a card.
2128 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
2129 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
2130 },
2131 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
2132 },
2133 ],
2134 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
2135 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
2136 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2137 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2138 },
2139 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
2140 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002141 },
2142 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
2143 &quot;items&quot;: [ # Required. Carousel items.
2144 { # An item in the carousel.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002145 &quot;image&quot;: { # The image response message. # Optional. The image to display.
2146 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2147 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2148 },
2149 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002150 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002151 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
2152 &quot;A String&quot;,
2153 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002154 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002155 },
2156 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002157 },
2158 ],
2159 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002160 &quot;text&quot;: { # The text response message. # Returns a text response.
2161 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
2162 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002163 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002164 },
2165 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002166 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002167 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
2168 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2169 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2170 },
2171 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
Bu Sun Kim65020912020-05-20 12:08:20 -07002172 &quot;rows&quot;: [ # Optional. Rows in this table of data.
2173 { # Row of TableCard.
Bu Sun Kim65020912020-05-20 12:08:20 -07002174 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
2175 { # Cell of TableCardRow.
2176 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
2177 },
2178 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002179 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
2180 },
2181 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002182 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
2183 { # Column properties for TableCard.
2184 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
2185 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
2186 },
2187 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002188 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
2189 { # The button object that appears at the bottom of a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002190 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
2191 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
2192 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002193 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
Bu Sun Kim65020912020-05-20 12:08:20 -07002194 },
2195 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002196 },
2197 &quot;rbmCarouselRichCard&quot;: { # Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead. # Rich Business Messaging (RBM) carousel rich card response.
2198 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
2199 { # Rich Business Messaging (RBM) Card content
2200 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
2201 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2202 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
2203 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2204 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
2205 },
2206 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
2207 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
2208 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
2209 },
2210 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
2211 },
2212 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
2213 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
2214 },
2215 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
2216 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
2217 },
2218 },
2219 ],
2220 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
2221 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
2222 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
2223 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
2224 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
2225 },
2226 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
2227 },
2228 ],
2229 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002230 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002231 &quot;card&quot;: { # The card response message. # Displays a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002232 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002233 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
2234 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002235 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
2236 { # Optional. Contains information about a button.
2237 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
2238 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
Bu Sun Kim65020912020-05-20 12:08:20 -07002239 },
2240 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002241 },
2242 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
2243 &quot;mediaObjects&quot;: [ # Required. List of media objects.
2244 { # Response media object for media content card.
2245 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
2246 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
2247 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
2248 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
2249 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2250 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2251 },
2252 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
2253 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2254 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2255 },
2256 },
2257 ],
2258 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
2259 },
2260 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
2261 &quot;rbmStandaloneRichCard&quot;: { # Standalone Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout. # Standalone Rich Business Messaging (RBM) rich card response.
2262 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
2263 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
2264 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2265 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
2266 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2267 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
2268 },
2269 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
2270 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
2271 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
2272 },
2273 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
2274 },
2275 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
2276 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
2277 },
2278 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
2279 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
2280 },
2281 },
2282 ],
2283 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
2284 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
2285 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
2286 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
2287 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
2288 },
2289 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
2290 },
2291 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
2292 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Bu Sun Kim65020912020-05-20 12:08:20 -07002293 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002294 &quot;payload&quot;: { # A custom platform-specific response.
2295 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Bu Sun Kim65020912020-05-20 12:08:20 -07002296 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002297 &quot;simpleResponses&quot;: { # The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`. # Returns a voice or text-only response for Actions on Google.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002298 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
2299 { # The simple response message containing speech or text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002300 &quot;ssml&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002301 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
2302 &quot;textToSpeech&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002303 },
2304 ],
2305 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002306 &quot;rbmText&quot;: { # Rich Business Messaging (RBM) text response with suggestions. # Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002307 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002308 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
2309 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002310 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
2311 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2312 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
2313 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002314 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002315 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
2316 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
2317 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002318 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
2319 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002320 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
2321 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
2322 },
2323 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
2324 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002325 },
2326 },
2327 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002328 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002329 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
2330 &quot;audioUri&quot;: &quot;A String&quot;, # Required. URI to a Google Cloud Storage object containing the audio to play, e.g., &quot;gs://bucket/object&quot;. The object must contain a single channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz. This object must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account where is the number of the Telephony Gateway project (usually the same as the Dialogflow agent project). If the Google Cloud Storage bucket is in the Telephony Gateway project, this permission is added by default when enabling the Dialogflow V2 API. For audio from other sources, consider using the `TelephonySynthesizeSpeech` message with SSML.
2331 },
2332 &quot;telephonySynthesizeSpeech&quot;: { # Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway. Telephony Gateway takes the synthesizer settings from `DetectIntentResponse.output_audio_config` which can either be set at request-level or can come from the agent-level synthesizer config. # Synthesizes speech in Telephony Gateway.
2333 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
2334 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002335 },
2336 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
2337 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
2338 &quot;A String&quot;,
2339 ],
2340 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
2341 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002342 },
2343 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002344 &quot;priority&quot;: 42, # Optional. The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002345 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002346 &quot;name&quot;: &quot;A String&quot;, # Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/`
2347 &quot;followupIntentInfo&quot;: [ # Output only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
2348 { # Represents a single followup intent in the chain.
2349 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
2350 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
2351 },
2352 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002353 },
2354 ],
2355 }</pre>
2356</div>
2357
2358<div class="method">
2359 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
2360 <pre>Retrieves the next page of results.
2361
2362Args:
2363 previous_request: The request for the previous page. (required)
2364 previous_response: The response from the request for the previous page. (required)
2365
2366Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07002367 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002368 page. Returns None if there are no more items in the collection.
2369 </pre>
2370</div>
2371
2372<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002373 <code class="details" id="patch">patch(name, body=None, intentView=None, languageCode=None, updateMask=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002374 <pre>Updates the specified intent.
2375
2376Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002377 name: string, Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/` (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002378 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002379 The object takes the form of:
2380
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002381{ # An intent categorizes an end-user&#x27;s intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002382 &quot;defaultResponsePlatforms&quot;: [ # Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
2383 &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -07002384 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002385 &quot;mlEnabled&quot;: True or False, # Optional. Indicates whether Machine Learning is enabled for the intent. Note: If `ml_enabled` setting is set to false, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, then the default value is determined as follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the default is: ml_enabled = true / ml_disabled = false.
2386 &quot;events&quot;: [ # Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
2387 &quot;A String&quot;,
2388 ],
2389 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
2390 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
2391 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
2392 { # Represents intent parameters.
2393 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
2394 &quot;defaultValue&quot;: &quot;A String&quot;, # Optional. The default value to use when the `value` yields an empty result. Default values can be extracted from contexts by using the following syntax: `#context_name.parameter_name`.
2395 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
2396 &quot;entityTypeDisplayName&quot;: &quot;A String&quot;, # Optional. The name of the entity type, prefixed with `@`, that describes values of the parameter. If the parameter is required, this must be provided.
2397 &quot;value&quot;: &quot;A String&quot;, # Optional. The definition of the parameter value. It can be: - a constant string, - a parameter value defined as `$parameter_name`, - an original parameter value defined as `$parameter_name.original`, - a parameter value from some context defined as `#context_name.parameter_name`.
2398 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
2399 &quot;prompts&quot;: [ # Optional. The collection of prompts that the agent can present to the user in order to collect a value for the parameter.
2400 &quot;A String&quot;,
2401 ],
2402 &quot;mandatory&quot;: True or False, # Optional. Indicates whether the parameter is required. That is, whether the intent cannot be completed without collecting the parameter value.
2403 },
2404 ],
2405 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
2406 { # Represents an example that the agent is trained on.
2407 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
2408 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
2409 &quot;parts&quot;: [ # Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `entity_type`, `alias`, and `user_defined` fields are all set.
2410 { # Represents a part of a training phrase.
2411 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
2412 &quot;alias&quot;: &quot;A String&quot;, # Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.
2413 &quot;userDefined&quot;: True or False, # Optional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.
2414 &quot;entityType&quot;: &quot;A String&quot;, # Optional. The entity type name prefixed with `@`. This field is required for annotated parts of the training phrase.
2415 },
2416 ],
2417 &quot;timesAddedCount&quot;: 42, # Optional. Indicates how many times this example was added to the intent. Each time a developer adds an existing sample by editing an intent or training, this counter is increased.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002418 },
2419 ],
2420 &quot;inputContextNames&quot;: [ # Optional. The list of context names required for this intent to be triggered. Formats: - `projects//agent/sessions/-/contexts/` - `projects//locations//agent/sessions/-/contexts/`
2421 &quot;A String&quot;,
2422 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002423 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # Optional. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with CreateIntent or BatchUpdateIntents, in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects//agent/intents/`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002424 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002425 &quot;outputContexts&quot;: [ # Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects//agent/sessions/-/contexts/`.
2426 { # Dialogflow contexts are similar to natural language context. If a person says to you &quot;they are orange&quot;, you need context in order to understand what &quot;they&quot; is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent. Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts. For more information about context, see the [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview).
2427 &quot;parameters&quot;: { # Optional. The collection of parameters associated with this context. 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&#x27;s entity type is a composite entity: map - Else: string or number, depending on parameter value type - MapValue value: - If parameter&#x27;s entity type is a composite entity: map from composite entity property names to property values - Else: parameter value
2428 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2429 },
2430 &quot;name&quot;: &quot;A String&quot;, # Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default &#x27;draft&#x27; environment. If `User ID` is not specified, we assume default &#x27;-&#x27; user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
2431 &quot;lifespanCount&quot;: 42, # Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries.
2432 },
2433 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002434 &quot;mlDisabled&quot;: True or False, # Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off.
2435 &quot;action&quot;: &quot;A String&quot;, # Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002436 &quot;rootFollowupIntentName&quot;: &quot;A String&quot;, # Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects//agent/intents/`.
2437 &quot;endInteraction&quot;: True or False, # Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is false.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002438 &quot;messages&quot;: [ # Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
Bu Sun Kim65020912020-05-20 12:08:20 -07002439 { # Corresponds to the `Response` field in the Dialogflow console.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002440 &quot;browseCarouselCard&quot;: { # Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel # Browse carousel card for Actions on Google.
2441 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
2442 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
2443 { # Browsing carousel tile
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002444 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
2445 &quot;url&quot;: &quot;A String&quot;, # Required. URL
2446 &quot;urlTypeHint&quot;: &quot;A String&quot;, # Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via web browser.
2447 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002448 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002449 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002450 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002451 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002452 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002453 &quot;footer&quot;: &quot;A String&quot;, # Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002454 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002455 },
2456 ],
2457 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002458 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
2459 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to transfer the call to in [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently only allow transferring to US numbers (+1xxxyyyzzzz).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002460 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002461 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
2462 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
2463 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
2464 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
Bu Sun Kim65020912020-05-20 12:08:20 -07002465 },
2466 ],
2467 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002468 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002469 &quot;items&quot;: [ # Required. List items.
2470 { # An item in the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002471 &quot;image&quot;: { # The image response message. # Optional. The image to display.
2472 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2473 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2474 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002475 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002476 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
2477 &quot;A String&quot;,
2478 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002479 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002480 },
2481 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002482 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
Bu Sun Kim65020912020-05-20 12:08:20 -07002483 },
2484 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002485 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002486 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
2487 },
2488 &quot;image&quot;: { # The image response message. # Displays an image.
2489 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2490 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2491 },
2492 &quot;linkOutSuggestion&quot;: { # The suggestion chip message that allows the user to jump out to the app or website associated with this agent. # Displays a link out suggestion chip for Actions on Google.
2493 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
2494 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
2495 },
2496 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
2497 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
2498 { # The button object that appears at the bottom of a card.
2499 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
2500 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
2501 },
2502 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
2503 },
2504 ],
2505 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
2506 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
2507 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2508 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2509 },
2510 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
2511 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002512 },
2513 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
2514 &quot;items&quot;: [ # Required. Carousel items.
2515 { # An item in the carousel.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002516 &quot;image&quot;: { # The image response message. # Optional. The image to display.
2517 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2518 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2519 },
2520 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002521 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002522 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
2523 &quot;A String&quot;,
2524 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002525 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002526 },
2527 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002528 },
2529 ],
2530 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002531 &quot;text&quot;: { # The text response message. # Returns a text response.
2532 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
2533 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002534 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002535 },
2536 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002537 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002538 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
2539 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2540 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2541 },
2542 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
Bu Sun Kim65020912020-05-20 12:08:20 -07002543 &quot;rows&quot;: [ # Optional. Rows in this table of data.
2544 { # Row of TableCard.
Bu Sun Kim65020912020-05-20 12:08:20 -07002545 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
2546 { # Cell of TableCardRow.
2547 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
2548 },
2549 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002550 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
2551 },
2552 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002553 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
2554 { # Column properties for TableCard.
2555 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
2556 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
2557 },
2558 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002559 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
2560 { # The button object that appears at the bottom of a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002561 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
2562 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
2563 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002564 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
Bu Sun Kim65020912020-05-20 12:08:20 -07002565 },
2566 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002567 },
2568 &quot;rbmCarouselRichCard&quot;: { # Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead. # Rich Business Messaging (RBM) carousel rich card response.
2569 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
2570 { # Rich Business Messaging (RBM) Card content
2571 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
2572 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2573 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
2574 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2575 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
2576 },
2577 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
2578 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
2579 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
2580 },
2581 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
2582 },
2583 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
2584 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
2585 },
2586 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
2587 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
2588 },
2589 },
2590 ],
2591 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
2592 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
2593 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
2594 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
2595 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
2596 },
2597 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
2598 },
2599 ],
2600 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002601 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002602 &quot;card&quot;: { # The card response message. # Displays a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002603 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002604 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
2605 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002606 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
2607 { # Optional. Contains information about a button.
2608 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
2609 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
Bu Sun Kim65020912020-05-20 12:08:20 -07002610 },
2611 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002612 },
2613 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
2614 &quot;mediaObjects&quot;: [ # Required. List of media objects.
2615 { # Response media object for media content card.
2616 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
2617 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
2618 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
2619 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
2620 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2621 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2622 },
2623 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
2624 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2625 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2626 },
2627 },
2628 ],
2629 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
2630 },
2631 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
2632 &quot;rbmStandaloneRichCard&quot;: { # Standalone Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout. # Standalone Rich Business Messaging (RBM) rich card response.
2633 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
2634 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
2635 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2636 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
2637 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2638 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
2639 },
2640 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
2641 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
2642 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
2643 },
2644 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
2645 },
2646 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
2647 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
2648 },
2649 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
2650 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
2651 },
2652 },
2653 ],
2654 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
2655 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
2656 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
2657 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
2658 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
2659 },
2660 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
2661 },
2662 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
2663 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Bu Sun Kim65020912020-05-20 12:08:20 -07002664 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002665 &quot;payload&quot;: { # A custom platform-specific response.
2666 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Bu Sun Kim65020912020-05-20 12:08:20 -07002667 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002668 &quot;simpleResponses&quot;: { # The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`. # Returns a voice or text-only response for Actions on Google.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002669 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
2670 { # The simple response message containing speech or text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002671 &quot;ssml&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002672 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
2673 &quot;textToSpeech&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002674 },
2675 ],
2676 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002677 &quot;rbmText&quot;: { # Rich Business Messaging (RBM) text response with suggestions. # Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002678 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002679 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
2680 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002681 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
2682 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2683 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
2684 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002685 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002686 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
2687 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
2688 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002689 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
2690 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002691 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
2692 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
2693 },
2694 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
2695 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002696 },
2697 },
2698 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002699 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002700 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
2701 &quot;audioUri&quot;: &quot;A String&quot;, # Required. URI to a Google Cloud Storage object containing the audio to play, e.g., &quot;gs://bucket/object&quot;. The object must contain a single channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz. This object must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account where is the number of the Telephony Gateway project (usually the same as the Dialogflow agent project). If the Google Cloud Storage bucket is in the Telephony Gateway project, this permission is added by default when enabling the Dialogflow V2 API. For audio from other sources, consider using the `TelephonySynthesizeSpeech` message with SSML.
2702 },
2703 &quot;telephonySynthesizeSpeech&quot;: { # Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway. Telephony Gateway takes the synthesizer settings from `DetectIntentResponse.output_audio_config` which can either be set at request-level or can come from the agent-level synthesizer config. # Synthesizes speech in Telephony Gateway.
2704 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
2705 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002706 },
2707 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
2708 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
2709 &quot;A String&quot;,
2710 ],
2711 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
2712 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002713 },
2714 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002715 &quot;priority&quot;: 42, # Optional. The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002716 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002717 &quot;name&quot;: &quot;A String&quot;, # Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/`
2718 &quot;followupIntentInfo&quot;: [ # Output only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
2719 { # Represents a single followup intent in the chain.
2720 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
2721 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
2722 },
2723 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002724}
2725
Bu Sun Kim65020912020-05-20 12:08:20 -07002726 intentView: string, Optional. The resource view to apply to the returned intent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002727 Allowed values
2728 INTENT_VIEW_UNSPECIFIED - Training phrases field is not populated in the response.
2729 INTENT_VIEW_FULL - All fields are populated.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002730 languageCode: string, Optional. The language used to access language-specific data. If not specified, the agent&#x27;s default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002731 updateMask: string, Optional. The mask to control which fields get updated.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002732 x__xgafv: string, V1 error format.
2733 Allowed values
2734 1 - v1 error format
2735 2 - v2 error format
2736
2737Returns:
2738 An object of the form:
2739
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002740 { # An intent categorizes an end-user&#x27;s intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002741 &quot;defaultResponsePlatforms&quot;: [ # Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
2742 &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -07002743 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002744 &quot;mlEnabled&quot;: True or False, # Optional. Indicates whether Machine Learning is enabled for the intent. Note: If `ml_enabled` setting is set to false, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, then the default value is determined as follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the default is: ml_enabled = true / ml_disabled = false.
2745 &quot;events&quot;: [ # Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
2746 &quot;A String&quot;,
2747 ],
2748 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
2749 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
2750 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
2751 { # Represents intent parameters.
2752 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
2753 &quot;defaultValue&quot;: &quot;A String&quot;, # Optional. The default value to use when the `value` yields an empty result. Default values can be extracted from contexts by using the following syntax: `#context_name.parameter_name`.
2754 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
2755 &quot;entityTypeDisplayName&quot;: &quot;A String&quot;, # Optional. The name of the entity type, prefixed with `@`, that describes values of the parameter. If the parameter is required, this must be provided.
2756 &quot;value&quot;: &quot;A String&quot;, # Optional. The definition of the parameter value. It can be: - a constant string, - a parameter value defined as `$parameter_name`, - an original parameter value defined as `$parameter_name.original`, - a parameter value from some context defined as `#context_name.parameter_name`.
2757 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
2758 &quot;prompts&quot;: [ # Optional. The collection of prompts that the agent can present to the user in order to collect a value for the parameter.
2759 &quot;A String&quot;,
2760 ],
2761 &quot;mandatory&quot;: True or False, # Optional. Indicates whether the parameter is required. That is, whether the intent cannot be completed without collecting the parameter value.
2762 },
2763 ],
2764 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
2765 { # Represents an example that the agent is trained on.
2766 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
2767 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
2768 &quot;parts&quot;: [ # Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `entity_type`, `alias`, and `user_defined` fields are all set.
2769 { # Represents a part of a training phrase.
2770 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
2771 &quot;alias&quot;: &quot;A String&quot;, # Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.
2772 &quot;userDefined&quot;: True or False, # Optional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.
2773 &quot;entityType&quot;: &quot;A String&quot;, # Optional. The entity type name prefixed with `@`. This field is required for annotated parts of the training phrase.
2774 },
2775 ],
2776 &quot;timesAddedCount&quot;: 42, # Optional. Indicates how many times this example was added to the intent. Each time a developer adds an existing sample by editing an intent or training, this counter is increased.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002777 },
2778 ],
2779 &quot;inputContextNames&quot;: [ # Optional. The list of context names required for this intent to be triggered. Formats: - `projects//agent/sessions/-/contexts/` - `projects//locations//agent/sessions/-/contexts/`
2780 &quot;A String&quot;,
2781 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002782 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # Optional. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with CreateIntent or BatchUpdateIntents, in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects//agent/intents/`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002783 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002784 &quot;outputContexts&quot;: [ # Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects//agent/sessions/-/contexts/`.
2785 { # Dialogflow contexts are similar to natural language context. If a person says to you &quot;they are orange&quot;, you need context in order to understand what &quot;they&quot; is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent. Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts. For more information about context, see the [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview).
2786 &quot;parameters&quot;: { # Optional. The collection of parameters associated with this context. 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&#x27;s entity type is a composite entity: map - Else: string or number, depending on parameter value type - MapValue value: - If parameter&#x27;s entity type is a composite entity: map from composite entity property names to property values - Else: parameter value
2787 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2788 },
2789 &quot;name&quot;: &quot;A String&quot;, # Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default &#x27;draft&#x27; environment. If `User ID` is not specified, we assume default &#x27;-&#x27; user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
2790 &quot;lifespanCount&quot;: 42, # Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries.
2791 },
2792 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002793 &quot;mlDisabled&quot;: True or False, # Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off.
2794 &quot;action&quot;: &quot;A String&quot;, # Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002795 &quot;rootFollowupIntentName&quot;: &quot;A String&quot;, # Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects//agent/intents/`.
2796 &quot;endInteraction&quot;: True or False, # Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is false.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002797 &quot;messages&quot;: [ # Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
Bu Sun Kim65020912020-05-20 12:08:20 -07002798 { # Corresponds to the `Response` field in the Dialogflow console.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002799 &quot;browseCarouselCard&quot;: { # Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel # Browse carousel card for Actions on Google.
2800 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
2801 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
2802 { # Browsing carousel tile
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002803 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
2804 &quot;url&quot;: &quot;A String&quot;, # Required. URL
2805 &quot;urlTypeHint&quot;: &quot;A String&quot;, # Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via web browser.
2806 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002807 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002808 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002809 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002810 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002811 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002812 &quot;footer&quot;: &quot;A String&quot;, # Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002813 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002814 },
2815 ],
2816 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002817 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
2818 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to transfer the call to in [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently only allow transferring to US numbers (+1xxxyyyzzzz).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002819 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002820 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
2821 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
2822 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
2823 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
Bu Sun Kim65020912020-05-20 12:08:20 -07002824 },
2825 ],
2826 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002827 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002828 &quot;items&quot;: [ # Required. List items.
2829 { # An item in the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002830 &quot;image&quot;: { # The image response message. # Optional. The image to display.
2831 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2832 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2833 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002834 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002835 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
2836 &quot;A String&quot;,
2837 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002838 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002839 },
2840 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002841 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
Bu Sun Kim65020912020-05-20 12:08:20 -07002842 },
2843 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002844 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002845 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
2846 },
2847 &quot;image&quot;: { # The image response message. # Displays an image.
2848 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2849 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2850 },
2851 &quot;linkOutSuggestion&quot;: { # The suggestion chip message that allows the user to jump out to the app or website associated with this agent. # Displays a link out suggestion chip for Actions on Google.
2852 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
2853 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
2854 },
2855 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
2856 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
2857 { # The button object that appears at the bottom of a card.
2858 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
2859 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
2860 },
2861 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
2862 },
2863 ],
2864 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
2865 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
2866 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2867 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2868 },
2869 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
2870 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002871 },
2872 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
2873 &quot;items&quot;: [ # Required. Carousel items.
2874 { # An item in the carousel.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002875 &quot;image&quot;: { # The image response message. # Optional. The image to display.
2876 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2877 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2878 },
2879 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002880 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002881 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
2882 &quot;A String&quot;,
2883 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002884 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002885 },
2886 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002887 },
2888 ],
2889 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002890 &quot;text&quot;: { # The text response message. # Returns a text response.
2891 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
2892 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002893 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002894 },
2895 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002896 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002897 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
2898 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2899 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2900 },
2901 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
Bu Sun Kim65020912020-05-20 12:08:20 -07002902 &quot;rows&quot;: [ # Optional. Rows in this table of data.
2903 { # Row of TableCard.
Bu Sun Kim65020912020-05-20 12:08:20 -07002904 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
2905 { # Cell of TableCardRow.
2906 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
2907 },
2908 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002909 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
2910 },
2911 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002912 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
2913 { # Column properties for TableCard.
2914 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
2915 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
2916 },
2917 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002918 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
2919 { # The button object that appears at the bottom of a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002920 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
2921 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
2922 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002923 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
Bu Sun Kim65020912020-05-20 12:08:20 -07002924 },
2925 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002926 },
2927 &quot;rbmCarouselRichCard&quot;: { # Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead. # Rich Business Messaging (RBM) carousel rich card response.
2928 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
2929 { # Rich Business Messaging (RBM) Card content
2930 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
2931 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2932 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
2933 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2934 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
2935 },
2936 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
2937 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
2938 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
2939 },
2940 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
2941 },
2942 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
2943 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
2944 },
2945 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
2946 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
2947 },
2948 },
2949 ],
2950 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
2951 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
2952 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
2953 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
2954 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
2955 },
2956 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
2957 },
2958 ],
2959 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002960 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002961 &quot;card&quot;: { # The card response message. # Displays a card.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002962 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002963 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
2964 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002965 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
2966 { # Optional. Contains information about a button.
2967 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
2968 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
Bu Sun Kim65020912020-05-20 12:08:20 -07002969 },
2970 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002971 },
2972 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
2973 &quot;mediaObjects&quot;: [ # Required. List of media objects.
2974 { # Response media object for media content card.
2975 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
2976 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
2977 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
2978 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
2979 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2980 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2981 },
2982 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
2983 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2984 &quot;accessibilityText&quot;: &quot;A String&quot;, # A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.
2985 },
2986 },
2987 ],
2988 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
2989 },
2990 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
2991 &quot;rbmStandaloneRichCard&quot;: { # Standalone Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout. # Standalone Rich Business Messaging (RBM) rich card response.
2992 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
2993 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
2994 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2995 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
2996 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2997 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
2998 },
2999 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
3000 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
3001 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
3002 },
3003 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
3004 },
3005 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
3006 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
3007 },
3008 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
3009 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
3010 },
3011 },
3012 ],
3013 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
3014 &quot;media&quot;: { # Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg&#x27; * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm # Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
3015 &quot;height&quot;: &quot;A String&quot;, # Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
3016 &quot;thumbnailUri&quot;: &quot;A String&quot;, # Optional. Publicly reachable URI of the thumbnail.If you don&#x27;t provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user&#x27;s device downloads the file. Depending on the user&#x27;s setting, the file may not download automatically and may require the user to tap a download button.
3017 &quot;fileUri&quot;: &quot;A String&quot;, # Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
3018 },
3019 &quot;title&quot;: &quot;A String&quot;, # Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
3020 },
3021 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
3022 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Bu Sun Kim65020912020-05-20 12:08:20 -07003023 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003024 &quot;payload&quot;: { # A custom platform-specific response.
3025 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Bu Sun Kim65020912020-05-20 12:08:20 -07003026 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003027 &quot;simpleResponses&quot;: { # The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`. # Returns a voice or text-only response for Actions on Google.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003028 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
3029 { # The simple response message containing speech or text.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003030 &quot;ssml&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003031 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
3032 &quot;textToSpeech&quot;: &quot;A String&quot;, # One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003033 },
3034 ],
3035 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003036 &quot;rbmText&quot;: { # Rich Business Messaging (RBM) text response with suggestions. # Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003037 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003038 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
3039 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003040 &quot;reply&quot;: { # Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. # Predefined replies for user to select instead of typing
3041 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
3042 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
3043 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003044 &quot;action&quot;: { # Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. # Predefined client side actions that user can choose
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003045 &quot;openUrl&quot;: { # Opens the user&#x27;s default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. # Suggested client side action: Open a URI on device
3046 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
3047 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003048 &quot;shareLocation&quot;: { # Opens the device&#x27;s location chooser so the user can pick a location to send back to the agent. # Suggested client side action: Share user location
3049 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003050 &quot;dial&quot;: { # Opens the user&#x27;s default dialer app with the specified phone number but does not dial automatically. # Suggested client side action: Dial a phone number
3051 &quot;phoneNumber&quot;: &quot;A String&quot;, # Required. The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888.
3052 },
3053 &quot;postbackData&quot;: &quot;A String&quot;, # Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
3054 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003055 },
3056 },
3057 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003058 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003059 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
3060 &quot;audioUri&quot;: &quot;A String&quot;, # Required. URI to a Google Cloud Storage object containing the audio to play, e.g., &quot;gs://bucket/object&quot;. The object must contain a single channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz. This object must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account where is the number of the Telephony Gateway project (usually the same as the Dialogflow agent project). If the Google Cloud Storage bucket is in the Telephony Gateway project, this permission is added by default when enabling the Dialogflow V2 API. For audio from other sources, consider using the `TelephonySynthesizeSpeech` message with SSML.
3061 },
3062 &quot;telephonySynthesizeSpeech&quot;: { # Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway. Telephony Gateway takes the synthesizer settings from `DetectIntentResponse.output_audio_config` which can either be set at request-level or can come from the agent-level synthesizer config. # Synthesizes speech in Telephony Gateway.
3063 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
3064 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003065 },
3066 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
3067 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
3068 &quot;A String&quot;,
3069 ],
3070 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
3071 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003072 },
3073 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003074 &quot;priority&quot;: 42, # Optional. The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003075 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003076 &quot;name&quot;: &quot;A String&quot;, # Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/`
3077 &quot;followupIntentInfo&quot;: [ # Output only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
3078 { # Represents a single followup intent in the chain.
3079 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
3080 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
3081 },
3082 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003083 }</pre>
3084</div>
3085
3086</body></html>