Skip to content

Commit d805cf2

Browse files
feat(dialogflow): update the api
#### dialogflow:v2beta1 The following keys were added: - resources.projects.resources.locations.resources.sipTrunks.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.sipTrunks.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.sipTrunks.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.sipTrunks.methods.list (Total Keys: 16) - resources.projects.resources.locations.resources.sipTrunks.methods.patch (Total Keys: 15) - schemas.GoogleCloudDialogflowV2beta1Connection (Total Keys: 16) - schemas.GoogleCloudDialogflowV2beta1ListSipTrunksResponse (Total Keys: 5) - schemas.GoogleCloudDialogflowV2beta1SipTrunk (Total Keys: 9) #### dialogflow:v3 The following keys were added: - schemas.GoogleCloudDialogflowCxV3Generator.properties.modelParameter.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3GeneratorModelParameter (Total Keys: 10) #### dialogflow:v3beta1 The following keys were added: - schemas.GoogleCloudDialogflowCxV3beta1Generator.properties.modelParameter.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1GeneratorModelParameter (Total Keys: 10)
1 parent d200c2c commit d805cf2

7 files changed

+751
-3
lines changed

docs/dyn/dialogflow_v2beta1.projects.locations.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ <h2>Instance Methods</h2>
114114
</p>
115115
<p class="firstline">Returns the operations Resource.</p>
116116

117+
<p class="toc_element">
118+
<code><a href="dialogflow_v2beta1.projects.locations.sipTrunks.html">sipTrunks()</a></code>
119+
</p>
120+
<p class="firstline">Returns the sipTrunks Resource.</p>
121+
117122
<p class="toc_element">
118123
<code><a href="dialogflow_v2beta1.projects.locations.statelessSuggestion.html">statelessSuggestion()</a></code>
119124
</p>
Lines changed: 324 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,324 @@
1+
<html><body>
2+
<style>
3+
4+
body, 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+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, 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.sipTrunks.html">sipTrunks</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Creates a SipTrunk for a specified location.</p>
83+
<p class="toc_element">
84+
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Deletes a specified SipTrunk.</p>
86+
<p class="toc_element">
87+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Retrieves the specified SipTrunk.</p>
89+
<p class="toc_element">
90+
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91+
<p class="firstline">Returns a list of SipTrunks in the specified location.</p>
92+
<p class="toc_element">
93+
<code><a href="#list_next">list_next()</a></code></p>
94+
<p class="firstline">Retrieves the next page of results.</p>
95+
<p class="toc_element">
96+
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97+
<p class="firstline">Updates the specified SipTrunk.</p>
98+
<h3>Method Details</h3>
99+
<div class="method">
100+
<code class="details" id="close">close()</code>
101+
<pre>Close httplib2 connections.</pre>
102+
</div>
103+
104+
<div class="method">
105+
<code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
106+
<pre>Creates a SipTrunk for a specified location.
107+
108+
Args:
109+
parent: string, Required. The location to create a SIP trunk for. Format: `projects//locations/`. (required)
110+
body: object, The request body.
111+
The object takes the form of:
112+
113+
{ # SipTrunk is the resource that represents a SIP trunk to connect to Google Telephony platform SIP trunking service.
114+
&quot;connections&quot;: [ # Output only. Connections of the SIP trunk.
115+
{ # Represents a connection for SIP Trunk.
116+
&quot;connectionId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the SIP Trunk connection.
117+
&quot;errorDetails&quot;: { # The error details of Sip Trunk connection authentication. # Output only. The error details for the connection. Only populated when authentication errors occur.
118+
&quot;certificateState&quot;: &quot;A String&quot;, # Output only. The status of the certificate authentication.
119+
&quot;errorMessage&quot;: &quot;A String&quot;, # The error message provided from SIP trunking auth service
120+
},
121+
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the connection.
122+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the connection status changed.
123+
},
124+
],
125+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Human readable alias for this trunk.
126+
&quot;expectedHostname&quot;: [ # Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
127+
&quot;A String&quot;,
128+
],
129+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`.
130+
}
131+
132+
x__xgafv: string, V1 error format.
133+
Allowed values
134+
1 - v1 error format
135+
2 - v2 error format
136+
137+
Returns:
138+
An object of the form:
139+
140+
{ # SipTrunk is the resource that represents a SIP trunk to connect to Google Telephony platform SIP trunking service.
141+
&quot;connections&quot;: [ # Output only. Connections of the SIP trunk.
142+
{ # Represents a connection for SIP Trunk.
143+
&quot;connectionId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the SIP Trunk connection.
144+
&quot;errorDetails&quot;: { # The error details of Sip Trunk connection authentication. # Output only. The error details for the connection. Only populated when authentication errors occur.
145+
&quot;certificateState&quot;: &quot;A String&quot;, # Output only. The status of the certificate authentication.
146+
&quot;errorMessage&quot;: &quot;A String&quot;, # The error message provided from SIP trunking auth service
147+
},
148+
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the connection.
149+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the connection status changed.
150+
},
151+
],
152+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Human readable alias for this trunk.
153+
&quot;expectedHostname&quot;: [ # Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
154+
&quot;A String&quot;,
155+
],
156+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`.
157+
}</pre>
158+
</div>
159+
160+
<div class="method">
161+
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
162+
<pre>Deletes a specified SipTrunk.
163+
164+
Args:
165+
name: string, Required. The name of the SIP trunk to delete. Format: `projects//locations//sipTrunks/`. (required)
166+
x__xgafv: string, V1 error format.
167+
Allowed values
168+
1 - v1 error format
169+
2 - v2 error format
170+
171+
Returns:
172+
An object of the form:
173+
174+
{ # 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); }
175+
}</pre>
176+
</div>
177+
178+
<div class="method">
179+
<code class="details" id="get">get(name, x__xgafv=None)</code>
180+
<pre>Retrieves the specified SipTrunk.
181+
182+
Args:
183+
name: string, Required. The name of the SIP trunk to delete. Format: `projects//locations//sipTrunks/`. (required)
184+
x__xgafv: string, V1 error format.
185+
Allowed values
186+
1 - v1 error format
187+
2 - v2 error format
188+
189+
Returns:
190+
An object of the form:
191+
192+
{ # SipTrunk is the resource that represents a SIP trunk to connect to Google Telephony platform SIP trunking service.
193+
&quot;connections&quot;: [ # Output only. Connections of the SIP trunk.
194+
{ # Represents a connection for SIP Trunk.
195+
&quot;connectionId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the SIP Trunk connection.
196+
&quot;errorDetails&quot;: { # The error details of Sip Trunk connection authentication. # Output only. The error details for the connection. Only populated when authentication errors occur.
197+
&quot;certificateState&quot;: &quot;A String&quot;, # Output only. The status of the certificate authentication.
198+
&quot;errorMessage&quot;: &quot;A String&quot;, # The error message provided from SIP trunking auth service
199+
},
200+
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the connection.
201+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the connection status changed.
202+
},
203+
],
204+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Human readable alias for this trunk.
205+
&quot;expectedHostname&quot;: [ # Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
206+
&quot;A String&quot;,
207+
],
208+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`.
209+
}</pre>
210+
</div>
211+
212+
<div class="method">
213+
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
214+
<pre>Returns a list of SipTrunks in the specified location.
215+
216+
Args:
217+
parent: string, Required. The location to list SIP trunks from. Format: `projects//locations/`. (required)
218+
pageSize: integer, Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
219+
pageToken: string, Optional. The next_page_token value returned from a previous list request.
220+
x__xgafv: string, V1 error format.
221+
Allowed values
222+
1 - v1 error format
223+
2 - v2 error format
224+
225+
Returns:
226+
An object of the form:
227+
228+
{ # The response message for SipTrunks.ListSipTrunks.
229+
&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.
230+
&quot;sipTrunks&quot;: [ # The list of SIP trunks.
231+
{ # SipTrunk is the resource that represents a SIP trunk to connect to Google Telephony platform SIP trunking service.
232+
&quot;connections&quot;: [ # Output only. Connections of the SIP trunk.
233+
{ # Represents a connection for SIP Trunk.
234+
&quot;connectionId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the SIP Trunk connection.
235+
&quot;errorDetails&quot;: { # The error details of Sip Trunk connection authentication. # Output only. The error details for the connection. Only populated when authentication errors occur.
236+
&quot;certificateState&quot;: &quot;A String&quot;, # Output only. The status of the certificate authentication.
237+
&quot;errorMessage&quot;: &quot;A String&quot;, # The error message provided from SIP trunking auth service
238+
},
239+
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the connection.
240+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the connection status changed.
241+
},
242+
],
243+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Human readable alias for this trunk.
244+
&quot;expectedHostname&quot;: [ # Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
245+
&quot;A String&quot;,
246+
],
247+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`.
248+
},
249+
],
250+
}</pre>
251+
</div>
252+
253+
<div class="method">
254+
<code class="details" id="list_next">list_next()</code>
255+
<pre>Retrieves the next page of results.
256+
257+
Args:
258+
previous_request: The request for the previous page. (required)
259+
previous_response: The response from the request for the previous page. (required)
260+
261+
Returns:
262+
A request object that you can call &#x27;execute()&#x27; on to request the next
263+
page. Returns None if there are no more items in the collection.
264+
</pre>
265+
</div>
266+
267+
<div class="method">
268+
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
269+
<pre>Updates the specified SipTrunk.
270+
271+
Args:
272+
name: string, Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`. (required)
273+
body: object, The request body.
274+
The object takes the form of:
275+
276+
{ # SipTrunk is the resource that represents a SIP trunk to connect to Google Telephony platform SIP trunking service.
277+
&quot;connections&quot;: [ # Output only. Connections of the SIP trunk.
278+
{ # Represents a connection for SIP Trunk.
279+
&quot;connectionId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the SIP Trunk connection.
280+
&quot;errorDetails&quot;: { # The error details of Sip Trunk connection authentication. # Output only. The error details for the connection. Only populated when authentication errors occur.
281+
&quot;certificateState&quot;: &quot;A String&quot;, # Output only. The status of the certificate authentication.
282+
&quot;errorMessage&quot;: &quot;A String&quot;, # The error message provided from SIP trunking auth service
283+
},
284+
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the connection.
285+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the connection status changed.
286+
},
287+
],
288+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Human readable alias for this trunk.
289+
&quot;expectedHostname&quot;: [ # Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
290+
&quot;A String&quot;,
291+
],
292+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`.
293+
}
294+
295+
updateMask: string, Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.
296+
x__xgafv: string, V1 error format.
297+
Allowed values
298+
1 - v1 error format
299+
2 - v2 error format
300+
301+
Returns:
302+
An object of the form:
303+
304+
{ # SipTrunk is the resource that represents a SIP trunk to connect to Google Telephony platform SIP trunking service.
305+
&quot;connections&quot;: [ # Output only. Connections of the SIP trunk.
306+
{ # Represents a connection for SIP Trunk.
307+
&quot;connectionId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the SIP Trunk connection.
308+
&quot;errorDetails&quot;: { # The error details of Sip Trunk connection authentication. # Output only. The error details for the connection. Only populated when authentication errors occur.
309+
&quot;certificateState&quot;: &quot;A String&quot;, # Output only. The status of the certificate authentication.
310+
&quot;errorMessage&quot;: &quot;A String&quot;, # The error message provided from SIP trunking auth service
311+
},
312+
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the connection.
313+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the connection status changed.
314+
},
315+
],
316+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Human readable alias for this trunk.
317+
&quot;expectedHostname&quot;: [ # Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
318+
&quot;A String&quot;,
319+
],
320+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`.
321+
}</pre>
322+
</div>
323+
324+
</body></html>

0 commit comments

Comments
 (0)