blob: a279076cf883cefea9ff9d972211eaf80d971986 [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;timeZone&quot;: &quot;A String&quot;, # Required. The time zone of this agent from the
151 # [time zone database](https://www.iana.org/time-zones), e.g.,
152 # America/New_York, Europe/Paris.
153 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of this agent.
154 # The maximum length is 500 characters. If exceeded, the request is rejected.
155 &quot;parent&quot;: &quot;A String&quot;, # Required. The project of this agent.
156 # Format: `projects/&lt;Project ID&gt;`.
157 &quot;supportedLanguageCodes&quot;: [ # Optional. The list of all languages supported by this agent (except for the
158 # `default_language_code`).
159 &quot;A String&quot;,
160 ],
161 &quot;avatarUri&quot;: &quot;A String&quot;, # Optional. The URI of the agent&#x27;s avatar.
162 # Avatars are used throughout the Dialogflow console and in the self-hosted
163 # [Web
164 # Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo)
165 # integration.
166 &quot;defaultLanguageCode&quot;: &quot;A String&quot;, # Required. The default language of the agent as a language tag. See
167 # [Language
168 # Support](https://cloud.google.com/dialogflow/docs/reference/language)
169 # for a list of the currently supported language codes. This field cannot be
170 # set by the `Update` method.
171 &quot;tier&quot;: &quot;A String&quot;, # Optional. The agent tier. If not specified, TIER_STANDARD is assumed.
172 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this agent.
173 &quot;matchMode&quot;: &quot;A String&quot;, # Optional. Determines how intents are detected from user queries.
174 &quot;enableLogging&quot;: True or False, # Optional. Determines whether this agent should log conversation queries.
175 &quot;apiVersion&quot;: &quot;A String&quot;, # Optional. API version displayed in Dialogflow console. If not specified,
176 # V2 API is assumed. Clients are free to query different service endpoints
177 # for different API versions. However, bots connectors and webhook calls will
178 # follow the specified API version.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700179 &quot;classificationThreshold&quot;: 3.14, # Optional. To filter out false positive results and still get variety in
180 # matched natural language inputs for your agent, you can tune the machine
181 # learning classification threshold. If the returned score value is less than
182 # the threshold value, then a fallback intent will be triggered or, if there
183 # are no fallback intents defined, no intent will be triggered. The score
184 # values range from 0.0 (completely uncertain) to 1.0 (completely certain).
185 # If set to 0.0, the default of 0.3 is used.
Bu Sun Kim65020912020-05-20 12:08:20 -0700186 }</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;timeZone&quot;: &quot;A String&quot;, # Required. The time zone of this agent from the
201 # [time zone database](https://www.iana.org/time-zones), e.g.,
202 # America/New_York, Europe/Paris.
203 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of this agent.
204 # The maximum length is 500 characters. If exceeded, the request is rejected.
205 &quot;parent&quot;: &quot;A String&quot;, # Required. The project of this agent.
206 # Format: `projects/&lt;Project ID&gt;`.
207 &quot;supportedLanguageCodes&quot;: [ # Optional. The list of all languages supported by this agent (except for the
208 # `default_language_code`).
209 &quot;A String&quot;,
210 ],
211 &quot;avatarUri&quot;: &quot;A String&quot;, # Optional. The URI of the agent&#x27;s avatar.
212 # Avatars are used throughout the Dialogflow console and in the self-hosted
213 # [Web
214 # Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo)
215 # integration.
216 &quot;defaultLanguageCode&quot;: &quot;A String&quot;, # Required. The default language of the agent as a language tag. See
217 # [Language
218 # Support](https://cloud.google.com/dialogflow/docs/reference/language)
219 # for a list of the currently supported language codes. This field cannot be
220 # set by the `Update` method.
221 &quot;tier&quot;: &quot;A String&quot;, # Optional. The agent tier. If not specified, TIER_STANDARD is assumed.
222 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this agent.
223 &quot;matchMode&quot;: &quot;A String&quot;, # Optional. Determines how intents are detected from user queries.
224 &quot;enableLogging&quot;: True or False, # Optional. Determines whether this agent should log conversation queries.
225 &quot;apiVersion&quot;: &quot;A String&quot;, # Optional. API version displayed in Dialogflow console. If not specified,
226 # V2 API is assumed. Clients are free to query different service endpoints
227 # for different API versions. However, bots connectors and webhook calls will
228 # follow the specified API version.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700229 &quot;classificationThreshold&quot;: 3.14, # Optional. To filter out false positive results and still get variety in
230 # matched natural language inputs for your agent, you can tune the machine
231 # learning classification threshold. If the returned score value is less than
232 # the threshold value, then a fallback intent will be triggered or, if there
233 # are no fallback intents defined, no intent will be triggered. The score
234 # values range from 0.0 (completely uncertain) to 1.0 (completely certain).
235 # If set to 0.0, the default of 0.3 is used.
Bu Sun Kim65020912020-05-20 12:08:20 -0700236}
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;timeZone&quot;: &quot;A String&quot;, # Required. The time zone of this agent from the
249 # [time zone database](https://www.iana.org/time-zones), e.g.,
250 # America/New_York, Europe/Paris.
251 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of this agent.
252 # The maximum length is 500 characters. If exceeded, the request is rejected.
253 &quot;parent&quot;: &quot;A String&quot;, # Required. The project of this agent.
254 # Format: `projects/&lt;Project ID&gt;`.
255 &quot;supportedLanguageCodes&quot;: [ # Optional. The list of all languages supported by this agent (except for the
256 # `default_language_code`).
257 &quot;A String&quot;,
258 ],
259 &quot;avatarUri&quot;: &quot;A String&quot;, # Optional. The URI of the agent&#x27;s avatar.
260 # Avatars are used throughout the Dialogflow console and in the self-hosted
261 # [Web
262 # Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo)
263 # integration.
264 &quot;defaultLanguageCode&quot;: &quot;A String&quot;, # Required. The default language of the agent as a language tag. See
265 # [Language
266 # Support](https://cloud.google.com/dialogflow/docs/reference/language)
267 # for a list of the currently supported language codes. This field cannot be
268 # set by the `Update` method.
269 &quot;tier&quot;: &quot;A String&quot;, # Optional. The agent tier. If not specified, TIER_STANDARD is assumed.
270 &quot;displayName&quot;: &quot;A String&quot;, # Required. The name of this agent.
271 &quot;matchMode&quot;: &quot;A String&quot;, # Optional. Determines how intents are detected from user queries.
272 &quot;enableLogging&quot;: True or False, # Optional. Determines whether this agent should log conversation queries.
273 &quot;apiVersion&quot;: &quot;A String&quot;, # Optional. API version displayed in Dialogflow console. If not specified,
274 # V2 API is assumed. Clients are free to query different service endpoints
275 # for different API versions. However, bots connectors and webhook calls will
276 # follow the specified API version.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700277 &quot;classificationThreshold&quot;: 3.14, # Optional. To filter out false positive results and still get variety in
278 # matched natural language inputs for your agent, you can tune the machine
279 # learning classification threshold. If the returned score value is less than
280 # the threshold value, then a fallback intent will be triggered or, if there
281 # are no fallback intents defined, no intent will be triggered. The score
282 # values range from 0.0 (completely uncertain) to 1.0 (completely certain).
283 # If set to 0.0, the default of 0.3 is used.
Bu Sun Kim65020912020-05-20 12:08:20 -0700284 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700285</div>
286
287</body></html>