You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
+
"connections": [ # Output only. Connections of the SIP trunk.
115
+
{ # Represents a connection for SIP Trunk.
116
+
"connectionId": "A String", # Output only. The unique identifier of the SIP Trunk connection.
117
+
"errorDetails": { # The error details of Sip Trunk connection authentication. # Output only. The error details for the connection. Only populated when authentication errors occur.
118
+
"certificateState": "A String", # Output only. The status of the certificate authentication.
119
+
"errorMessage": "A String", # The error message provided from SIP trunking auth service
120
+
},
121
+
"state": "A String", # Output only. State of the connection.
122
+
"updateTime": "A String", # Output only. When the connection status changed.
123
+
},
124
+
],
125
+
"displayName": "A String", # Optional. Human readable alias for this trunk.
126
+
"expectedHostname": [ # Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
127
+
"A String",
128
+
],
129
+
"name": "A String", # 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
+
"connections": [ # Output only. Connections of the SIP trunk.
142
+
{ # Represents a connection for SIP Trunk.
143
+
"connectionId": "A String", # Output only. The unique identifier of the SIP Trunk connection.
144
+
"errorDetails": { # The error details of Sip Trunk connection authentication. # Output only. The error details for the connection. Only populated when authentication errors occur.
145
+
"certificateState": "A String", # Output only. The status of the certificate authentication.
146
+
"errorMessage": "A String", # The error message provided from SIP trunking auth service
147
+
},
148
+
"state": "A String", # Output only. State of the connection.
149
+
"updateTime": "A String", # Output only. When the connection status changed.
150
+
},
151
+
],
152
+
"displayName": "A String", # Optional. Human readable alias for this trunk.
153
+
"expectedHostname": [ # Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
154
+
"A String",
155
+
],
156
+
"name": "A String", # Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`.
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); }
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
+
"connections": [ # Output only. Connections of the SIP trunk.
194
+
{ # Represents a connection for SIP Trunk.
195
+
"connectionId": "A String", # Output only. The unique identifier of the SIP Trunk connection.
196
+
"errorDetails": { # The error details of Sip Trunk connection authentication. # Output only. The error details for the connection. Only populated when authentication errors occur.
197
+
"certificateState": "A String", # Output only. The status of the certificate authentication.
198
+
"errorMessage": "A String", # The error message provided from SIP trunking auth service
199
+
},
200
+
"state": "A String", # Output only. State of the connection.
201
+
"updateTime": "A String", # Output only. When the connection status changed.
202
+
},
203
+
],
204
+
"displayName": "A String", # Optional. Human readable alias for this trunk.
205
+
"expectedHostname": [ # Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
206
+
"A String",
207
+
],
208
+
"name": "A String", # Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`.
<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
+
"nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no more results in the list.
230
+
"sipTrunks": [ # 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
+
"connections": [ # Output only. Connections of the SIP trunk.
233
+
{ # Represents a connection for SIP Trunk.
234
+
"connectionId": "A String", # Output only. The unique identifier of the SIP Trunk connection.
235
+
"errorDetails": { # The error details of Sip Trunk connection authentication. # Output only. The error details for the connection. Only populated when authentication errors occur.
236
+
"certificateState": "A String", # Output only. The status of the certificate authentication.
237
+
"errorMessage": "A String", # The error message provided from SIP trunking auth service
238
+
},
239
+
"state": "A String", # Output only. State of the connection.
240
+
"updateTime": "A String", # Output only. When the connection status changed.
241
+
},
242
+
],
243
+
"displayName": "A String", # Optional. Human readable alias for this trunk.
244
+
"expectedHostname": [ # Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
245
+
"A String",
246
+
],
247
+
"name": "A String", # Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`.
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
+
"connections": [ # Output only. Connections of the SIP trunk.
278
+
{ # Represents a connection for SIP Trunk.
279
+
"connectionId": "A String", # Output only. The unique identifier of the SIP Trunk connection.
280
+
"errorDetails": { # The error details of Sip Trunk connection authentication. # Output only. The error details for the connection. Only populated when authentication errors occur.
281
+
"certificateState": "A String", # Output only. The status of the certificate authentication.
282
+
"errorMessage": "A String", # The error message provided from SIP trunking auth service
283
+
},
284
+
"state": "A String", # Output only. State of the connection.
285
+
"updateTime": "A String", # Output only. When the connection status changed.
286
+
},
287
+
],
288
+
"displayName": "A String", # Optional. Human readable alias for this trunk.
289
+
"expectedHostname": [ # Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
290
+
"A String",
291
+
],
292
+
"name": "A String", # 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
+
"connections": [ # Output only. Connections of the SIP trunk.
306
+
{ # Represents a connection for SIP Trunk.
307
+
"connectionId": "A String", # Output only. The unique identifier of the SIP Trunk connection.
308
+
"errorDetails": { # The error details of Sip Trunk connection authentication. # Output only. The error details for the connection. Only populated when authentication errors occur.
309
+
"certificateState": "A String", # Output only. The status of the certificate authentication.
310
+
"errorMessage": "A String", # The error message provided from SIP trunking auth service
311
+
},
312
+
"state": "A String", # Output only. State of the connection.
313
+
"updateTime": "A String", # Output only. When the connection status changed.
314
+
},
315
+
],
316
+
"displayName": "A String", # Optional. Human readable alias for this trunk.
317
+
"expectedHostname": [ # Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
318
+
"A String",
319
+
],
320
+
"name": "A String", # Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`.
0 commit comments