Debian Codegraph @

docs/dyn/apihub_v1.projects.locations.externalApis.html

raw
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="apihub_v1.html">API hub API</a> . <a href="apihub_v1.projects.html">projects</a> . <a href="apihub_v1.projects.locations.html">locations</a> . <a href="apihub_v1.projects.locations.externalApis.html">externalApis</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, externalApiId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Create an External API resource in the API hub.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Delete an External API resource in the API hub.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Get details about an External API resource in the API hub.</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">List External API resources in the API hub.</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">Update an External API resource in the API hub. The following fields can be updated: * display_name * description * documentation * endpoints * paths The update_mask should be used to specify the fields being updated.</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, externalApiId=None, x__xgafv=None)</code>
106 <pre>Create an External API resource in the API hub.
107
108 Args:
109 parent: string, Required. The parent resource for the External API resource. Format: `projects/{project}/locations/{location}` (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # An external API represents an API being provided by external sources. This can be used to model third-party APIs and can be used to define dependencies.
114 &quot;attributes&quot;: { # Optional. The list of user defined attributes associated with the Version resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
115 &quot;a_key&quot;: { # The attribute values associated with resource.
116 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
117 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
118 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
119 { # The value that can be assigned to the attribute when the data type is enum.
120 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
121 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
122 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
123 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
124 },
125 ],
126 },
127 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
128 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
129 &quot;A String&quot;,
130 ],
131 },
132 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
133 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
134 &quot;A String&quot;,
135 ],
136 },
137 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
138 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
139 &quot;A String&quot;,
140 ],
141 },
142 },
143 },
144 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation timestamp.
145 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the external API. Max length is 2000 characters (Unicode Code Points).
146 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the external API. Max length is 63 characters (Unicode Code Points).
147 &quot;documentation&quot;: { # Documentation details. # Optional. Documentation of the external API.
148 &quot;externalUri&quot;: &quot;A String&quot;, # Optional. The uri of the externally hosted documentation.
149 },
150 &quot;endpoints&quot;: [ # Optional. List of endpoints on which this API is accessible.
151 &quot;A String&quot;,
152 ],
153 &quot;name&quot;: &quot;A String&quot;, # Identifier. Format: `projects/{project}/locations/{location}/externalApi/{externalApi}`.
154 &quot;paths&quot;: [ # Optional. List of paths served by this API.
155 &quot;A String&quot;,
156 ],
157 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update timestamp.
158 }
159
160 externalApiId: string, Optional. The ID to use for the External API resource, which will become the final component of the External API&#x27;s resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another External API resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/.
161 x__xgafv: string, V1 error format.
162 Allowed values
163 1 - v1 error format
164 2 - v2 error format
165
166 Returns:
167 An object of the form:
168
169 { # An external API represents an API being provided by external sources. This can be used to model third-party APIs and can be used to define dependencies.
170 &quot;attributes&quot;: { # Optional. The list of user defined attributes associated with the Version resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
171 &quot;a_key&quot;: { # The attribute values associated with resource.
172 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
173 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
174 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
175 { # The value that can be assigned to the attribute when the data type is enum.
176 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
177 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
178 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
179 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
180 },
181 ],
182 },
183 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
184 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
185 &quot;A String&quot;,
186 ],
187 },
188 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
189 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
190 &quot;A String&quot;,
191 ],
192 },
193 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
194 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
195 &quot;A String&quot;,
196 ],
197 },
198 },
199 },
200 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation timestamp.
201 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the external API. Max length is 2000 characters (Unicode Code Points).
202 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the external API. Max length is 63 characters (Unicode Code Points).
203 &quot;documentation&quot;: { # Documentation details. # Optional. Documentation of the external API.
204 &quot;externalUri&quot;: &quot;A String&quot;, # Optional. The uri of the externally hosted documentation.
205 },
206 &quot;endpoints&quot;: [ # Optional. List of endpoints on which this API is accessible.
207 &quot;A String&quot;,
208 ],
209 &quot;name&quot;: &quot;A String&quot;, # Identifier. Format: `projects/{project}/locations/{location}/externalApi/{externalApi}`.
210 &quot;paths&quot;: [ # Optional. List of paths served by this API.
211 &quot;A String&quot;,
212 ],
213 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update timestamp.
214 }</pre>
215 </div>
216
217 <div class="method">
218 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
219 <pre>Delete an External API resource in the API hub.
220
221 Args:
222 name: string, Required. The name of the External API resource to delete. Format: `projects/{project}/locations/{location}/externalApis/{externalApi}` (required)
223 x__xgafv: string, V1 error format.
224 Allowed values
225 1 - v1 error format
226 2 - v2 error format
227
228 Returns:
229 An object of the form:
230
231 { # 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); }
232 }</pre>
233 </div>
234
235 <div class="method">
236 <code class="details" id="get">get(name, x__xgafv=None)</code>
237 <pre>Get details about an External API resource in the API hub.
238
239 Args:
240 name: string, Required. The name of the External API resource to retrieve. Format: `projects/{project}/locations/{location}/externalApis/{externalApi}` (required)
241 x__xgafv: string, V1 error format.
242 Allowed values
243 1 - v1 error format
244 2 - v2 error format
245
246 Returns:
247 An object of the form:
248
249 { # An external API represents an API being provided by external sources. This can be used to model third-party APIs and can be used to define dependencies.
250 &quot;attributes&quot;: { # Optional. The list of user defined attributes associated with the Version resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
251 &quot;a_key&quot;: { # The attribute values associated with resource.
252 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
253 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
254 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
255 { # The value that can be assigned to the attribute when the data type is enum.
256 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
257 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
258 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
259 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
260 },
261 ],
262 },
263 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
264 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
265 &quot;A String&quot;,
266 ],
267 },
268 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
269 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
270 &quot;A String&quot;,
271 ],
272 },
273 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
274 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
275 &quot;A String&quot;,
276 ],
277 },
278 },
279 },
280 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation timestamp.
281 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the external API. Max length is 2000 characters (Unicode Code Points).
282 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the external API. Max length is 63 characters (Unicode Code Points).
283 &quot;documentation&quot;: { # Documentation details. # Optional. Documentation of the external API.
284 &quot;externalUri&quot;: &quot;A String&quot;, # Optional. The uri of the externally hosted documentation.
285 },
286 &quot;endpoints&quot;: [ # Optional. List of endpoints on which this API is accessible.
287 &quot;A String&quot;,
288 ],
289 &quot;name&quot;: &quot;A String&quot;, # Identifier. Format: `projects/{project}/locations/{location}/externalApi/{externalApi}`.
290 &quot;paths&quot;: [ # Optional. List of paths served by this API.
291 &quot;A String&quot;,
292 ],
293 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update timestamp.
294 }</pre>
295 </div>
296
297 <div class="method">
298 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
299 <pre>List External API resources in the API hub.
300
301 Args:
302 parent: string, Required. The parent, which owns this collection of External API resources. Format: `projects/{project}/locations/{location}` (required)
303 pageSize: integer, Optional. The maximum number of External API resources to return. The service may return fewer than this value. If unspecified, at most 50 ExternalApis will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
304 pageToken: string, Optional. A page token, received from a previous `ListExternalApis` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListExternalApis` must match the call that provided the page token.
305 x__xgafv: string, V1 error format.
306 Allowed values
307 1 - v1 error format
308 2 - v2 error format
309
310 Returns:
311 An object of the form:
312
313 { # The ListExternalApis method&#x27;s response.
314 &quot;externalApis&quot;: [ # The External API resources present in the API hub.
315 { # An external API represents an API being provided by external sources. This can be used to model third-party APIs and can be used to define dependencies.
316 &quot;attributes&quot;: { # Optional. The list of user defined attributes associated with the Version resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
317 &quot;a_key&quot;: { # The attribute values associated with resource.
318 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
319 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
320 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
321 { # The value that can be assigned to the attribute when the data type is enum.
322 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
323 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
324 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
325 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
326 },
327 ],
328 },
329 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
330 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
331 &quot;A String&quot;,
332 ],
333 },
334 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
335 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
336 &quot;A String&quot;,
337 ],
338 },
339 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
340 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
341 &quot;A String&quot;,
342 ],
343 },
344 },
345 },
346 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation timestamp.
347 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the external API. Max length is 2000 characters (Unicode Code Points).
348 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the external API. Max length is 63 characters (Unicode Code Points).
349 &quot;documentation&quot;: { # Documentation details. # Optional. Documentation of the external API.
350 &quot;externalUri&quot;: &quot;A String&quot;, # Optional. The uri of the externally hosted documentation.
351 },
352 &quot;endpoints&quot;: [ # Optional. List of endpoints on which this API is accessible.
353 &quot;A String&quot;,
354 ],
355 &quot;name&quot;: &quot;A String&quot;, # Identifier. Format: `projects/{project}/locations/{location}/externalApi/{externalApi}`.
356 &quot;paths&quot;: [ # Optional. List of paths served by this API.
357 &quot;A String&quot;,
358 ],
359 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update timestamp.
360 },
361 ],
362 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
363 }</pre>
364 </div>
365
366 <div class="method">
367 <code class="details" id="list_next">list_next()</code>
368 <pre>Retrieves the next page of results.
369
370 Args:
371 previous_request: The request for the previous page. (required)
372 previous_response: The response from the request for the previous page. (required)
373
374 Returns:
375 A request object that you can call &#x27;execute()&#x27; on to request the next
376 page. Returns None if there are no more items in the collection.
377 </pre>
378 </div>
379
380 <div class="method">
381 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
382 <pre>Update an External API resource in the API hub. The following fields can be updated: * display_name * description * documentation * endpoints * paths The update_mask should be used to specify the fields being updated.
383
384 Args:
385 name: string, Identifier. Format: `projects/{project}/locations/{location}/externalApi/{externalApi}`. (required)
386 body: object, The request body.
387 The object takes the form of:
388
389 { # An external API represents an API being provided by external sources. This can be used to model third-party APIs and can be used to define dependencies.
390 &quot;attributes&quot;: { # Optional. The list of user defined attributes associated with the Version resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
391 &quot;a_key&quot;: { # The attribute values associated with resource.
392 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
393 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
394 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
395 { # The value that can be assigned to the attribute when the data type is enum.
396 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
397 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
398 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
399 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
400 },
401 ],
402 },
403 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
404 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
405 &quot;A String&quot;,
406 ],
407 },
408 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
409 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
410 &quot;A String&quot;,
411 ],
412 },
413 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
414 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
415 &quot;A String&quot;,
416 ],
417 },
418 },
419 },
420 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation timestamp.
421 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the external API. Max length is 2000 characters (Unicode Code Points).
422 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the external API. Max length is 63 characters (Unicode Code Points).
423 &quot;documentation&quot;: { # Documentation details. # Optional. Documentation of the external API.
424 &quot;externalUri&quot;: &quot;A String&quot;, # Optional. The uri of the externally hosted documentation.
425 },
426 &quot;endpoints&quot;: [ # Optional. List of endpoints on which this API is accessible.
427 &quot;A String&quot;,
428 ],
429 &quot;name&quot;: &quot;A String&quot;, # Identifier. Format: `projects/{project}/locations/{location}/externalApi/{externalApi}`.
430 &quot;paths&quot;: [ # Optional. List of paths served by this API.
431 &quot;A String&quot;,
432 ],
433 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update timestamp.
434 }
435
436 updateMask: string, Required. The list of fields to update.
437 x__xgafv: string, V1 error format.
438 Allowed values
439 1 - v1 error format
440 2 - v2 error format
441
442 Returns:
443 An object of the form:
444
445 { # An external API represents an API being provided by external sources. This can be used to model third-party APIs and can be used to define dependencies.
446 &quot;attributes&quot;: { # Optional. The list of user defined attributes associated with the Version resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
447 &quot;a_key&quot;: { # The attribute values associated with resource.
448 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
449 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
450 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
451 { # The value that can be assigned to the attribute when the data type is enum.
452 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
453 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
454 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
455 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
456 },
457 ],
458 },
459 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
460 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
461 &quot;A String&quot;,
462 ],
463 },
464 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
465 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
466 &quot;A String&quot;,
467 ],
468 },
469 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
470 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
471 &quot;A String&quot;,
472 ],
473 },
474 },
475 },
476 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation timestamp.
477 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the external API. Max length is 2000 characters (Unicode Code Points).
478 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the external API. Max length is 63 characters (Unicode Code Points).
479 &quot;documentation&quot;: { # Documentation details. # Optional. Documentation of the external API.
480 &quot;externalUri&quot;: &quot;A String&quot;, # Optional. The uri of the externally hosted documentation.
481 },
482 &quot;endpoints&quot;: [ # Optional. List of endpoints on which this API is accessible.
483 &quot;A String&quot;,
484 ],
485 &quot;name&quot;: &quot;A String&quot;, # Identifier. Format: `projects/{project}/locations/{location}/externalApi/{externalApi}`.
486 &quot;paths&quot;: [ # Optional. List of paths served by this API.
487 &quot;A String&quot;,
488 ],
489 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update timestamp.
490 }</pre>
491 </div>
492
493 </body></html>