Debian Codegraph @

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