Debian Codegraph @

docs/dyn/dataplex_v1.projects.locations.metadataFeeds.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="dataplex_v1.html">Cloud Dataplex API</a> . <a href="dataplex_v1.projects.html">projects</a> . <a href="dataplex_v1.projects.locations.html">locations</a> . <a href="dataplex_v1.projects.locations.metadataFeeds.html">metadataFeeds</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, metadataFeedId=None, validateOnly=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a MetadataFeed.</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 MetadataFeed.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a MetadataFeed.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Retrieve a list of MetadataFeeds.</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, validateOnly=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates a MetadataFeed.</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, metadataFeedId=None, validateOnly=None, x__xgafv=None)</code>
106 <pre>Creates a MetadataFeed.
107
108 Args:
109 parent: string, Required. The resource name of the parent location, in the format projects/{project_id_or_number}/locations/{location_id} (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # MetadataFeed contains information related to the metadata feed.
114 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the feed was created.
115 &quot;filters&quot;: { # Filters defines the type of changes that you want to listen to. You can have multiple entry type filters and multiple aspect type filters. All of the entry type filters are OR&#x27;ed together. All of the aspect type filters are OR&#x27;ed together. All of the entry type filters and aspect type filters are AND&#x27;ed together. # Optional. The filters of the metadata feed. Only the changes that match the filters are published.
116 &quot;aspectTypes&quot;: [ # Optional. The aspect types that you want to listen to. Depending on how the aspect is attached to the entry, in the format: projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}.
117 &quot;A String&quot;,
118 ],
119 &quot;changeTypes&quot;: [ # Optional. The type of change that you want to listen to. If not specified, all changes are published.
120 &quot;A String&quot;,
121 ],
122 &quot;entryTypes&quot;: [ # Optional. The entry types that you want to listen to, specified as relative resource names in the format projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}. Only entries that belong to the specified entry types are published.
123 &quot;A String&quot;,
124 ],
125 },
126 &quot;labels&quot;: { # Optional. User-defined labels.
127 &quot;a_key&quot;: &quot;A String&quot;,
128 },
129 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the metadata feed, in the format projects/{project_id_or_number}/locations/{location_id}/metadataFeeds/{metadata_feed_id}.
130 &quot;pubsubTopic&quot;: &quot;A String&quot;, # Optional. The pubsub topic that you want the metadata feed messages to publish to. Please grant Dataplex service account the permission to publish messages to the topic. The service account is: service-{PROJECT_NUMBER}@gcp-sa-dataplex.iam.gserviceaccount.com.
131 &quot;scope&quot;: { # Scope defines the scope of the metadata feed. Scopes are exclusive. Only one of the scopes can be specified. # Required. The scope of the metadata feed. Only the in scope changes are published.
132 &quot;entryGroups&quot;: [ # Optional. The entry groups whose entries you want to listen to. Must be in the format: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}.
133 &quot;A String&quot;,
134 ],
135 &quot;organizationLevel&quot;: True or False, # Optional. Whether the metadata feed is at the organization-level. If true, all changes happened to the entries in the same organization as the feed are published. If false, you must specify a list of projects or a list of entry groups whose entries you want to listen to.The default is false.
136 &quot;projects&quot;: [ # Optional. The projects whose entries you want to listen to. Must be in the same organization as the feed. Must be in the format: projects/{project_id_or_number}.
137 &quot;A String&quot;,
138 ],
139 },
140 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-generated, globally unique ID for the metadata job. If the metadata job is deleted and then re-created with the same name, this ID is different.
141 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the feed was updated.
142 }
143
144 metadataFeedId: string, Optional. The metadata job ID. If not provided, a unique ID is generated with the prefix metadata-job-.
145 validateOnly: boolean, Optional. The service validates the request without performing any mutations. The default is false.
146 x__xgafv: string, V1 error format.
147 Allowed values
148 1 - v1 error format
149 2 - v2 error format
150
151 Returns:
152 An object of the form:
153
154 { # This resource represents a long-running operation that is the result of a network API call.
155 &quot;done&quot;: True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
156 &quot;error&quot;: { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
157 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
158 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
159 {
160 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
161 },
162 ],
163 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
164 },
165 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
166 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
167 },
168 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
169 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
170 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
171 },
172 }</pre>
173 </div>
174
175 <div class="method">
176 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
177 <pre>Deletes a MetadataFeed.
178
179 Args:
180 name: string, Required. The resource name of the metadata feed, in the format projects/{project_id_or_number}/locations/{location_id}/MetadataFeeds/{metadata_feed_id}. (required)
181 x__xgafv: string, V1 error format.
182 Allowed values
183 1 - v1 error format
184 2 - v2 error format
185
186 Returns:
187 An object of the form:
188
189 { # This resource represents a long-running operation that is the result of a network API call.
190 &quot;done&quot;: True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
191 &quot;error&quot;: { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
192 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
193 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
194 {
195 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
196 },
197 ],
198 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
199 },
200 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
201 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
202 },
203 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
204 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
205 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
206 },
207 }</pre>
208 </div>
209
210 <div class="method">
211 <code class="details" id="get">get(name, x__xgafv=None)</code>
212 <pre>Gets a MetadataFeed.
213
214 Args:
215 name: string, Required. The resource name of the metadata feed, in the format projects/{project_id_or_number}/locations/{location_id}/MetadataFeeds/{metadata_feed_id}. (required)
216 x__xgafv: string, V1 error format.
217 Allowed values
218 1 - v1 error format
219 2 - v2 error format
220
221 Returns:
222 An object of the form:
223
224 { # MetadataFeed contains information related to the metadata feed.
225 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the feed was created.
226 &quot;filters&quot;: { # Filters defines the type of changes that you want to listen to. You can have multiple entry type filters and multiple aspect type filters. All of the entry type filters are OR&#x27;ed together. All of the aspect type filters are OR&#x27;ed together. All of the entry type filters and aspect type filters are AND&#x27;ed together. # Optional. The filters of the metadata feed. Only the changes that match the filters are published.
227 &quot;aspectTypes&quot;: [ # Optional. The aspect types that you want to listen to. Depending on how the aspect is attached to the entry, in the format: projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}.
228 &quot;A String&quot;,
229 ],
230 &quot;changeTypes&quot;: [ # Optional. The type of change that you want to listen to. If not specified, all changes are published.
231 &quot;A String&quot;,
232 ],
233 &quot;entryTypes&quot;: [ # Optional. The entry types that you want to listen to, specified as relative resource names in the format projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}. Only entries that belong to the specified entry types are published.
234 &quot;A String&quot;,
235 ],
236 },
237 &quot;labels&quot;: { # Optional. User-defined labels.
238 &quot;a_key&quot;: &quot;A String&quot;,
239 },
240 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the metadata feed, in the format projects/{project_id_or_number}/locations/{location_id}/metadataFeeds/{metadata_feed_id}.
241 &quot;pubsubTopic&quot;: &quot;A String&quot;, # Optional. The pubsub topic that you want the metadata feed messages to publish to. Please grant Dataplex service account the permission to publish messages to the topic. The service account is: service-{PROJECT_NUMBER}@gcp-sa-dataplex.iam.gserviceaccount.com.
242 &quot;scope&quot;: { # Scope defines the scope of the metadata feed. Scopes are exclusive. Only one of the scopes can be specified. # Required. The scope of the metadata feed. Only the in scope changes are published.
243 &quot;entryGroups&quot;: [ # Optional. The entry groups whose entries you want to listen to. Must be in the format: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}.
244 &quot;A String&quot;,
245 ],
246 &quot;organizationLevel&quot;: True or False, # Optional. Whether the metadata feed is at the organization-level. If true, all changes happened to the entries in the same organization as the feed are published. If false, you must specify a list of projects or a list of entry groups whose entries you want to listen to.The default is false.
247 &quot;projects&quot;: [ # Optional. The projects whose entries you want to listen to. Must be in the same organization as the feed. Must be in the format: projects/{project_id_or_number}.
248 &quot;A String&quot;,
249 ],
250 },
251 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-generated, globally unique ID for the metadata job. If the metadata job is deleted and then re-created with the same name, this ID is different.
252 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the feed was updated.
253 }</pre>
254 </div>
255
256 <div class="method">
257 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
258 <pre>Retrieve a list of MetadataFeeds.
259
260 Args:
261 parent: string, Required. The resource name of the parent location, in the format projects/{project_id_or_number}/locations/{location_id} (required)
262 filter: string, Optional. Filter request. Filters are case-sensitive. The service supports the following formats: labels.key1 = &quot;value1&quot; labels:key1 name = &quot;value&quot;You can combine filters with AND, OR, and NOT operators.
263 orderBy: string, Optional. The field to sort the results by, either name or create_time. If not specified, the ordering is undefined.
264 pageSize: integer, Optional. The maximum number of metadata feeds to return. The service might return fewer feeds than this value. If unspecified, at most 10 feeds are returned. The maximum value is 1,000.
265 pageToken: string, Optional. The page token received from a previous ListMetadataFeeds call. Provide this token to retrieve the subsequent page of results. When paginating, all other parameters that are provided to the ListMetadataFeeds request must match the call that provided the page token.
266 x__xgafv: string, V1 error format.
267 Allowed values
268 1 - v1 error format
269 2 - v2 error format
270
271 Returns:
272 An object of the form:
273
274 { # Response message for ListMetadataFeeds.
275 &quot;metadataFeeds&quot;: [ # List of metadata feeds under the specified parent location.
276 { # MetadataFeed contains information related to the metadata feed.
277 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the feed was created.
278 &quot;filters&quot;: { # Filters defines the type of changes that you want to listen to. You can have multiple entry type filters and multiple aspect type filters. All of the entry type filters are OR&#x27;ed together. All of the aspect type filters are OR&#x27;ed together. All of the entry type filters and aspect type filters are AND&#x27;ed together. # Optional. The filters of the metadata feed. Only the changes that match the filters are published.
279 &quot;aspectTypes&quot;: [ # Optional. The aspect types that you want to listen to. Depending on how the aspect is attached to the entry, in the format: projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}.
280 &quot;A String&quot;,
281 ],
282 &quot;changeTypes&quot;: [ # Optional. The type of change that you want to listen to. If not specified, all changes are published.
283 &quot;A String&quot;,
284 ],
285 &quot;entryTypes&quot;: [ # Optional. The entry types that you want to listen to, specified as relative resource names in the format projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}. Only entries that belong to the specified entry types are published.
286 &quot;A String&quot;,
287 ],
288 },
289 &quot;labels&quot;: { # Optional. User-defined labels.
290 &quot;a_key&quot;: &quot;A String&quot;,
291 },
292 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the metadata feed, in the format projects/{project_id_or_number}/locations/{location_id}/metadataFeeds/{metadata_feed_id}.
293 &quot;pubsubTopic&quot;: &quot;A String&quot;, # Optional. The pubsub topic that you want the metadata feed messages to publish to. Please grant Dataplex service account the permission to publish messages to the topic. The service account is: service-{PROJECT_NUMBER}@gcp-sa-dataplex.iam.gserviceaccount.com.
294 &quot;scope&quot;: { # Scope defines the scope of the metadata feed. Scopes are exclusive. Only one of the scopes can be specified. # Required. The scope of the metadata feed. Only the in scope changes are published.
295 &quot;entryGroups&quot;: [ # Optional. The entry groups whose entries you want to listen to. Must be in the format: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}.
296 &quot;A String&quot;,
297 ],
298 &quot;organizationLevel&quot;: True or False, # Optional. Whether the metadata feed is at the organization-level. If true, all changes happened to the entries in the same organization as the feed are published. If false, you must specify a list of projects or a list of entry groups whose entries you want to listen to.The default is false.
299 &quot;projects&quot;: [ # Optional. The projects whose entries you want to listen to. Must be in the same organization as the feed. Must be in the format: projects/{project_id_or_number}.
300 &quot;A String&quot;,
301 ],
302 },
303 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-generated, globally unique ID for the metadata job. If the metadata job is deleted and then re-created with the same name, this ID is different.
304 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the feed was updated.
305 },
306 ],
307 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results. If there are no more results in the list, the value is empty.
308 &quot;unreachable&quot;: [ # Unordered list. Locations that the service couldn&#x27;t reach.
309 &quot;A String&quot;,
310 ],
311 }</pre>
312 </div>
313
314 <div class="method">
315 <code class="details" id="list_next">list_next()</code>
316 <pre>Retrieves the next page of results.
317
318 Args:
319 previous_request: The request for the previous page. (required)
320 previous_response: The response from the request for the previous page. (required)
321
322 Returns:
323 A request object that you can call &#x27;execute()&#x27; on to request the next
324 page. Returns None if there are no more items in the collection.
325 </pre>
326 </div>
327
328 <div class="method">
329 <code class="details" id="patch">patch(name, body=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
330 <pre>Updates a MetadataFeed.
331
332 Args:
333 name: string, Identifier. The resource name of the metadata feed, in the format projects/{project_id_or_number}/locations/{location_id}/metadataFeeds/{metadata_feed_id}. (required)
334 body: object, The request body.
335 The object takes the form of:
336
337 { # MetadataFeed contains information related to the metadata feed.
338 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the feed was created.
339 &quot;filters&quot;: { # Filters defines the type of changes that you want to listen to. You can have multiple entry type filters and multiple aspect type filters. All of the entry type filters are OR&#x27;ed together. All of the aspect type filters are OR&#x27;ed together. All of the entry type filters and aspect type filters are AND&#x27;ed together. # Optional. The filters of the metadata feed. Only the changes that match the filters are published.
340 &quot;aspectTypes&quot;: [ # Optional. The aspect types that you want to listen to. Depending on how the aspect is attached to the entry, in the format: projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}.
341 &quot;A String&quot;,
342 ],
343 &quot;changeTypes&quot;: [ # Optional. The type of change that you want to listen to. If not specified, all changes are published.
344 &quot;A String&quot;,
345 ],
346 &quot;entryTypes&quot;: [ # Optional. The entry types that you want to listen to, specified as relative resource names in the format projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}. Only entries that belong to the specified entry types are published.
347 &quot;A String&quot;,
348 ],
349 },
350 &quot;labels&quot;: { # Optional. User-defined labels.
351 &quot;a_key&quot;: &quot;A String&quot;,
352 },
353 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the metadata feed, in the format projects/{project_id_or_number}/locations/{location_id}/metadataFeeds/{metadata_feed_id}.
354 &quot;pubsubTopic&quot;: &quot;A String&quot;, # Optional. The pubsub topic that you want the metadata feed messages to publish to. Please grant Dataplex service account the permission to publish messages to the topic. The service account is: service-{PROJECT_NUMBER}@gcp-sa-dataplex.iam.gserviceaccount.com.
355 &quot;scope&quot;: { # Scope defines the scope of the metadata feed. Scopes are exclusive. Only one of the scopes can be specified. # Required. The scope of the metadata feed. Only the in scope changes are published.
356 &quot;entryGroups&quot;: [ # Optional. The entry groups whose entries you want to listen to. Must be in the format: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}.
357 &quot;A String&quot;,
358 ],
359 &quot;organizationLevel&quot;: True or False, # Optional. Whether the metadata feed is at the organization-level. If true, all changes happened to the entries in the same organization as the feed are published. If false, you must specify a list of projects or a list of entry groups whose entries you want to listen to.The default is false.
360 &quot;projects&quot;: [ # Optional. The projects whose entries you want to listen to. Must be in the same organization as the feed. Must be in the format: projects/{project_id_or_number}.
361 &quot;A String&quot;,
362 ],
363 },
364 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-generated, globally unique ID for the metadata job. If the metadata job is deleted and then re-created with the same name, this ID is different.
365 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the feed was updated.
366 }
367
368 updateMask: string, Optional. Mask of fields to update.
369 validateOnly: boolean, Optional. Only validate the request, but do not perform mutations. The default is false.
370 x__xgafv: string, V1 error format.
371 Allowed values
372 1 - v1 error format
373 2 - v2 error format
374
375 Returns:
376 An object of the form:
377
378 { # This resource represents a long-running operation that is the result of a network API call.
379 &quot;done&quot;: True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
380 &quot;error&quot;: { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
381 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
382 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
383 {
384 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
385 },
386 ],
387 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
388 },
389 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
390 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
391 },
392 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
393 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
394 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
395 },
396 }</pre>
397 </div>
398
399 </body></html>