blob: 5546ba244a04e8e2559eec166b73fb3dd623a8c4 [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -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.locations.html">locations</a> . <a href="dialogflow_v2beta1.projects.locations.agent.html">agent</a> . <a href="dialogflow_v2beta1.projects.locations.agent.intents.html">intents</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <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 Kim65020912020-05-20 12:08:20 -070080<p class="toc_element">
81 <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>
Bu Sun Kim65020912020-05-20 12:08:20 -070083<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070084 <code><a href="#close">close()</a></code></p>
85<p class="firstline">Close httplib2 connections.</p>
86<p class="toc_element">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -080087 <code><a href="#create">create(parent, body=None, languageCode=None, intentView=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -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">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080093 <code><a href="#get">get(name, languageCode=None, intentView=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070094<p class="firstline">Retrieves the specified intent.</p>
95<p class="toc_element">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -080096 <code><a href="#list">list(parent, pageSize=None, pageToken=None, intentView=None, languageCode=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -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 Bot0bf565c2020-12-09 08:56:03 -0800102 <code><a href="#patch">patch(name, body=None, updateMask=None, languageCode=None, intentView=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700103<p class="firstline">Updates the specified intent.</p>
104<h3>Method Details</h3>
105<div class="method">
106 <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 Kim65020912020-05-20 12:08:20 -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)
Bu Sun Kim65020912020-05-20 12:08:20 -0700111 body: object, The request body.
112 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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800117 &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.
118 &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.
119 &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.
120 &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/`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800121 &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 -0700122 &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/`.
123 { # 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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800124 &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`
125 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700126 &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
127 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
128 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700129 },
130 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800131 &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.
132 { # Represents a single followup intent in the chain.
133 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
134 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
135 },
136 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800137 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800138 &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.
139 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
140 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700141 &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 -0700142 { # Corresponds to the `Response` field in the Dialogflow console.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800143 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
144 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800145 },
146 &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.
147 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
148 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
149 { # Browsing carousel tile
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800150 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800151 &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.
152 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
153 &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.
154 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
155 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800156 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
157 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
158 &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.
159 &quot;url&quot;: &quot;A String&quot;, # Required. URL
160 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700161 },
162 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800163 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800164 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
165 &quot;mediaObjects&quot;: [ # Required. List of media objects.
166 { # Response media object for media content card.
167 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
168 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
169 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
170 &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.
171 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
172 },
173 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
174 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
175 &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.
176 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
177 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800178 },
179 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800180 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800181 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800182 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
183 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
184 { # The button object that appears at the bottom of a card.
185 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
186 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
187 },
188 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
189 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800190 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800191 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
192 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
193 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
194 &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.
195 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
196 },
197 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800198 },
199 &quot;payload&quot;: { # A custom platform-specific response.
200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
201 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800202 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800203 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800204 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
205 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
206 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
207 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
208 &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
209 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
210 &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.
211 },
212 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800213 &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.
214 &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
215 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800216 },
217 &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
218 },
219 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800220 &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
221 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800222 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800223 },
224 },
225 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800226 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800227 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800228 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800229 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800230 &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.
231 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800232 },
233 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700234 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800235 &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.
236 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
237 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
238 { # Rich Business Messaging (RBM) Card content
239 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
240 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
241 &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
242 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
243 &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.
244 },
245 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800246 &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.
247 &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
248 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800249 },
250 &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
251 },
252 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800253 &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
254 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800255 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800256 },
257 },
258 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800259 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800260 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800261 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800262 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800263 &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.
264 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800265 },
266 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800267 ],
268 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800269 &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.
270 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
271 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
272 },
273 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
274 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
275 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
276 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
277 },
278 ],
279 },
280 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
281 &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).
282 },
283 &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.
284 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
285 { # The simple response message containing speech or text.
286 &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.
287 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
288 &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.
289 },
290 ],
291 },
292 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
293 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
294 { # Column properties for TableCard.
295 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
296 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
297 },
298 ],
299 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
300 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
301 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
302 &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.
303 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
304 },
305 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
306 { # The button object that appears at the bottom of a card.
307 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
308 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
309 },
310 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
311 },
312 ],
313 &quot;rows&quot;: [ # Optional. Rows in this table of data.
314 { # Row of TableCard.
315 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
316 { # Cell of TableCardRow.
317 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
318 },
319 ],
320 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
321 },
322 ],
323 },
324 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
325 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
326 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
327 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
328 &quot;items&quot;: [ # Required. List items.
329 { # An item in the list.
330 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
331 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
332 &quot;image&quot;: { # The image response message. # Optional. The image to display.
333 &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.
334 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
335 },
336 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
337 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
338 &quot;A String&quot;,
339 ],
340 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
341 },
342 },
343 ],
344 },
345 &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.
346 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
347 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
348 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
349 &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
350 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
351 &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.
352 },
353 &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
354 &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.
355 &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
356 &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.
357 },
358 &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
359 },
360 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
361 &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
362 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
363 },
364 },
365 },
366 ],
367 },
368 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
369 &quot;items&quot;: [ # Required. Carousel items.
370 { # An item in the carousel.
371 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
372 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
373 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
374 &quot;A String&quot;,
375 ],
376 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
377 },
378 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
379 &quot;image&quot;: { # The image response message. # Optional. The image to display.
380 &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.
381 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
382 },
383 },
384 ],
385 },
386 &quot;text&quot;: { # The text response message. # Returns a text response.
387 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
388 &quot;A String&quot;,
389 ],
390 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800391 &quot;image&quot;: { # The image response message. # Displays an image.
392 &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.
393 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
394 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800395 &quot;card&quot;: { # The card response message. # Displays a card.
396 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
397 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
398 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
399 { # Optional. Contains information about a button.
400 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
401 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
402 },
403 ],
404 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
405 },
406 &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.
407 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
408 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
409 },
410 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
411 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
412 &quot;A String&quot;,
413 ],
414 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800415 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700416 },
417 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800418 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
419 &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/`.
420 &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).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800421 &quot;A String&quot;,
422 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800423 &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/`
424 &quot;A String&quot;,
425 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800426 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
427 { # Represents an example that the agent is trained on.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800428 &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.
429 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
430 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800431 &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.
432 { # Represents a part of a training phrase.
433 &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.
434 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800435 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800436 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800437 },
438 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800439 },
440 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800441 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
442 { # Represents intent parameters.
443 &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`.
444 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
445 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
446 &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`.
447 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
448 &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.
449 &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.
450 &quot;A String&quot;,
451 ],
452 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800453 },
454 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800455 &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.
456 &quot;A String&quot;,
457 ],
458 &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/`
Bu Sun Kim65020912020-05-20 12:08:20 -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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800472 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700473 &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 -0700474 &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 -0700475 {
476 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
477 },
478 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800479 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
480 &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 -0700481 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700482 &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.
483 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
484 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800485 &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}`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800486 &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`.
487 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
488 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700489 }</pre>
490</div>
491
492<div class="method">
493 <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 Kim65020912020-05-20 12:08:20 -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)
Bu Sun Kim65020912020-05-20 12:08:20 -0700498 body: object, The request body.
499 The object takes the form of:
500
501{ # The request message for Intents.BatchUpdateIntents.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800502 &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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800503 &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;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700504 &quot;intentBatchInline&quot;: { # This message is a wrapper around a collection of intents. # The collection of intents to update or create.
505 &quot;intents&quot;: [ # A collection of intents.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700506 { # 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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800507 &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.
508 &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.
509 &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.
510 &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/`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800511 &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 -0700512 &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/`.
513 { # 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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800514 &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`
515 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700516 &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
517 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
518 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700519 },
520 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800521 &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.
522 { # Represents a single followup intent in the chain.
523 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
524 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
525 },
526 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800527 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800528 &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.
529 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
530 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700531 &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 -0700532 { # Corresponds to the `Response` field in the Dialogflow console.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800533 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
534 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800535 },
536 &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.
537 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
538 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
539 { # Browsing carousel tile
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800540 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800541 &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.
542 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
543 &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.
544 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
545 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800546 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
547 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
548 &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.
549 &quot;url&quot;: &quot;A String&quot;, # Required. URL
550 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700551 },
552 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800553 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800554 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
555 &quot;mediaObjects&quot;: [ # Required. List of media objects.
556 { # Response media object for media content card.
557 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
558 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
559 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
560 &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.
561 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
562 },
563 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
564 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
565 &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.
566 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
567 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800568 },
569 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800570 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800571 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800572 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
573 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
574 { # The button object that appears at the bottom of a card.
575 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
576 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
577 },
578 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
579 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800580 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800581 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
582 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
583 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
584 &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.
585 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
586 },
587 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800588 },
589 &quot;payload&quot;: { # A custom platform-specific response.
590 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
591 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800592 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800593 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800594 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
595 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
596 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
597 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
598 &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
599 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
600 &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.
601 },
602 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800603 &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.
604 &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
605 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800606 },
607 &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
608 },
609 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800610 &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
611 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800612 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800613 },
614 },
615 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800616 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800617 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800618 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800619 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800620 &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.
621 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800622 },
623 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700624 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800625 &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.
626 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
627 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
628 { # Rich Business Messaging (RBM) Card content
629 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
630 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
631 &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
632 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
633 &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.
634 },
635 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800636 &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.
637 &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
638 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800639 },
640 &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
641 },
642 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800643 &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
644 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800645 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800646 },
647 },
648 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800649 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800650 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800651 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800652 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800653 &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.
654 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800655 },
656 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800657 ],
658 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800659 &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.
660 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
661 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
662 },
663 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
664 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
665 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
666 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
667 },
668 ],
669 },
670 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
671 &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).
672 },
673 &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.
674 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
675 { # The simple response message containing speech or text.
676 &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.
677 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
678 &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.
679 },
680 ],
681 },
682 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
683 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
684 { # Column properties for TableCard.
685 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
686 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
687 },
688 ],
689 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
690 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
691 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
692 &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.
693 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
694 },
695 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
696 { # The button object that appears at the bottom of a card.
697 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
698 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
699 },
700 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
701 },
702 ],
703 &quot;rows&quot;: [ # Optional. Rows in this table of data.
704 { # Row of TableCard.
705 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
706 { # Cell of TableCardRow.
707 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
708 },
709 ],
710 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
711 },
712 ],
713 },
714 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
715 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
716 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
717 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
718 &quot;items&quot;: [ # Required. List items.
719 { # An item in the list.
720 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
721 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
722 &quot;image&quot;: { # The image response message. # Optional. The image to display.
723 &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.
724 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
725 },
726 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
727 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
728 &quot;A String&quot;,
729 ],
730 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
731 },
732 },
733 ],
734 },
735 &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.
736 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
737 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
738 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
739 &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
740 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
741 &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.
742 },
743 &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
744 &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.
745 &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
746 &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.
747 },
748 &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
749 },
750 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
751 &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
752 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
753 },
754 },
755 },
756 ],
757 },
758 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
759 &quot;items&quot;: [ # Required. Carousel items.
760 { # An item in the carousel.
761 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
762 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
763 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
764 &quot;A String&quot;,
765 ],
766 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
767 },
768 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
769 &quot;image&quot;: { # The image response message. # Optional. The image to display.
770 &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.
771 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
772 },
773 },
774 ],
775 },
776 &quot;text&quot;: { # The text response message. # Returns a text response.
777 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
778 &quot;A String&quot;,
779 ],
780 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800781 &quot;image&quot;: { # The image response message. # Displays an image.
782 &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.
783 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
784 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800785 &quot;card&quot;: { # The card response message. # Displays a card.
786 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
787 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
788 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
789 { # Optional. Contains information about a button.
790 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
791 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
792 },
793 ],
794 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
795 },
796 &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.
797 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
798 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
799 },
800 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
801 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
802 &quot;A String&quot;,
803 ],
804 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800805 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700806 },
807 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800808 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
809 &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/`.
810 &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).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800811 &quot;A String&quot;,
812 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800813 &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/`
814 &quot;A String&quot;,
815 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800816 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
817 { # Represents an example that the agent is trained on.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800818 &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.
819 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
820 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800821 &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.
822 { # Represents a part of a training phrase.
823 &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.
824 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800825 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800826 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800827 },
828 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800829 },
830 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800831 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
832 { # Represents intent parameters.
833 &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`.
834 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
835 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
836 &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`.
837 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
838 &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.
839 &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.
840 &quot;A String&quot;,
841 ],
842 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800843 },
844 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800845 &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.
846 &quot;A String&quot;,
847 ],
848 &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/`
Bu Sun Kim65020912020-05-20 12:08:20 -0700849 },
850 ],
851 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800852 &quot;intentView&quot;: &quot;A String&quot;, # Optional. The resource view to apply to the returned intent.
853 &quot;updateMask&quot;: &quot;A String&quot;, # Optional. The mask to control which fields get updated.
Bu Sun Kim65020912020-05-20 12:08:20 -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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800865 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700866 &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 -0700867 &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 -0700868 {
869 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
870 },
871 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800872 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
873 &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 -0700874 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700875 &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.
876 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
877 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800878 &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}`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800879 &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`.
880 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
881 },
Bu Sun Kim65020912020-05-20 12:08:20 -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">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800891 <code class="details" id="create">create(parent, body=None, languageCode=None, intentView=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -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)
Bu Sun Kim65020912020-05-20 12:08:20 -0700896 body: object, The request body.
897 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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800900 &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.
901 &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.
902 &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.
903 &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/`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800904 &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 -0700905 &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/`.
906 { # 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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800907 &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`
908 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700909 &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
910 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
911 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700912 },
913 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800914 &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.
915 { # Represents a single followup intent in the chain.
916 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
917 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
918 },
919 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800920 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800921 &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.
922 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
923 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700924 &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 -0700925 { # Corresponds to the `Response` field in the Dialogflow console.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800926 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
927 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800928 },
929 &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.
930 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
931 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
932 { # Browsing carousel tile
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800933 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800934 &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.
935 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
936 &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.
937 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
938 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800939 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
940 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
941 &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.
942 &quot;url&quot;: &quot;A String&quot;, # Required. URL
943 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700944 },
945 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800946 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800947 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
948 &quot;mediaObjects&quot;: [ # Required. List of media objects.
949 { # Response media object for media content card.
950 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
951 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
952 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
953 &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.
954 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
955 },
956 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
957 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
958 &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.
959 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
960 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800961 },
962 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800963 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800964 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800965 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
966 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
967 { # The button object that appears at the bottom of a card.
968 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
969 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
970 },
971 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
972 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800973 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800974 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
975 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
976 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
977 &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.
978 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
979 },
980 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800981 },
982 &quot;payload&quot;: { # A custom platform-specific response.
983 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
984 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800985 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800986 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800987 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
988 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
989 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
990 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
991 &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
992 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
993 &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.
994 },
995 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800996 &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.
997 &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
998 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800999 },
1000 &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
1001 },
1002 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001003 &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
1004 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001005 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001006 },
1007 },
1008 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001009 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001010 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001011 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001012 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001013 &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.
1014 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001015 },
1016 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001017 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001018 &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.
1019 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
1020 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
1021 { # Rich Business Messaging (RBM) Card content
1022 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
1023 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
1024 &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
1025 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1026 &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.
1027 },
1028 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001029 &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.
1030 &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
1031 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001032 },
1033 &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
1034 },
1035 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001036 &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
1037 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001038 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001039 },
1040 },
1041 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001042 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001043 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001044 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001045 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001046 &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.
1047 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001048 },
1049 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001050 ],
1051 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001052 &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.
1053 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
1054 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
1055 },
1056 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
1057 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
1058 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
1059 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
1060 },
1061 ],
1062 },
1063 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
1064 &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).
1065 },
1066 &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.
1067 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
1068 { # The simple response message containing speech or text.
1069 &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.
1070 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
1071 &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.
1072 },
1073 ],
1074 },
1075 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
1076 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
1077 { # Column properties for TableCard.
1078 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
1079 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
1080 },
1081 ],
1082 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
1083 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
1084 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
1085 &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.
1086 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1087 },
1088 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
1089 { # The button object that appears at the bottom of a card.
1090 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
1091 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
1092 },
1093 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
1094 },
1095 ],
1096 &quot;rows&quot;: [ # Optional. Rows in this table of data.
1097 { # Row of TableCard.
1098 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
1099 { # Cell of TableCardRow.
1100 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
1101 },
1102 ],
1103 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
1104 },
1105 ],
1106 },
1107 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
1108 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
1109 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
1110 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
1111 &quot;items&quot;: [ # Required. List items.
1112 { # An item in the list.
1113 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
1114 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
1115 &quot;image&quot;: { # The image response message. # Optional. The image to display.
1116 &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.
1117 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1118 },
1119 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
1120 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
1121 &quot;A String&quot;,
1122 ],
1123 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
1124 },
1125 },
1126 ],
1127 },
1128 &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.
1129 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
1130 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
1131 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
1132 &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
1133 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1134 &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.
1135 },
1136 &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
1137 &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.
1138 &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
1139 &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.
1140 },
1141 &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
1142 },
1143 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
1144 &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
1145 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
1146 },
1147 },
1148 },
1149 ],
1150 },
1151 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
1152 &quot;items&quot;: [ # Required. Carousel items.
1153 { # An item in the carousel.
1154 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
1155 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
1156 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
1157 &quot;A String&quot;,
1158 ],
1159 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
1160 },
1161 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
1162 &quot;image&quot;: { # The image response message. # Optional. The image to display.
1163 &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.
1164 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1165 },
1166 },
1167 ],
1168 },
1169 &quot;text&quot;: { # The text response message. # Returns a text response.
1170 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
1171 &quot;A String&quot;,
1172 ],
1173 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001174 &quot;image&quot;: { # The image response message. # Displays an image.
1175 &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.
1176 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1177 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001178 &quot;card&quot;: { # The card response message. # Displays a card.
1179 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
1180 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
1181 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
1182 { # Optional. Contains information about a button.
1183 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
1184 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
1185 },
1186 ],
1187 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
1188 },
1189 &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.
1190 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
1191 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
1192 },
1193 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
1194 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
1195 &quot;A String&quot;,
1196 ],
1197 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001198 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001199 },
1200 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001201 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
1202 &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/`.
1203 &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).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001204 &quot;A String&quot;,
1205 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001206 &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/`
1207 &quot;A String&quot;,
1208 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001209 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
1210 { # Represents an example that the agent is trained on.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001211 &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.
1212 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
1213 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001214 &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.
1215 { # Represents a part of a training phrase.
1216 &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.
1217 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001218 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001219 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001220 },
1221 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001222 },
1223 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001224 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
1225 { # Represents intent parameters.
1226 &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`.
1227 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
1228 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
1229 &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`.
1230 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
1231 &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.
1232 &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.
1233 &quot;A String&quot;,
1234 ],
1235 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001236 },
1237 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001238 &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.
1239 &quot;A String&quot;,
1240 ],
1241 &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/`
Bu Sun Kim65020912020-05-20 12:08:20 -07001242}
1243
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001244 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 -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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001258 &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.
1259 &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.
1260 &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.
1261 &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/`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001262 &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 -07001263 &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/`.
1264 { # 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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001265 &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`
1266 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001267 &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
1268 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1269 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001270 },
1271 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001272 &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.
1273 { # Represents a single followup intent in the chain.
1274 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
1275 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
1276 },
1277 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001278 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001279 &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.
1280 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
1281 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001282 &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 -07001283 { # Corresponds to the `Response` field in the Dialogflow console.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001284 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
1285 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001286 },
1287 &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.
1288 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
1289 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
1290 { # Browsing carousel tile
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001291 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001292 &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.
1293 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
1294 &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.
1295 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1296 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001297 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
1298 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
1299 &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.
1300 &quot;url&quot;: &quot;A String&quot;, # Required. URL
1301 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001302 },
1303 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001304 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001305 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
1306 &quot;mediaObjects&quot;: [ # Required. List of media objects.
1307 { # Response media object for media content card.
1308 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
1309 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
1310 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
1311 &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.
1312 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1313 },
1314 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
1315 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
1316 &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.
1317 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1318 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001319 },
1320 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001321 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001322 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001323 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
1324 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
1325 { # The button object that appears at the bottom of a card.
1326 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
1327 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
1328 },
1329 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
1330 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001331 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001332 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
1333 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
1334 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
1335 &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.
1336 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1337 },
1338 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001339 },
1340 &quot;payload&quot;: { # A custom platform-specific response.
1341 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1342 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001343 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001344 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001345 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
1346 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
1347 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
1348 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
1349 &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
1350 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1351 &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.
1352 },
1353 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001354 &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.
1355 &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
1356 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001357 },
1358 &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
1359 },
1360 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001361 &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
1362 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001363 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001364 },
1365 },
1366 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001367 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001368 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001369 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001370 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001371 &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.
1372 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001373 },
1374 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001375 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001376 &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.
1377 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
1378 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
1379 { # Rich Business Messaging (RBM) Card content
1380 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
1381 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
1382 &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
1383 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1384 &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.
1385 },
1386 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001387 &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.
1388 &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
1389 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001390 },
1391 &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
1392 },
1393 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001394 &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
1395 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001396 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001397 },
1398 },
1399 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001400 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001401 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001402 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001403 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001404 &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.
1405 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001406 },
1407 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001408 ],
1409 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001410 &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.
1411 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
1412 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
1413 },
1414 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
1415 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
1416 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
1417 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
1418 },
1419 ],
1420 },
1421 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
1422 &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).
1423 },
1424 &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.
1425 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
1426 { # The simple response message containing speech or text.
1427 &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.
1428 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
1429 &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.
1430 },
1431 ],
1432 },
1433 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
1434 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
1435 { # Column properties for TableCard.
1436 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
1437 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
1438 },
1439 ],
1440 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
1441 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
1442 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
1443 &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.
1444 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1445 },
1446 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
1447 { # The button object that appears at the bottom of a card.
1448 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
1449 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
1450 },
1451 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
1452 },
1453 ],
1454 &quot;rows&quot;: [ # Optional. Rows in this table of data.
1455 { # Row of TableCard.
1456 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
1457 { # Cell of TableCardRow.
1458 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
1459 },
1460 ],
1461 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
1462 },
1463 ],
1464 },
1465 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
1466 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
1467 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
1468 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
1469 &quot;items&quot;: [ # Required. List items.
1470 { # An item in the list.
1471 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
1472 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
1473 &quot;image&quot;: { # The image response message. # Optional. The image to display.
1474 &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.
1475 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1476 },
1477 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
1478 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
1479 &quot;A String&quot;,
1480 ],
1481 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
1482 },
1483 },
1484 ],
1485 },
1486 &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.
1487 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
1488 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
1489 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
1490 &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
1491 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1492 &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.
1493 },
1494 &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
1495 &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.
1496 &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
1497 &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.
1498 },
1499 &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
1500 },
1501 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
1502 &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
1503 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
1504 },
1505 },
1506 },
1507 ],
1508 },
1509 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
1510 &quot;items&quot;: [ # Required. Carousel items.
1511 { # An item in the carousel.
1512 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
1513 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
1514 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
1515 &quot;A String&quot;,
1516 ],
1517 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
1518 },
1519 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
1520 &quot;image&quot;: { # The image response message. # Optional. The image to display.
1521 &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.
1522 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1523 },
1524 },
1525 ],
1526 },
1527 &quot;text&quot;: { # The text response message. # Returns a text response.
1528 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
1529 &quot;A String&quot;,
1530 ],
1531 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001532 &quot;image&quot;: { # The image response message. # Displays an image.
1533 &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.
1534 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1535 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001536 &quot;card&quot;: { # The card response message. # Displays a card.
1537 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
1538 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
1539 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
1540 { # Optional. Contains information about a button.
1541 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
1542 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
1543 },
1544 ],
1545 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
1546 },
1547 &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.
1548 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
1549 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
1550 },
1551 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
1552 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
1553 &quot;A String&quot;,
1554 ],
1555 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001556 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001557 },
1558 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001559 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
1560 &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/`.
1561 &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).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001562 &quot;A String&quot;,
1563 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001564 &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/`
1565 &quot;A String&quot;,
1566 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001567 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
1568 { # Represents an example that the agent is trained on.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001569 &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.
1570 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
1571 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001572 &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.
1573 { # Represents a part of a training phrase.
1574 &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.
1575 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001576 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001577 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001578 },
1579 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001580 },
1581 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001582 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
1583 { # Represents intent parameters.
1584 &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`.
1585 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
1586 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
1587 &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`.
1588 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
1589 &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.
1590 &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.
1591 &quot;A String&quot;,
1592 ],
1593 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001594 },
1595 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001596 &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.
1597 &quot;A String&quot;,
1598 ],
1599 &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/`
Bu Sun Kim65020912020-05-20 12:08:20 -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 Kim65020912020-05-20 12:08:20 -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 Kim65020912020-05-20 12:08:20 -07001618 }</pre>
1619</div>
1620
1621<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001622 <code class="details" id="get">get(name, languageCode=None, intentView=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -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)
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001627 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 Kim65020912020-05-20 12:08:20 -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 Kim65020912020-05-20 12:08:20 -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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001641 &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.
1642 &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.
1643 &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.
1644 &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/`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001645 &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 -07001646 &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/`.
1647 { # 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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001648 &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`
1649 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001650 &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
1651 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1652 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001653 },
1654 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001655 &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.
1656 { # Represents a single followup intent in the chain.
1657 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
1658 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
1659 },
1660 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001661 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001662 &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.
1663 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
1664 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001665 &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 -07001666 { # Corresponds to the `Response` field in the Dialogflow console.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001667 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
1668 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001669 },
1670 &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.
1671 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
1672 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
1673 { # Browsing carousel tile
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001674 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001675 &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.
1676 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
1677 &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.
1678 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1679 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001680 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
1681 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
1682 &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.
1683 &quot;url&quot;: &quot;A String&quot;, # Required. URL
1684 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001685 },
1686 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001687 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001688 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
1689 &quot;mediaObjects&quot;: [ # Required. List of media objects.
1690 { # Response media object for media content card.
1691 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
1692 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
1693 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
1694 &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.
1695 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1696 },
1697 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
1698 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
1699 &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.
1700 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1701 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001702 },
1703 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001704 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001705 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001706 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
1707 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
1708 { # The button object that appears at the bottom of a card.
1709 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
1710 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
1711 },
1712 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
1713 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001714 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001715 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
1716 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
1717 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
1718 &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.
1719 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1720 },
1721 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001722 },
1723 &quot;payload&quot;: { # A custom platform-specific response.
1724 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1725 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001726 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001727 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001728 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
1729 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
1730 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
1731 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
1732 &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
1733 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1734 &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.
1735 },
1736 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001737 &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.
1738 &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
1739 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001740 },
1741 &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
1742 },
1743 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001744 &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
1745 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001746 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001747 },
1748 },
1749 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001750 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001751 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001752 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001753 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001754 &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.
1755 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001756 },
1757 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001758 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001759 &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.
1760 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
1761 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
1762 { # Rich Business Messaging (RBM) Card content
1763 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
1764 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
1765 &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
1766 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1767 &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.
1768 },
1769 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001770 &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.
1771 &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
1772 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001773 },
1774 &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
1775 },
1776 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001777 &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
1778 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001779 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001780 },
1781 },
1782 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001783 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001784 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001785 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001786 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001787 &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.
1788 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001789 },
1790 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001791 ],
1792 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001793 &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.
1794 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
1795 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
1796 },
1797 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
1798 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
1799 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
1800 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
1801 },
1802 ],
1803 },
1804 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
1805 &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).
1806 },
1807 &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.
1808 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
1809 { # The simple response message containing speech or text.
1810 &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.
1811 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
1812 &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.
1813 },
1814 ],
1815 },
1816 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
1817 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
1818 { # Column properties for TableCard.
1819 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
1820 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
1821 },
1822 ],
1823 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
1824 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
1825 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
1826 &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.
1827 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1828 },
1829 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
1830 { # The button object that appears at the bottom of a card.
1831 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
1832 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
1833 },
1834 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
1835 },
1836 ],
1837 &quot;rows&quot;: [ # Optional. Rows in this table of data.
1838 { # Row of TableCard.
1839 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
1840 { # Cell of TableCardRow.
1841 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
1842 },
1843 ],
1844 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
1845 },
1846 ],
1847 },
1848 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
1849 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
1850 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
1851 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
1852 &quot;items&quot;: [ # Required. List items.
1853 { # An item in the list.
1854 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
1855 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
1856 &quot;image&quot;: { # The image response message. # Optional. The image to display.
1857 &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.
1858 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1859 },
1860 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
1861 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
1862 &quot;A String&quot;,
1863 ],
1864 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
1865 },
1866 },
1867 ],
1868 },
1869 &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.
1870 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
1871 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
1872 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
1873 &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
1874 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
1875 &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.
1876 },
1877 &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
1878 &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.
1879 &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
1880 &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.
1881 },
1882 &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
1883 },
1884 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
1885 &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
1886 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
1887 },
1888 },
1889 },
1890 ],
1891 },
1892 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
1893 &quot;items&quot;: [ # Required. Carousel items.
1894 { # An item in the carousel.
1895 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
1896 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
1897 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
1898 &quot;A String&quot;,
1899 ],
1900 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
1901 },
1902 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
1903 &quot;image&quot;: { # The image response message. # Optional. The image to display.
1904 &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.
1905 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1906 },
1907 },
1908 ],
1909 },
1910 &quot;text&quot;: { # The text response message. # Returns a text response.
1911 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
1912 &quot;A String&quot;,
1913 ],
1914 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001915 &quot;image&quot;: { # The image response message. # Displays an image.
1916 &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.
1917 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
1918 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001919 &quot;card&quot;: { # The card response message. # Displays a card.
1920 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
1921 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
1922 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
1923 { # Optional. Contains information about a button.
1924 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
1925 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
1926 },
1927 ],
1928 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
1929 },
1930 &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.
1931 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
1932 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
1933 },
1934 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
1935 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
1936 &quot;A String&quot;,
1937 ],
1938 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001939 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001940 },
1941 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001942 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
1943 &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/`.
1944 &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).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001945 &quot;A String&quot;,
1946 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001947 &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/`
1948 &quot;A String&quot;,
1949 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001950 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
1951 { # Represents an example that the agent is trained on.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001952 &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.
1953 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
1954 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001955 &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.
1956 { # Represents a part of a training phrase.
1957 &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.
1958 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001959 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001960 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001961 },
1962 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001963 },
1964 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001965 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
1966 { # Represents intent parameters.
1967 &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`.
1968 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
1969 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
1970 &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`.
1971 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
1972 &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.
1973 &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.
1974 &quot;A String&quot;,
1975 ],
1976 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001977 },
1978 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001979 &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.
1980 &quot;A String&quot;,
1981 ],
1982 &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/`
Bu Sun Kim65020912020-05-20 12:08:20 -07001983 }</pre>
1984</div>
1985
1986<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001987 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, intentView=None, languageCode=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -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 Botb6971b02020-11-26 17:16:03 -08001992 pageSize: integer, Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001993 pageToken: string, Optional. The next_page_token value returned from a previous list request.
Bu Sun Kim65020912020-05-20 12:08:20 -07001994 intentView: string, Optional. The resource view to apply to the returned intent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001995 Allowed values
1996 INTENT_VIEW_UNSPECIFIED - Training phrases field is not populated in the response.
1997 INTENT_VIEW_FULL - All fields are populated.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001998 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 Kim65020912020-05-20 12:08:20 -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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002011 &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.
2012 &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.
2013 &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.
2014 &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/`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002015 &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 -07002016 &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/`.
2017 { # 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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002018 &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`
2019 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002020 &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
2021 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2022 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002023 },
2024 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002025 &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.
2026 { # Represents a single followup intent in the chain.
2027 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
2028 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
2029 },
2030 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002031 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002032 &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.
2033 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
2034 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002035 &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 -07002036 { # Corresponds to the `Response` field in the Dialogflow console.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002037 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
2038 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002039 },
2040 &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.
2041 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
2042 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
2043 { # Browsing carousel tile
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002044 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002045 &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.
2046 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
2047 &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.
2048 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2049 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002050 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
2051 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
2052 &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.
2053 &quot;url&quot;: &quot;A String&quot;, # Required. URL
2054 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002055 },
2056 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002057 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002058 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
2059 &quot;mediaObjects&quot;: [ # Required. List of media objects.
2060 { # Response media object for media content card.
2061 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
2062 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
2063 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
2064 &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.
2065 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2066 },
2067 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
2068 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
2069 &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.
2070 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2071 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002072 },
2073 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002074 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002075 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002076 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
2077 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
2078 { # The button object that appears at the bottom of a card.
2079 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
2080 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
2081 },
2082 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
2083 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002084 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002085 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
2086 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
2087 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
2088 &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.
2089 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2090 },
2091 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002092 },
2093 &quot;payload&quot;: { # A custom platform-specific response.
2094 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2095 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002096 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002097 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002098 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
2099 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
2100 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
2101 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2102 &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
2103 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2104 &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.
2105 },
2106 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002107 &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.
2108 &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
2109 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002110 },
2111 &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
2112 },
2113 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002114 &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
2115 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002116 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002117 },
2118 },
2119 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002120 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002121 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002122 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002123 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002124 &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.
2125 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002126 },
2127 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002128 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002129 &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.
2130 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
2131 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
2132 { # Rich Business Messaging (RBM) Card content
2133 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
2134 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2135 &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
2136 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2137 &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.
2138 },
2139 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002140 &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.
2141 &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
2142 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002143 },
2144 &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
2145 },
2146 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002147 &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
2148 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002149 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002150 },
2151 },
2152 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002153 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002154 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002155 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002156 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002157 &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.
2158 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002159 },
2160 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002161 ],
2162 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002163 &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.
2164 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
2165 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
2166 },
2167 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
2168 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
2169 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
2170 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
2171 },
2172 ],
2173 },
2174 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
2175 &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).
2176 },
2177 &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.
2178 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
2179 { # The simple response message containing speech or text.
2180 &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.
2181 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
2182 &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.
2183 },
2184 ],
2185 },
2186 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
2187 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
2188 { # Column properties for TableCard.
2189 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
2190 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
2191 },
2192 ],
2193 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
2194 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
2195 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
2196 &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.
2197 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2198 },
2199 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
2200 { # The button object that appears at the bottom of a card.
2201 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
2202 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
2203 },
2204 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
2205 },
2206 ],
2207 &quot;rows&quot;: [ # Optional. Rows in this table of data.
2208 { # Row of TableCard.
2209 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
2210 { # Cell of TableCardRow.
2211 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
2212 },
2213 ],
2214 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
2215 },
2216 ],
2217 },
2218 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
2219 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
2220 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
2221 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
2222 &quot;items&quot;: [ # Required. List items.
2223 { # An item in the list.
2224 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
2225 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
2226 &quot;image&quot;: { # The image response message. # Optional. The image to display.
2227 &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.
2228 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2229 },
2230 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
2231 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
2232 &quot;A String&quot;,
2233 ],
2234 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
2235 },
2236 },
2237 ],
2238 },
2239 &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.
2240 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
2241 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
2242 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2243 &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
2244 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2245 &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.
2246 },
2247 &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
2248 &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.
2249 &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
2250 &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.
2251 },
2252 &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
2253 },
2254 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
2255 &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
2256 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
2257 },
2258 },
2259 },
2260 ],
2261 },
2262 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
2263 &quot;items&quot;: [ # Required. Carousel items.
2264 { # An item in the carousel.
2265 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
2266 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
2267 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
2268 &quot;A String&quot;,
2269 ],
2270 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
2271 },
2272 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
2273 &quot;image&quot;: { # The image response message. # Optional. The image to display.
2274 &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.
2275 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2276 },
2277 },
2278 ],
2279 },
2280 &quot;text&quot;: { # The text response message. # Returns a text response.
2281 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
2282 &quot;A String&quot;,
2283 ],
2284 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002285 &quot;image&quot;: { # The image response message. # Displays an image.
2286 &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.
2287 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2288 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002289 &quot;card&quot;: { # The card response message. # Displays a card.
2290 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
2291 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
2292 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
2293 { # Optional. Contains information about a button.
2294 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
2295 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
2296 },
2297 ],
2298 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
2299 },
2300 &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.
2301 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
2302 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
2303 },
2304 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
2305 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
2306 &quot;A String&quot;,
2307 ],
2308 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002309 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002310 },
2311 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002312 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
2313 &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/`.
2314 &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).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002315 &quot;A String&quot;,
2316 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002317 &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/`
2318 &quot;A String&quot;,
2319 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002320 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
2321 { # Represents an example that the agent is trained on.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002322 &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.
2323 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
2324 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002325 &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.
2326 { # Represents a part of a training phrase.
2327 &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.
2328 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002329 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002330 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002331 },
2332 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002333 },
2334 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002335 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
2336 { # Represents intent parameters.
2337 &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`.
2338 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
2339 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
2340 &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`.
2341 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
2342 &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.
2343 &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.
2344 &quot;A String&quot;,
2345 ],
2346 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002347 },
2348 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002349 &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.
2350 &quot;A String&quot;,
2351 ],
2352 &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/`
Bu Sun Kim65020912020-05-20 12:08:20 -07002353 },
2354 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002355 }</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:
2367 A request object that you can call &#x27;execute()&#x27; on to request the next
2368 page. Returns None if there are no more items in the collection.
2369 </pre>
2370</div>
2371
2372<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002373 <code class="details" id="patch">patch(name, body=None, updateMask=None, languageCode=None, intentView=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -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)
Bu Sun Kim65020912020-05-20 12:08:20 -07002378 body: object, The request body.
2379 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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002382 &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.
2383 &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.
2384 &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.
2385 &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/`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002386 &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 -07002387 &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/`.
2388 { # 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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002389 &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`
2390 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002391 &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
2392 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2393 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002394 },
2395 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002396 &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.
2397 { # Represents a single followup intent in the chain.
2398 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
2399 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
2400 },
2401 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002402 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002403 &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.
2404 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
2405 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002406 &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 -07002407 { # Corresponds to the `Response` field in the Dialogflow console.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002408 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
2409 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002410 },
2411 &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.
2412 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
2413 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
2414 { # Browsing carousel tile
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002415 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002416 &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.
2417 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
2418 &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.
2419 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2420 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002421 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
2422 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
2423 &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.
2424 &quot;url&quot;: &quot;A String&quot;, # Required. URL
2425 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002426 },
2427 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002428 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002429 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
2430 &quot;mediaObjects&quot;: [ # Required. List of media objects.
2431 { # Response media object for media content card.
2432 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
2433 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
2434 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
2435 &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.
2436 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2437 },
2438 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
2439 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
2440 &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.
2441 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2442 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002443 },
2444 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002445 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002446 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002447 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
2448 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
2449 { # The button object that appears at the bottom of a card.
2450 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
2451 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
2452 },
2453 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
2454 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002455 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002456 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
2457 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
2458 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
2459 &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.
2460 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2461 },
2462 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002463 },
2464 &quot;payload&quot;: { # A custom platform-specific response.
2465 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2466 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002467 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002468 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002469 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
2470 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
2471 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
2472 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2473 &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
2474 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2475 &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.
2476 },
2477 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002478 &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.
2479 &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
2480 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002481 },
2482 &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
2483 },
2484 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002485 &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
2486 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002487 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002488 },
2489 },
2490 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002491 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002492 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002493 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002494 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002495 &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.
2496 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002497 },
2498 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002499 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002500 &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.
2501 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
2502 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
2503 { # Rich Business Messaging (RBM) Card content
2504 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
2505 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2506 &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
2507 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2508 &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.
2509 },
2510 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002511 &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.
2512 &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
2513 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002514 },
2515 &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
2516 },
2517 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002518 &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
2519 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002520 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002521 },
2522 },
2523 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002524 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002525 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002526 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002527 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002528 &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.
2529 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002530 },
2531 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002532 ],
2533 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002534 &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.
2535 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
2536 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
2537 },
2538 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
2539 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
2540 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
2541 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
2542 },
2543 ],
2544 },
2545 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
2546 &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).
2547 },
2548 &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.
2549 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
2550 { # The simple response message containing speech or text.
2551 &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.
2552 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
2553 &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.
2554 },
2555 ],
2556 },
2557 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
2558 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
2559 { # Column properties for TableCard.
2560 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
2561 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
2562 },
2563 ],
2564 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
2565 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
2566 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
2567 &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.
2568 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2569 },
2570 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
2571 { # The button object that appears at the bottom of a card.
2572 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
2573 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
2574 },
2575 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
2576 },
2577 ],
2578 &quot;rows&quot;: [ # Optional. Rows in this table of data.
2579 { # Row of TableCard.
2580 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
2581 { # Cell of TableCardRow.
2582 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
2583 },
2584 ],
2585 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
2586 },
2587 ],
2588 },
2589 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
2590 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
2591 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
2592 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
2593 &quot;items&quot;: [ # Required. List items.
2594 { # An item in the list.
2595 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
2596 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
2597 &quot;image&quot;: { # The image response message. # Optional. The image to display.
2598 &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.
2599 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2600 },
2601 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
2602 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
2603 &quot;A String&quot;,
2604 ],
2605 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
2606 },
2607 },
2608 ],
2609 },
2610 &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.
2611 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
2612 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
2613 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2614 &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
2615 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2616 &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.
2617 },
2618 &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
2619 &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.
2620 &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
2621 &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.
2622 },
2623 &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
2624 },
2625 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
2626 &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
2627 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
2628 },
2629 },
2630 },
2631 ],
2632 },
2633 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
2634 &quot;items&quot;: [ # Required. Carousel items.
2635 { # An item in the carousel.
2636 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
2637 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
2638 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
2639 &quot;A String&quot;,
2640 ],
2641 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
2642 },
2643 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
2644 &quot;image&quot;: { # The image response message. # Optional. The image to display.
2645 &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.
2646 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2647 },
2648 },
2649 ],
2650 },
2651 &quot;text&quot;: { # The text response message. # Returns a text response.
2652 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
2653 &quot;A String&quot;,
2654 ],
2655 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002656 &quot;image&quot;: { # The image response message. # Displays an image.
2657 &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.
2658 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2659 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002660 &quot;card&quot;: { # The card response message. # Displays a card.
2661 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
2662 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
2663 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
2664 { # Optional. Contains information about a button.
2665 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
2666 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
2667 },
2668 ],
2669 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
2670 },
2671 &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.
2672 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
2673 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
2674 },
2675 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
2676 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
2677 &quot;A String&quot;,
2678 ],
2679 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002680 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002681 },
2682 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002683 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
2684 &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/`.
2685 &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).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002686 &quot;A String&quot;,
2687 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002688 &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/`
2689 &quot;A String&quot;,
2690 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002691 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
2692 { # Represents an example that the agent is trained on.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002693 &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.
2694 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
2695 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002696 &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.
2697 { # Represents a part of a training phrase.
2698 &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.
2699 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002700 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002701 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002702 },
2703 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002704 },
2705 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002706 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
2707 { # Represents intent parameters.
2708 &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`.
2709 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
2710 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
2711 &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`.
2712 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
2713 &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.
2714 &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.
2715 &quot;A String&quot;,
2716 ],
2717 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002718 },
2719 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002720 &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.
2721 &quot;A String&quot;,
2722 ],
2723 &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/`
Bu Sun Kim65020912020-05-20 12:08:20 -07002724}
2725
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002726 updateMask: string, Optional. The mask to control which fields get updated.
2727 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 -07002728 intentView: string, Optional. The resource view to apply to the returned intent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002729 Allowed values
2730 INTENT_VIEW_UNSPECIFIED - Training phrases field is not populated in the response.
2731 INTENT_VIEW_FULL - All fields are populated.
Bu Sun Kim65020912020-05-20 12:08:20 -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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002741 &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.
2742 &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.
2743 &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.
2744 &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/`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002745 &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 -07002746 &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/`.
2747 { # 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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002748 &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`
2749 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002750 &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
2751 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2752 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002753 },
2754 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002755 &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.
2756 { # Represents a single followup intent in the chain.
2757 &quot;parentFollowupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent&#x27;s parent. Format: `projects//agent/intents/`.
2758 &quot;followupIntentName&quot;: &quot;A String&quot;, # The unique identifier of the followup intent. Format: `projects//agent/intents/`.
2759 },
2760 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002761 &quot;isFallback&quot;: True or False, # Optional. Indicates whether this is a fallback intent.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002762 &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.
2763 &quot;webhookState&quot;: &quot;A String&quot;, # Optional. Indicates whether webhooks are enabled for the intent.
2764 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this intent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002765 &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 -07002766 { # Corresponds to the `Response` field in the Dialogflow console.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002767 &quot;telephonyPlayAudio&quot;: { # Plays audio from a file in Telephony Gateway. # Plays audio from a file in Telephony Gateway.
2768 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002769 },
2770 &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.
2771 &quot;imageDisplayOptions&quot;: &quot;A String&quot;, # Optional. Settings for displaying the image. Applies to every image in items.
2772 &quot;items&quot;: [ # Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
2773 { # Browsing carousel tile
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002774 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the carousel item. Maximum of four lines of text.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002775 &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.
2776 &quot;image&quot;: { # The image response message. # Optional. Hero image for the carousel item.
2777 &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.
2778 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2779 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002780 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item. Maximum of two lines of text.
2781 &quot;openUriAction&quot;: { # Actions on Google action to open a given url. # Required. Action to present to the user.
2782 &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.
2783 &quot;url&quot;: &quot;A String&quot;, # Required. URL
2784 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002785 },
2786 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002787 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002788 &quot;mediaContent&quot;: { # The media content card for Actions on Google. # The media content card for Actions on Google.
2789 &quot;mediaObjects&quot;: [ # Required. List of media objects.
2790 { # Response media object for media content card.
2791 &quot;name&quot;: &quot;A String&quot;, # Required. Name of media card.
2792 &quot;contentUrl&quot;: &quot;A String&quot;, # Required. Url where the media is stored.
2793 &quot;largeImage&quot;: { # The image response message. # Optional. Image to display above media content.
2794 &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.
2795 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2796 },
2797 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of media card.
2798 &quot;icon&quot;: { # The image response message. # Optional. Icon to display above media content.
2799 &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.
2800 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2801 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002802 },
2803 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002804 &quot;mediaType&quot;: &quot;A String&quot;, # Optional. What type of media is the content (ie &quot;audio&quot;).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002805 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002806 &quot;basicCard&quot;: { # The basic card message. Useful for displaying information. # Displays a basic card for Actions on Google.
2807 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
2808 { # The button object that appears at the bottom of a card.
2809 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
2810 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
2811 },
2812 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
2813 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002814 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002815 &quot;formattedText&quot;: &quot;A String&quot;, # Required, unless image is present. The body text of the card.
2816 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
2817 &quot;image&quot;: { # The image response message. # Optional. The image for the card.
2818 &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.
2819 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2820 },
2821 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002822 },
2823 &quot;payload&quot;: { # A custom platform-specific response.
2824 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2825 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002826 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002827 &quot;cardOrientation&quot;: &quot;A String&quot;, # Required. Orientation of the card.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002828 &quot;thumbnailImageAlignment&quot;: &quot;A String&quot;, # Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.
2829 &quot;cardContent&quot;: { # Rich Business Messaging (RBM) Card content # Required. Card content.
2830 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
2831 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2832 &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
2833 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2834 &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.
2835 },
2836 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002837 &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.
2838 &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
2839 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002840 },
2841 &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
2842 },
2843 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002844 &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
2845 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002846 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002847 },
2848 },
2849 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002850 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002851 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002852 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002853 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002854 &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.
2855 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002856 },
2857 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002858 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002859 &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.
2860 &quot;cardWidth&quot;: &quot;A String&quot;, # Required. The width of the cards in the carousel.
2861 &quot;cardContents&quot;: [ # Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.
2862 { # Rich Business Messaging (RBM) Card content
2863 &quot;suggestions&quot;: [ # Optional. List of suggestions to include in the card.
2864 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2865 &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
2866 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2867 &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.
2868 },
2869 &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
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002870 &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.
2871 &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
2872 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002873 },
2874 &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
2875 },
2876 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002877 &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
2878 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002879 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002880 },
2881 },
2882 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002883 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002884 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002885 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002886 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002887 &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.
2888 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002889 },
2890 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002891 ],
2892 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002893 &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.
2894 &quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the app or site to open when the user taps the suggestion chip.
2895 &quot;destinationName&quot;: &quot;A String&quot;, # Required. The name of the app or site this chip is linking to.
2896 },
2897 &quot;suggestions&quot;: { # The collection of suggestions. # Displays suggestion chips for Actions on Google.
2898 &quot;suggestions&quot;: [ # Required. The list of suggested replies.
2899 { # The suggestion chip message that the user can tap to quickly post a reply to the conversation.
2900 &quot;title&quot;: &quot;A String&quot;, # Required. The text shown the in the suggestion chip.
2901 },
2902 ],
2903 },
2904 &quot;telephonyTransferCall&quot;: { # Transfers the call in Telephony Gateway. # Transfers the call in Telephony Gateway.
2905 &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).
2906 },
2907 &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.
2908 &quot;simpleResponses&quot;: [ # Required. The list of simple responses.
2909 { # The simple response message containing speech or text.
2910 &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.
2911 &quot;displayText&quot;: &quot;A String&quot;, # Optional. The text to display.
2912 &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.
2913 },
2914 ],
2915 },
2916 &quot;tableCard&quot;: { # Table card for Actions on Google. # Table card for Actions on Google.
2917 &quot;columnProperties&quot;: [ # Optional. Display properties for the columns in this table.
2918 { # Column properties for TableCard.
2919 &quot;horizontalAlignment&quot;: &quot;A String&quot;, # Optional. Defines text alignment for all cells in this column.
2920 &quot;header&quot;: &quot;A String&quot;, # Required. Column heading.
2921 },
2922 ],
2923 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the card.
2924 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle to the title.
2925 &quot;image&quot;: { # The image response message. # Optional. Image which should be displayed on the card.
2926 &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.
2927 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2928 },
2929 &quot;buttons&quot;: [ # Optional. List of buttons for the card.
2930 { # The button object that appears at the bottom of a card.
2931 &quot;openUriAction&quot;: { # Opens the given URI. # Required. Action to take when a user taps on the button.
2932 &quot;uri&quot;: &quot;A String&quot;, # Required. The HTTP or HTTPS scheme URI.
2933 },
2934 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the button.
2935 },
2936 ],
2937 &quot;rows&quot;: [ # Optional. Rows in this table of data.
2938 { # Row of TableCard.
2939 &quot;cells&quot;: [ # Optional. List of cells that make up this row.
2940 { # Cell of TableCardRow.
2941 &quot;text&quot;: &quot;A String&quot;, # Required. Text in this cell.
2942 },
2943 ],
2944 &quot;dividerAfter&quot;: True or False, # Optional. Whether to add a visual divider after this row.
2945 },
2946 ],
2947 },
2948 &quot;platform&quot;: &quot;A String&quot;, # Optional. The platform that this message is intended for.
2949 &quot;listSelect&quot;: { # The card for presenting a list of options to select from. # Displays a list card for Actions on Google.
2950 &quot;title&quot;: &quot;A String&quot;, # Optional. The overall title of the list.
2951 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. Subtitle of the list.
2952 &quot;items&quot;: [ # Required. List items.
2953 { # An item in the list.
2954 &quot;description&quot;: &quot;A String&quot;, # Optional. The main text describing the item.
2955 &quot;title&quot;: &quot;A String&quot;, # Required. The title of the list item.
2956 &quot;image&quot;: { # The image response message. # Optional. The image to display.
2957 &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.
2958 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
2959 },
2960 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional information about this option.
2961 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
2962 &quot;A String&quot;,
2963 ],
2964 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
2965 },
2966 },
2967 ],
2968 },
2969 &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.
2970 &quot;text&quot;: &quot;A String&quot;, # Required. Text sent and displayed to the user.
2971 &quot;rbmSuggestion&quot;: [ # Optional. One or more suggestions to show to the user.
2972 { # Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
2973 &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
2974 &quot;text&quot;: &quot;A String&quot;, # Suggested reply text.
2975 &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.
2976 },
2977 &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
2978 &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.
2979 &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
2980 &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.
2981 },
2982 &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
2983 },
2984 &quot;text&quot;: &quot;A String&quot;, # Text to display alongside the action.
2985 &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
2986 &quot;uri&quot;: &quot;A String&quot;, # Required. The uri to open on the user device
2987 },
2988 },
2989 },
2990 ],
2991 },
2992 &quot;carouselSelect&quot;: { # The card for presenting a carousel of options to select from. # Displays a carousel card for Actions on Google.
2993 &quot;items&quot;: [ # Required. Carousel items.
2994 { # An item in the carousel.
2995 &quot;title&quot;: &quot;A String&quot;, # Required. Title of the carousel item.
2996 &quot;info&quot;: { # Additional info about the select item for when it is triggered in a dialog. # Required. Additional info about the option item.
2997 &quot;synonyms&quot;: [ # Optional. A list of synonyms that can also be used to trigger this item in dialog.
2998 &quot;A String&quot;,
2999 ],
3000 &quot;key&quot;: &quot;A String&quot;, # Required. A unique key that will be sent back to the agent if this response is given.
3001 },
3002 &quot;description&quot;: &quot;A String&quot;, # Optional. The body text of the card.
3003 &quot;image&quot;: { # The image response message. # Optional. The image to display.
3004 &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.
3005 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
3006 },
3007 },
3008 ],
3009 },
3010 &quot;text&quot;: { # The text response message. # Returns a text response.
3011 &quot;text&quot;: [ # Optional. The collection of the agent&#x27;s responses.
3012 &quot;A String&quot;,
3013 ],
3014 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003015 &quot;image&quot;: { # The image response message. # Displays an image.
3016 &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.
3017 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file.
3018 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003019 &quot;card&quot;: { # The card response message. # Displays a card.
3020 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. The public URI to an image file for the card.
3021 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the card.
3022 &quot;buttons&quot;: [ # Optional. The collection of card buttons.
3023 { # Optional. Contains information about a button.
3024 &quot;postback&quot;: &quot;A String&quot;, # Optional. The text to send back to the Dialogflow API or a URI to open.
3025 &quot;text&quot;: &quot;A String&quot;, # Optional. The text to show on the button.
3026 },
3027 ],
3028 &quot;subtitle&quot;: &quot;A String&quot;, # Optional. The subtitle of the card.
3029 },
3030 &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.
3031 &quot;ssml&quot;: &quot;A String&quot;, # The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml).
3032 &quot;text&quot;: &quot;A String&quot;, # The raw text to be synthesized.
3033 },
3034 &quot;quickReplies&quot;: { # The quick replies response message. # Displays quick replies.
3035 &quot;quickReplies&quot;: [ # Optional. The collection of quick replies.
3036 &quot;A String&quot;,
3037 ],
3038 &quot;title&quot;: &quot;A String&quot;, # Optional. The title of the collection of quick replies.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003039 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003040 },
3041 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003042 &quot;resetContexts&quot;: True or False, # Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
3043 &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/`.
3044 &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).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003045 &quot;A String&quot;,
3046 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003047 &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/`
3048 &quot;A String&quot;,
3049 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003050 &quot;trainingPhrases&quot;: [ # Optional. The collection of examples that the agent is trained on.
3051 { # Represents an example that the agent is trained on.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003052 &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.
3053 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the training phrase.
3054 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier of this training phrase.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003055 &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.
3056 { # Represents a part of a training phrase.
3057 &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.
3058 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003059 &quot;text&quot;: &quot;A String&quot;, # Required. The text for this part.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003060 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003061 },
3062 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003063 },
3064 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003065 &quot;parameters&quot;: [ # Optional. The collection of parameters associated with the intent.
3066 { # Represents intent parameters.
3067 &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`.
3068 &quot;isList&quot;: True or False, # Optional. Indicates whether the parameter represents a list of values.
3069 &quot;name&quot;: &quot;A String&quot;, # The unique identifier of this parameter.
3070 &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`.
3071 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of the parameter.
3072 &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.
3073 &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.
3074 &quot;A String&quot;,
3075 ],
3076 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003077 },
3078 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003079 &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.
3080 &quot;A String&quot;,
3081 ],
3082 &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/`
Bu Sun Kim65020912020-05-20 12:08:20 -07003083 }</pre>
3084</div>
3085
3086</body></html>