Debian Codegraph @

docs/dyn/netapp_v1.projects.locations.backupVaults.backups.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="netapp_v1.html">NetApp API</a> . <a href="netapp_v1.projects.html">projects</a> . <a href="netapp_v1.projects.locations.html">locations</a> . <a href="netapp_v1.projects.locations.backupVaults.html">backupVaults</a> . <a href="netapp_v1.projects.locations.backupVaults.backups.html">backups</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, backupId=None, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a backup from the volume specified in the request The backup can be created from the given snapshot if specified in the request. If no snapshot specified, there'll be a new snapshot taken to initiate the backup creation.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Warning! This operation will permanently delete the backup.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Returns the description of the specified backup</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">Returns descriptions of all backups for a backupVault.</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 backup with full spec.</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, backupId=None, body=None, x__xgafv=None)</code>
106 <pre>Creates a backup from the volume specified in the request The backup can be created from the given snapshot if specified in the request. If no snapshot specified, there&#x27;ll be a new snapshot taken to initiate the backup creation.
107
108 Args:
109 parent: string, Required. The NetApp backupVault to create the backups of, in the format `projects/*/locations/*/backupVaults/{backup_vault_id}` (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # A NetApp Backup.
114 &quot;backupRegion&quot;: &quot;A String&quot;, # Output only. Region in which backup is stored. Format: `projects/{project_id}/locations/{location}`
115 &quot;backupType&quot;: &quot;A String&quot;, # Output only. Type of backup, manually created or created by a backup policy.
116 &quot;chainStorageBytes&quot;: &quot;A String&quot;, # Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size)
117 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the backup was created.
118 &quot;description&quot;: &quot;A String&quot;, # A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.
119 &quot;enforcedRetentionEndTime&quot;: &quot;A String&quot;, # Output only. The time until which the backup is not deletable.
120 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
121 &quot;a_key&quot;: &quot;A String&quot;,
122 },
123 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the backup. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`.
124 &quot;ontapSource&quot;: { # Represents ONTAP source details. # Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source should be provided.
125 &quot;snapshotUuid&quot;: &quot;A String&quot;, # Optional. The UUID of the ONTAP source snapshot.
126 &quot;storagePool&quot;: &quot;A String&quot;, # Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode volumes. Format: `projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}`
127 &quot;volumeUuid&quot;: &quot;A String&quot;, # Required. The UUID of the ONTAP source volume.
128 },
129 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use
130 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use
131 &quot;sourceSnapshot&quot;: &quot;A String&quot;, # If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`
132 &quot;sourceVolume&quot;: &quot;A String&quot;, # The resource name of the volume that this backup belongs to. You must provide either `source_volume` or `ontap_source`. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}`
133 &quot;state&quot;: &quot;A String&quot;, # Output only. The backup state.
134 &quot;volumeRegion&quot;: &quot;A String&quot;, # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}`
135 &quot;volumeUsageBytes&quot;: &quot;A String&quot;, # Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big.
136 }
137
138 backupId: string, Required. The ID to use for the backup. The ID must be unique within the specified backupVault. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
139 x__xgafv: string, V1 error format.
140 Allowed values
141 1 - v1 error format
142 2 - v2 error format
143
144 Returns:
145 An object of the form:
146
147 { # This resource represents a long-running operation that is the result of a network API call.
148 &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.
149 &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.
150 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
151 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
152 {
153 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
154 },
155 ],
156 &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.
157 },
158 &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.
159 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
160 },
161 &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}`.
162 &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`.
163 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
164 },
165 }</pre>
166 </div>
167
168 <div class="method">
169 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
170 <pre>Warning! This operation will permanently delete the backup.
171
172 Args:
173 name: string, Required. The backup resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}` (required)
174 x__xgafv: string, V1 error format.
175 Allowed values
176 1 - v1 error format
177 2 - v2 error format
178
179 Returns:
180 An object of the form:
181
182 { # This resource represents a long-running operation that is the result of a network API call.
183 &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.
184 &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.
185 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
186 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
187 {
188 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
189 },
190 ],
191 &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.
192 },
193 &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.
194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
195 },
196 &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}`.
197 &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`.
198 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
199 },
200 }</pre>
201 </div>
202
203 <div class="method">
204 <code class="details" id="get">get(name, x__xgafv=None)</code>
205 <pre>Returns the description of the specified backup
206
207 Args:
208 name: string, Required. The backup resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}` (required)
209 x__xgafv: string, V1 error format.
210 Allowed values
211 1 - v1 error format
212 2 - v2 error format
213
214 Returns:
215 An object of the form:
216
217 { # A NetApp Backup.
218 &quot;backupRegion&quot;: &quot;A String&quot;, # Output only. Region in which backup is stored. Format: `projects/{project_id}/locations/{location}`
219 &quot;backupType&quot;: &quot;A String&quot;, # Output only. Type of backup, manually created or created by a backup policy.
220 &quot;chainStorageBytes&quot;: &quot;A String&quot;, # Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size)
221 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the backup was created.
222 &quot;description&quot;: &quot;A String&quot;, # A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.
223 &quot;enforcedRetentionEndTime&quot;: &quot;A String&quot;, # Output only. The time until which the backup is not deletable.
224 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
225 &quot;a_key&quot;: &quot;A String&quot;,
226 },
227 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the backup. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`.
228 &quot;ontapSource&quot;: { # Represents ONTAP source details. # Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source should be provided.
229 &quot;snapshotUuid&quot;: &quot;A String&quot;, # Optional. The UUID of the ONTAP source snapshot.
230 &quot;storagePool&quot;: &quot;A String&quot;, # Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode volumes. Format: `projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}`
231 &quot;volumeUuid&quot;: &quot;A String&quot;, # Required. The UUID of the ONTAP source volume.
232 },
233 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use
234 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use
235 &quot;sourceSnapshot&quot;: &quot;A String&quot;, # If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`
236 &quot;sourceVolume&quot;: &quot;A String&quot;, # The resource name of the volume that this backup belongs to. You must provide either `source_volume` or `ontap_source`. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}`
237 &quot;state&quot;: &quot;A String&quot;, # Output only. The backup state.
238 &quot;volumeRegion&quot;: &quot;A String&quot;, # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}`
239 &quot;volumeUsageBytes&quot;: &quot;A String&quot;, # Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big.
240 }</pre>
241 </div>
242
243 <div class="method">
244 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
245 <pre>Returns descriptions of all backups for a backupVault.
246
247 Args:
248 parent: string, Required. The backupVault for which to retrieve backup information, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`. To retrieve backup information for all locations, use &quot;-&quot; for the `{location}` value. To retrieve backup information for all backupVaults, use &quot;-&quot; for the `{backup_vault_id}` value. To retrieve backup information for a volume, use &quot;-&quot; for the `{backup_vault_id}` value and specify volume full name with the filter. (required)
249 filter: string, The standard list filter. If specified, backups will be returned based on the attribute name that matches the filter expression. If empty, then no backups are filtered out. See https://google.aip.dev/160
250 orderBy: string, Sort results. Supported values are &quot;name&quot;, &quot;name desc&quot; or &quot;&quot; (unsorted).
251 pageSize: integer, The maximum number of items to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000.
252 pageToken: string, The next_page_token value to use if there are additional results to retrieve for this list request.
253 x__xgafv: string, V1 error format.
254 Allowed values
255 1 - v1 error format
256 2 - v2 error format
257
258 Returns:
259 An object of the form:
260
261 { # ListBackupsResponse is the result of ListBackupsRequest.
262 &quot;backups&quot;: [ # A list of backups in the project.
263 { # A NetApp Backup.
264 &quot;backupRegion&quot;: &quot;A String&quot;, # Output only. Region in which backup is stored. Format: `projects/{project_id}/locations/{location}`
265 &quot;backupType&quot;: &quot;A String&quot;, # Output only. Type of backup, manually created or created by a backup policy.
266 &quot;chainStorageBytes&quot;: &quot;A String&quot;, # Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size)
267 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the backup was created.
268 &quot;description&quot;: &quot;A String&quot;, # A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.
269 &quot;enforcedRetentionEndTime&quot;: &quot;A String&quot;, # Output only. The time until which the backup is not deletable.
270 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
271 &quot;a_key&quot;: &quot;A String&quot;,
272 },
273 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the backup. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`.
274 &quot;ontapSource&quot;: { # Represents ONTAP source details. # Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source should be provided.
275 &quot;snapshotUuid&quot;: &quot;A String&quot;, # Optional. The UUID of the ONTAP source snapshot.
276 &quot;storagePool&quot;: &quot;A String&quot;, # Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode volumes. Format: `projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}`
277 &quot;volumeUuid&quot;: &quot;A String&quot;, # Required. The UUID of the ONTAP source volume.
278 },
279 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use
280 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use
281 &quot;sourceSnapshot&quot;: &quot;A String&quot;, # If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`
282 &quot;sourceVolume&quot;: &quot;A String&quot;, # The resource name of the volume that this backup belongs to. You must provide either `source_volume` or `ontap_source`. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}`
283 &quot;state&quot;: &quot;A String&quot;, # Output only. The backup state.
284 &quot;volumeRegion&quot;: &quot;A String&quot;, # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}`
285 &quot;volumeUsageBytes&quot;: &quot;A String&quot;, # Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big.
286 },
287 ],
288 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
289 &quot;unreachable&quot;: [ # Locations that could not be reached.
290 &quot;A String&quot;,
291 ],
292 }</pre>
293 </div>
294
295 <div class="method">
296 <code class="details" id="list_next">list_next()</code>
297 <pre>Retrieves the next page of results.
298
299 Args:
300 previous_request: The request for the previous page. (required)
301 previous_response: The response from the request for the previous page. (required)
302
303 Returns:
304 A request object that you can call &#x27;execute()&#x27; on to request the next
305 page. Returns None if there are no more items in the collection.
306 </pre>
307 </div>
308
309 <div class="method">
310 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
311 <pre>Update backup with full spec.
312
313 Args:
314 name: string, Identifier. The resource name of the backup. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`. (required)
315 body: object, The request body.
316 The object takes the form of:
317
318 { # A NetApp Backup.
319 &quot;backupRegion&quot;: &quot;A String&quot;, # Output only. Region in which backup is stored. Format: `projects/{project_id}/locations/{location}`
320 &quot;backupType&quot;: &quot;A String&quot;, # Output only. Type of backup, manually created or created by a backup policy.
321 &quot;chainStorageBytes&quot;: &quot;A String&quot;, # Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size)
322 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the backup was created.
323 &quot;description&quot;: &quot;A String&quot;, # A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.
324 &quot;enforcedRetentionEndTime&quot;: &quot;A String&quot;, # Output only. The time until which the backup is not deletable.
325 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
326 &quot;a_key&quot;: &quot;A String&quot;,
327 },
328 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the backup. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`.
329 &quot;ontapSource&quot;: { # Represents ONTAP source details. # Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source should be provided.
330 &quot;snapshotUuid&quot;: &quot;A String&quot;, # Optional. The UUID of the ONTAP source snapshot.
331 &quot;storagePool&quot;: &quot;A String&quot;, # Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode volumes. Format: `projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}`
332 &quot;volumeUuid&quot;: &quot;A String&quot;, # Required. The UUID of the ONTAP source volume.
333 },
334 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use
335 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use
336 &quot;sourceSnapshot&quot;: &quot;A String&quot;, # If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`
337 &quot;sourceVolume&quot;: &quot;A String&quot;, # The resource name of the volume that this backup belongs to. You must provide either `source_volume` or `ontap_source`. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}`
338 &quot;state&quot;: &quot;A String&quot;, # Output only. The backup state.
339 &quot;volumeRegion&quot;: &quot;A String&quot;, # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}`
340 &quot;volumeUsageBytes&quot;: &quot;A String&quot;, # Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big.
341 }
342
343 updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
344 x__xgafv: string, V1 error format.
345 Allowed values
346 1 - v1 error format
347 2 - v2 error format
348
349 Returns:
350 An object of the form:
351
352 { # This resource represents a long-running operation that is the result of a network API call.
353 &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.
354 &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.
355 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
356 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
357 {
358 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
359 },
360 ],
361 &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.
362 },
363 &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.
364 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
365 },
366 &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}`.
367 &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`.
368 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
369 },
370 }</pre>
371 </div>
372
373 </body></html>