Debian Codegraph @

docs/dyn/netapp_v1.projects.locations.backupVaults.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></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="netapp_v1.projects.locations.backupVaults.backups.html">backups()</a></code>
79 </p>
80 <p class="firstline">Returns the backups Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, backupVaultId=None, body=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates new backup vault</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Warning! This operation will permanently delete the backup vault.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Returns the description of the specified backup vault</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Returns list of all available backup vaults.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Updates the settings of a specific backup vault.</p>
103 <h3>Method Details</h3>
104 <div class="method">
105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107 </div>
108
109 <div class="method">
110 <code class="details" id="create">create(parent, backupVaultId=None, body=None, x__xgafv=None)</code>
111 <pre>Creates new backup vault
112
113 Args:
114 parent: string, Required. The location to create the backup vaults, in the format `projects/{project_id}/locations/{location}` (required)
115 body: object, The request body.
116 The object takes the form of:
117
118 { # A NetApp BackupVault.
119 &quot;backupRegion&quot;: &quot;A String&quot;, # Optional. Region where the backups are stored. Format: `projects/{project_id}/locations/{location}`
120 &quot;backupRetentionPolicy&quot;: { # Retention policy for backups in the backup vault # Optional. Backup retention policy defining the retention of backups.
121 &quot;backupMinimumEnforcedRetentionDays&quot;: 42, # Required. Minimum retention duration in days for backups in the backup vault.
122 &quot;dailyBackupImmutable&quot;: True or False, # Optional. Indicates if the daily backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
123 &quot;manualBackupImmutable&quot;: True or False, # Optional. Indicates if the manual backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
124 &quot;monthlyBackupImmutable&quot;: True or False, # Optional. Indicates if the monthly backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
125 &quot;weeklyBackupImmutable&quot;: True or False, # Optional. Indicates if the weekly backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
126 },
127 &quot;backupVaultType&quot;: &quot;A String&quot;, # Optional. Type of backup vault to be created. Default is IN_REGION.
128 &quot;backupsCryptoKeyVersion&quot;: &quot;A String&quot;, # Output only. The crypto key version used to encrypt the backup vault. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`
129 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the backup vault.
130 &quot;description&quot;: &quot;A String&quot;, # Description of the backup vault.
131 &quot;destinationBackupVault&quot;: &quot;A String&quot;, # Output only. Name of the Backup vault created in backup region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
132 &quot;encryptionState&quot;: &quot;A String&quot;, # Output only. Field indicating encryption state of CMEK backups.
133 &quot;kmsConfig&quot;: &quot;A String&quot;, # Optional. Specifies the Key Management System (KMS) configuration to be used for backup encryption. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
134 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
135 &quot;a_key&quot;: &quot;A String&quot;,
136 },
137 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the backup vault. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.
138 &quot;sourceBackupVault&quot;: &quot;A String&quot;, # Output only. Name of the Backup vault created in source region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
139 &quot;sourceRegion&quot;: &quot;A String&quot;, # Output only. Region in which the backup vault is created. Format: `projects/{project_id}/locations/{location}`
140 &quot;state&quot;: &quot;A String&quot;, # Output only. The backup vault state.
141 }
142
143 backupVaultId: string, Required. The ID to use for the backupVault. The ID must be unique within the specified location. 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.
144 x__xgafv: string, V1 error format.
145 Allowed values
146 1 - v1 error format
147 2 - v2 error format
148
149 Returns:
150 An object of the form:
151
152 { # This resource represents a long-running operation that is the result of a network API call.
153 &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.
154 &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.
155 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
156 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
157 {
158 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
159 },
160 ],
161 &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.
162 },
163 &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.
164 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
165 },
166 &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}`.
167 &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`.
168 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
169 },
170 }</pre>
171 </div>
172
173 <div class="method">
174 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
175 <pre>Warning! This operation will permanently delete the backup vault.
176
177 Args:
178 name: string, Required. The backupVault resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` (required)
179 x__xgafv: string, V1 error format.
180 Allowed values
181 1 - v1 error format
182 2 - v2 error format
183
184 Returns:
185 An object of the form:
186
187 { # This resource represents a long-running operation that is the result of a network API call.
188 &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.
189 &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.
190 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
191 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
192 {
193 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
194 },
195 ],
196 &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.
197 },
198 &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.
199 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
200 },
201 &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}`.
202 &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`.
203 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
204 },
205 }</pre>
206 </div>
207
208 <div class="method">
209 <code class="details" id="get">get(name, x__xgafv=None)</code>
210 <pre>Returns the description of the specified backup vault
211
212 Args:
213 name: string, Required. The backupVault resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` (required)
214 x__xgafv: string, V1 error format.
215 Allowed values
216 1 - v1 error format
217 2 - v2 error format
218
219 Returns:
220 An object of the form:
221
222 { # A NetApp BackupVault.
223 &quot;backupRegion&quot;: &quot;A String&quot;, # Optional. Region where the backups are stored. Format: `projects/{project_id}/locations/{location}`
224 &quot;backupRetentionPolicy&quot;: { # Retention policy for backups in the backup vault # Optional. Backup retention policy defining the retention of backups.
225 &quot;backupMinimumEnforcedRetentionDays&quot;: 42, # Required. Minimum retention duration in days for backups in the backup vault.
226 &quot;dailyBackupImmutable&quot;: True or False, # Optional. Indicates if the daily backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
227 &quot;manualBackupImmutable&quot;: True or False, # Optional. Indicates if the manual backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
228 &quot;monthlyBackupImmutable&quot;: True or False, # Optional. Indicates if the monthly backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
229 &quot;weeklyBackupImmutable&quot;: True or False, # Optional. Indicates if the weekly backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
230 },
231 &quot;backupVaultType&quot;: &quot;A String&quot;, # Optional. Type of backup vault to be created. Default is IN_REGION.
232 &quot;backupsCryptoKeyVersion&quot;: &quot;A String&quot;, # Output only. The crypto key version used to encrypt the backup vault. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`
233 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the backup vault.
234 &quot;description&quot;: &quot;A String&quot;, # Description of the backup vault.
235 &quot;destinationBackupVault&quot;: &quot;A String&quot;, # Output only. Name of the Backup vault created in backup region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
236 &quot;encryptionState&quot;: &quot;A String&quot;, # Output only. Field indicating encryption state of CMEK backups.
237 &quot;kmsConfig&quot;: &quot;A String&quot;, # Optional. Specifies the Key Management System (KMS) configuration to be used for backup encryption. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
238 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
239 &quot;a_key&quot;: &quot;A String&quot;,
240 },
241 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the backup vault. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.
242 &quot;sourceBackupVault&quot;: &quot;A String&quot;, # Output only. Name of the Backup vault created in source region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
243 &quot;sourceRegion&quot;: &quot;A String&quot;, # Output only. Region in which the backup vault is created. Format: `projects/{project_id}/locations/{location}`
244 &quot;state&quot;: &quot;A String&quot;, # Output only. The backup vault state.
245 }</pre>
246 </div>
247
248 <div class="method">
249 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
250 <pre>Returns list of all available backup vaults.
251
252 Args:
253 parent: string, Required. The location for which to retrieve backupVault information, in the format `projects/{project_id}/locations/{location}`. (required)
254 filter: string, List filter.
255 orderBy: string, Sort results. Supported values are &quot;name&quot;, &quot;name desc&quot; or &quot;&quot; (unsorted).
256 pageSize: integer, The maximum number of items to return.
257 pageToken: string, The next_page_token value to use if there are additional results to retrieve for this list request.
258 x__xgafv: string, V1 error format.
259 Allowed values
260 1 - v1 error format
261 2 - v2 error format
262
263 Returns:
264 An object of the form:
265
266 { # ListBackupVaultsResponse is the result of ListBackupVaultsRequest.
267 &quot;backupVaults&quot;: [ # A list of backupVaults in the project for the specified location.
268 { # A NetApp BackupVault.
269 &quot;backupRegion&quot;: &quot;A String&quot;, # Optional. Region where the backups are stored. Format: `projects/{project_id}/locations/{location}`
270 &quot;backupRetentionPolicy&quot;: { # Retention policy for backups in the backup vault # Optional. Backup retention policy defining the retention of backups.
271 &quot;backupMinimumEnforcedRetentionDays&quot;: 42, # Required. Minimum retention duration in days for backups in the backup vault.
272 &quot;dailyBackupImmutable&quot;: True or False, # Optional. Indicates if the daily backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
273 &quot;manualBackupImmutable&quot;: True or False, # Optional. Indicates if the manual backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
274 &quot;monthlyBackupImmutable&quot;: True or False, # Optional. Indicates if the monthly backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
275 &quot;weeklyBackupImmutable&quot;: True or False, # Optional. Indicates if the weekly backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
276 },
277 &quot;backupVaultType&quot;: &quot;A String&quot;, # Optional. Type of backup vault to be created. Default is IN_REGION.
278 &quot;backupsCryptoKeyVersion&quot;: &quot;A String&quot;, # Output only. The crypto key version used to encrypt the backup vault. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`
279 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the backup vault.
280 &quot;description&quot;: &quot;A String&quot;, # Description of the backup vault.
281 &quot;destinationBackupVault&quot;: &quot;A String&quot;, # Output only. Name of the Backup vault created in backup region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
282 &quot;encryptionState&quot;: &quot;A String&quot;, # Output only. Field indicating encryption state of CMEK backups.
283 &quot;kmsConfig&quot;: &quot;A String&quot;, # Optional. Specifies the Key Management System (KMS) configuration to be used for backup encryption. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
284 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
285 &quot;a_key&quot;: &quot;A String&quot;,
286 },
287 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the backup vault. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.
288 &quot;sourceBackupVault&quot;: &quot;A String&quot;, # Output only. Name of the Backup vault created in source region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
289 &quot;sourceRegion&quot;: &quot;A String&quot;, # Output only. Region in which the backup vault is created. Format: `projects/{project_id}/locations/{location}`
290 &quot;state&quot;: &quot;A String&quot;, # Output only. The backup vault state.
291 },
292 ],
293 &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.
294 &quot;unreachable&quot;: [ # Locations that could not be reached.
295 &quot;A String&quot;,
296 ],
297 }</pre>
298 </div>
299
300 <div class="method">
301 <code class="details" id="list_next">list_next()</code>
302 <pre>Retrieves the next page of results.
303
304 Args:
305 previous_request: The request for the previous page. (required)
306 previous_response: The response from the request for the previous page. (required)
307
308 Returns:
309 A request object that you can call &#x27;execute()&#x27; on to request the next
310 page. Returns None if there are no more items in the collection.
311 </pre>
312 </div>
313
314 <div class="method">
315 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
316 <pre>Updates the settings of a specific backup vault.
317
318 Args:
319 name: string, Identifier. The resource name of the backup vault. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`. (required)
320 body: object, The request body.
321 The object takes the form of:
322
323 { # A NetApp BackupVault.
324 &quot;backupRegion&quot;: &quot;A String&quot;, # Optional. Region where the backups are stored. Format: `projects/{project_id}/locations/{location}`
325 &quot;backupRetentionPolicy&quot;: { # Retention policy for backups in the backup vault # Optional. Backup retention policy defining the retention of backups.
326 &quot;backupMinimumEnforcedRetentionDays&quot;: 42, # Required. Minimum retention duration in days for backups in the backup vault.
327 &quot;dailyBackupImmutable&quot;: True or False, # Optional. Indicates if the daily backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
328 &quot;manualBackupImmutable&quot;: True or False, # Optional. Indicates if the manual backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
329 &quot;monthlyBackupImmutable&quot;: True or False, # Optional. Indicates if the monthly backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
330 &quot;weeklyBackupImmutable&quot;: True or False, # Optional. Indicates if the weekly backups are immutable. At least one of daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
331 },
332 &quot;backupVaultType&quot;: &quot;A String&quot;, # Optional. Type of backup vault to be created. Default is IN_REGION.
333 &quot;backupsCryptoKeyVersion&quot;: &quot;A String&quot;, # Output only. The crypto key version used to encrypt the backup vault. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`
334 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the backup vault.
335 &quot;description&quot;: &quot;A String&quot;, # Description of the backup vault.
336 &quot;destinationBackupVault&quot;: &quot;A String&quot;, # Output only. Name of the Backup vault created in backup region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
337 &quot;encryptionState&quot;: &quot;A String&quot;, # Output only. Field indicating encryption state of CMEK backups.
338 &quot;kmsConfig&quot;: &quot;A String&quot;, # Optional. Specifies the Key Management System (KMS) configuration to be used for backup encryption. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
339 &quot;labels&quot;: { # Resource labels to represent user provided metadata.
340 &quot;a_key&quot;: &quot;A String&quot;,
341 },
342 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the backup vault. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.
343 &quot;sourceBackupVault&quot;: &quot;A String&quot;, # Output only. Name of the Backup vault created in source region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
344 &quot;sourceRegion&quot;: &quot;A String&quot;, # Output only. Region in which the backup vault is created. Format: `projects/{project_id}/locations/{location}`
345 &quot;state&quot;: &quot;A String&quot;, # Output only. The backup vault state.
346 }
347
348 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.
349 x__xgafv: string, V1 error format.
350 Allowed values
351 1 - v1 error format
352 2 - v2 error format
353
354 Returns:
355 An object of the form:
356
357 { # This resource represents a long-running operation that is the result of a network API call.
358 &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.
359 &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.
360 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
361 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
362 {
363 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
364 },
365 ],
366 &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.
367 },
368 &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.
369 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
370 },
371 &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}`.
372 &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`.
373 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
374 },
375 }</pre>
376 </div>
377
378 </body></html>