@@ -104,6 +104,9 @@ <h2>Instance Methods</h2>
104
104
< p class ="toc_element ">
105
105
< code > < a href ="#list "> list(parent, includeMetaData=None, includeRevisions=None, x__xgafv=None)</ a > </ code > </ p >
106
106
< p class ="firstline "> Lists the names of all API proxies in an organization. The names returned correspond to the names defined in the configuration files for each API proxy.</ p >
107
+ < p class ="toc_element ">
108
+ < code > < a href ="#patch "> patch(name, body=None, updateMask=None, x__xgafv=None)</ a > </ code > </ p >
109
+ < p class ="firstline "> Updates an existing API proxy.</ p >
107
110
< h3 > Method Details</ h3 >
108
111
< div class ="method ">
109
112
< code class ="details " id ="close "> close()</ code >
@@ -297,4 +300,55 @@ <h3>Method Details</h3>
297
300
}</ pre >
298
301
</ div >
299
302
303
+ < div class ="method ">
304
+ < code class ="details " id ="patch "> patch(name, body=None, updateMask=None, x__xgafv=None)</ code >
305
+ < pre > Updates an existing API proxy.
306
+
307
+ Args:
308
+ name: string, Required. API proxy to update in the following format: `organizations/{org}/apis/{api}` (required)
309
+ body: object, The request body.
310
+ The object takes the form of:
311
+
312
+ { # Metadata describing the API proxy
313
+ "labels": { # User labels applied to this API Proxy.
314
+ "a_key": "A String",
315
+ },
316
+ "latestRevisionId": "A String", # Output only. The id of the most recently created revision for this api proxy.
317
+ "metaData": { # Metadata common to many entities in this API. # Output only. Metadata describing the API proxy.
318
+ "createdAt": "A String", # Time at which the API proxy was created, in milliseconds since epoch.
319
+ "lastModifiedAt": "A String", # Time at which the API proxy was most recently modified, in milliseconds since epoch.
320
+ "subType": "A String", # The type of entity described
321
+ },
322
+ "name": "A String", # Output only. Name of the API proxy.
323
+ "revision": [ # Output only. List of revisons defined for the API proxy.
324
+ "A String",
325
+ ],
326
+ }
327
+
328
+ updateMask: string, Required. The list of fields to update.
329
+ x__xgafv: string, V1 error format.
330
+ Allowed values
331
+ 1 - v1 error format
332
+ 2 - v2 error format
333
+
334
+ Returns:
335
+ An object of the form:
336
+
337
+ { # Metadata describing the API proxy
338
+ "labels": { # User labels applied to this API Proxy.
339
+ "a_key": "A String",
340
+ },
341
+ "latestRevisionId": "A String", # Output only. The id of the most recently created revision for this api proxy.
342
+ "metaData": { # Metadata common to many entities in this API. # Output only. Metadata describing the API proxy.
343
+ "createdAt": "A String", # Time at which the API proxy was created, in milliseconds since epoch.
344
+ "lastModifiedAt": "A String", # Time at which the API proxy was most recently modified, in milliseconds since epoch.
345
+ "subType": "A String", # The type of entity described
346
+ },
347
+ "name": "A String", # Output only. Name of the API proxy.
348
+ "revision": [ # Output only. List of revisons defined for the API proxy.
349
+ "A String",
350
+ ],
351
+ }</ pre >
352
+ </ div >
353
+
300
354
</ body > </ html >
0 commit comments