blob: 45ee34e84c70ba35024ace53a8733d4a1fb95aea [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="dialogflow_v2beta1.html">Dialogflow API</a> . <a href="dialogflow_v2beta1.projects.html">projects</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="dialogflow_v2beta1.projects.agent.html">agent()</a></code>
79</p>
80<p class="firstline">Returns the agent Resource.</p>
81
82<p class="toc_element">
83 <code><a href="dialogflow_v2beta1.projects.knowledgeBases.html">knowledgeBases()</a></code>
84</p>
85<p class="firstline">Returns the knowledgeBases Resource.</p>
86
87<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070088 <code><a href="dialogflow_v2beta1.projects.locations.html">locations()</a></code>
89</p>
90<p class="firstline">Returns the locations Resource.</p>
91
92<p class="toc_element">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070093 <code><a href="dialogflow_v2beta1.projects.operations.html">operations()</a></code>
94</p>
95<p class="firstline">Returns the operations Resource.</p>
96
97<p class="toc_element">
98 <code><a href="#deleteAgent">deleteAgent(parent, x__xgafv=None)</a></code></p>
99<p class="firstline">Deletes the specified agent.</p>
100<p class="toc_element">
101 <code><a href="#getAgent">getAgent(parent, x__xgafv=None)</a></code></p>
102<p class="firstline">Retrieves the specified agent.</p>
Dan O'Mearadd494642020-05-01 07:42:23 -0700103<p class="toc_element">
104 <code><a href="#setAgent">setAgent(parent, body=None, updateMask=None, x__xgafv=None)</a></code></p>
105<p class="firstline">Creates/updates the specified agent.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700106<h3>Method Details</h3>
107<div class="method">
108 <code class="details" id="deleteAgent">deleteAgent(parent, x__xgafv=None)</code>
109 <pre>Deletes the specified agent.
110
111Args:
112 parent: string, Required. The project that the agent to delete is associated with.
Dan O'Mearadd494642020-05-01 07:42:23 -0700113Format: `projects/&lt;Project ID&gt;`. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700114 x__xgafv: string, V1 error format.
115 Allowed values
116 1 - v1 error format
117 2 - v2 error format
118
119Returns:
120 An object of the form:
121
122 { # A generic empty message that you can re-use to avoid defining duplicated
123 # empty messages in your APIs. A typical example is to use it as the request
124 # or the response type of an API method. For instance:
125 #
126 # service Foo {
127 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
128 # }
129 #
130 # The JSON representation for `Empty` is empty JSON object `{}`.
131 }</pre>
132</div>
133
134<div class="method">
135 <code class="details" id="getAgent">getAgent(parent, x__xgafv=None)</code>
136 <pre>Retrieves the specified agent.
137
138Args:
139 parent: string, Required. The project that the agent to fetch is associated with.
Dan O'Mearadd494642020-05-01 07:42:23 -0700140Format: `projects/&lt;Project ID&gt;`. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700141 x__xgafv: string, V1 error format.
142 Allowed values
143 1 - v1 error format
144 2 - v2 error format
145
146Returns:
147 An object of the form:
148
149 { # Represents a conversational agent.
Bu Sun Kim65020912020-05-20 12:08:20 -0700150 &quot;classificationThreshold&quot;: 3.14, # Optional. To filter out false positive results and still get variety in
151 # matched natural language inputs for your agent, you can tune the machine
152 # learning classification threshold. If the returned score value is less than
153 # the threshold value, then a fallback intent will be triggered or, if there
154 # are no fallback intents defined, no intent will be triggered. The score
155 # values range from 0.0 (completely uncertain) to 1.0 (completely certain).
156 # If set to 0.0, the default of 0.3 is used.
157 &quot;timeZone&quot;: &quot;A String&quot;, # Required. The time zone of this agent from the
158 # [time zone database](https://www.iana.org/time-zones), e.g.,
159 # America/New_York, Europe/Paris.
160 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of this agent.
161 # The maximum length is 500 characters. If exceeded, the request is rejected.
162 &quot;parent&quot;: &quot;A String&quot;, # Required. The project of this agent.
163 # Format: `projects/&lt;Project ID&gt;`.
164 &quot;supportedLanguageCodes&quot;: [ # Optional. The list of all languages supported by this agent (except for the
165 # `default_language_code`).
166 &quot;A String&quot;,
167 ],
168 &quot;avatarUri&quot;: &quot;A String&quot;, # Optional. The URI of the agent&#x27;s avatar.
169 # Avatars are used throughout the Dialogflow console and in the self-hosted
170 # [Web
171 # Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo)
172 # integration.
173 &quot;defaultLanguageCode&quot;: &quot;A String&quot;, # Required. The default language of the agent as a language tag. See
174 # [Language
175 # Support](https://cloud.google.com/dialogflow/docs/reference/language)
176 # for a list of the currently supported language codes. This field cannot be
177 # set by the `Update` method.
178 &quot;tier&quot;: &quot;A String&quot;, # Optional. The agent tier. If not specified, TIER_STANDARD is assumed.
179 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this agent.
180 &quot;matchMode&quot;: &quot;A String&quot;, # Optional. Determines how intents are detected from user queries.
181 &quot;enableLogging&quot;: True or False, # Optional. Determines whether this agent should log conversation queries.
182 &quot;apiVersion&quot;: &quot;A String&quot;, # Optional. API version displayed in Dialogflow console. If not specified,
183 # V2 API is assumed. Clients are free to query different service endpoints
184 # for different API versions. However, bots connectors and webhook calls will
185 # follow the specified API version.
186 }</pre>
Dan O'Mearadd494642020-05-01 07:42:23 -0700187</div>
188
189<div class="method">
190 <code class="details" id="setAgent">setAgent(parent, body=None, updateMask=None, x__xgafv=None)</code>
191 <pre>Creates/updates the specified agent.
192
193Args:
194 parent: string, Required. The project of this agent.
195Format: `projects/&lt;Project ID&gt;`. (required)
196 body: object, The request body.
197 The object takes the form of:
198
199{ # Represents a conversational agent.
Bu Sun Kim65020912020-05-20 12:08:20 -0700200 &quot;classificationThreshold&quot;: 3.14, # Optional. To filter out false positive results and still get variety in
201 # matched natural language inputs for your agent, you can tune the machine
202 # learning classification threshold. If the returned score value is less than
203 # the threshold value, then a fallback intent will be triggered or, if there
204 # are no fallback intents defined, no intent will be triggered. The score
205 # values range from 0.0 (completely uncertain) to 1.0 (completely certain).
206 # If set to 0.0, the default of 0.3 is used.
207 &quot;timeZone&quot;: &quot;A String&quot;, # Required. The time zone of this agent from the
208 # [time zone database](https://www.iana.org/time-zones), e.g.,
209 # America/New_York, Europe/Paris.
210 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of this agent.
211 # The maximum length is 500 characters. If exceeded, the request is rejected.
212 &quot;parent&quot;: &quot;A String&quot;, # Required. The project of this agent.
213 # Format: `projects/&lt;Project ID&gt;`.
214 &quot;supportedLanguageCodes&quot;: [ # Optional. The list of all languages supported by this agent (except for the
215 # `default_language_code`).
216 &quot;A String&quot;,
217 ],
218 &quot;avatarUri&quot;: &quot;A String&quot;, # Optional. The URI of the agent&#x27;s avatar.
219 # Avatars are used throughout the Dialogflow console and in the self-hosted
220 # [Web
221 # Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo)
222 # integration.
223 &quot;defaultLanguageCode&quot;: &quot;A String&quot;, # Required. The default language of the agent as a language tag. See
224 # [Language
225 # Support](https://cloud.google.com/dialogflow/docs/reference/language)
226 # for a list of the currently supported language codes. This field cannot be
227 # set by the `Update` method.
228 &quot;tier&quot;: &quot;A String&quot;, # Optional. The agent tier. If not specified, TIER_STANDARD is assumed.
229 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this agent.
230 &quot;matchMode&quot;: &quot;A String&quot;, # Optional. Determines how intents are detected from user queries.
231 &quot;enableLogging&quot;: True or False, # Optional. Determines whether this agent should log conversation queries.
232 &quot;apiVersion&quot;: &quot;A String&quot;, # Optional. API version displayed in Dialogflow console. If not specified,
233 # V2 API is assumed. Clients are free to query different service endpoints
234 # for different API versions. However, bots connectors and webhook calls will
235 # follow the specified API version.
236}
Dan O'Mearadd494642020-05-01 07:42:23 -0700237
238 updateMask: string, Optional. The mask to control which fields get updated.
239 x__xgafv: string, V1 error format.
240 Allowed values
241 1 - v1 error format
242 2 - v2 error format
243
244Returns:
245 An object of the form:
246
247 { # Represents a conversational agent.
Bu Sun Kim65020912020-05-20 12:08:20 -0700248 &quot;classificationThreshold&quot;: 3.14, # Optional. To filter out false positive results and still get variety in
249 # matched natural language inputs for your agent, you can tune the machine
250 # learning classification threshold. If the returned score value is less than
251 # the threshold value, then a fallback intent will be triggered or, if there
252 # are no fallback intents defined, no intent will be triggered. The score
253 # values range from 0.0 (completely uncertain) to 1.0 (completely certain).
254 # If set to 0.0, the default of 0.3 is used.
255 &quot;timeZone&quot;: &quot;A String&quot;, # Required. The time zone of this agent from the
256 # [time zone database](https://www.iana.org/time-zones), e.g.,
257 # America/New_York, Europe/Paris.
258 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of this agent.
259 # The maximum length is 500 characters. If exceeded, the request is rejected.
260 &quot;parent&quot;: &quot;A String&quot;, # Required. The project of this agent.
261 # Format: `projects/&lt;Project ID&gt;`.
262 &quot;supportedLanguageCodes&quot;: [ # Optional. The list of all languages supported by this agent (except for the
263 # `default_language_code`).
264 &quot;A String&quot;,
265 ],
266 &quot;avatarUri&quot;: &quot;A String&quot;, # Optional. The URI of the agent&#x27;s avatar.
267 # Avatars are used throughout the Dialogflow console and in the self-hosted
268 # [Web
269 # Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo)
270 # integration.
271 &quot;defaultLanguageCode&quot;: &quot;A String&quot;, # Required. The default language of the agent as a language tag. See
272 # [Language
273 # Support](https://cloud.google.com/dialogflow/docs/reference/language)
274 # for a list of the currently supported language codes. This field cannot be
275 # set by the `Update` method.
276 &quot;tier&quot;: &quot;A String&quot;, # Optional. The agent tier. If not specified, TIER_STANDARD is assumed.
277 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this agent.
278 &quot;matchMode&quot;: &quot;A String&quot;, # Optional. Determines how intents are detected from user queries.
279 &quot;enableLogging&quot;: True or False, # Optional. Determines whether this agent should log conversation queries.
280 &quot;apiVersion&quot;: &quot;A String&quot;, # Optional. API version displayed in Dialogflow console. If not specified,
281 # V2 API is assumed. Clients are free to query different service endpoints
282 # for different API versions. However, bots connectors and webhook calls will
283 # follow the specified API version.
284 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700285</div>
286
287</body></html>