| 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 |
"backupRegion": "A String", # Optional. Region where the backups are stored. Format: `projects/{project_id}/locations/{location}` |
| 120 |
"backupRetentionPolicy": { # Retention policy for backups in the backup vault # Optional. Backup retention policy defining the retention of backups. |
| 121 |
"backupMinimumEnforcedRetentionDays": 42, # Required. Minimum retention duration in days for backups in the backup vault. |
| 122 |
"dailyBackupImmutable": 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 |
"manualBackupImmutable": 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 |
"monthlyBackupImmutable": 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 |
"weeklyBackupImmutable": 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 |
"backupVaultType": "A String", # Optional. Type of backup vault to be created. Default is IN_REGION. |
| 128 |
"backupsCryptoKeyVersion": "A String", # 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 |
"createTime": "A String", # Output only. Create time of the backup vault. |
| 130 |
"description": "A String", # Description of the backup vault. |
| 131 |
"destinationBackupVault": "A String", # Output only. Name of the Backup vault created in backup region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` |
| 132 |
"encryptionState": "A String", # Output only. Field indicating encryption state of CMEK backups. |
| 133 |
"kmsConfig": "A String", # Optional. Specifies the Key Management System (KMS) configuration to be used for backup encryption. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}` |
| 134 |
"labels": { # Resource labels to represent user provided metadata. |
| 135 |
"a_key": "A String", |
| 136 |
}, |
| 137 |
"name": "A String", # Identifier. The resource name of the backup vault. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`. |
| 138 |
"sourceBackupVault": "A String", # Output only. Name of the Backup vault created in source region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` |
| 139 |
"sourceRegion": "A String", # Output only. Region in which the backup vault is created. Format: `projects/{project_id}/locations/{location}` |
| 140 |
"state": "A String", # 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 |
"done": 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 |
"error": { # 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 |
"code": 42, # The status code, which should be an enum value of google.rpc.Code. |
| 156 |
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. |
| 157 |
{ |
| 158 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 159 |
}, |
| 160 |
], |
| 161 |
"message": "A String", # 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 |
"metadata": { # 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 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 165 |
}, |
| 166 |
"name": "A String", # 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 |
"response": { # 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 |
"a_key": "", # 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 |
"done": 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 |
"error": { # 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 |
"code": 42, # The status code, which should be an enum value of google.rpc.Code. |
| 191 |
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. |
| 192 |
{ |
| 193 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 194 |
}, |
| 195 |
], |
| 196 |
"message": "A String", # 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 |
"metadata": { # 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 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 200 |
}, |
| 201 |
"name": "A String", # 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 |
"response": { # 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 |
"a_key": "", # 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 |
"backupRegion": "A String", # Optional. Region where the backups are stored. Format: `projects/{project_id}/locations/{location}` |
| 224 |
"backupRetentionPolicy": { # Retention policy for backups in the backup vault # Optional. Backup retention policy defining the retention of backups. |
| 225 |
"backupMinimumEnforcedRetentionDays": 42, # Required. Minimum retention duration in days for backups in the backup vault. |
| 226 |
"dailyBackupImmutable": 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 |
"manualBackupImmutable": 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 |
"monthlyBackupImmutable": 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 |
"weeklyBackupImmutable": 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 |
"backupVaultType": "A String", # Optional. Type of backup vault to be created. Default is IN_REGION. |
| 232 |
"backupsCryptoKeyVersion": "A String", # 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 |
"createTime": "A String", # Output only. Create time of the backup vault. |
| 234 |
"description": "A String", # Description of the backup vault. |
| 235 |
"destinationBackupVault": "A String", # Output only. Name of the Backup vault created in backup region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` |
| 236 |
"encryptionState": "A String", # Output only. Field indicating encryption state of CMEK backups. |
| 237 |
"kmsConfig": "A String", # Optional. Specifies the Key Management System (KMS) configuration to be used for backup encryption. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}` |
| 238 |
"labels": { # Resource labels to represent user provided metadata. |
| 239 |
"a_key": "A String", |
| 240 |
}, |
| 241 |
"name": "A String", # Identifier. The resource name of the backup vault. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`. |
| 242 |
"sourceBackupVault": "A String", # Output only. Name of the Backup vault created in source region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` |
| 243 |
"sourceRegion": "A String", # Output only. Region in which the backup vault is created. Format: `projects/{project_id}/locations/{location}` |
| 244 |
"state": "A String", # 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 "name", "name desc" or "" (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 |
"backupVaults": [ # A list of backupVaults in the project for the specified location. |
| 268 |
{ # A NetApp BackupVault. |
| 269 |
"backupRegion": "A String", # Optional. Region where the backups are stored. Format: `projects/{project_id}/locations/{location}` |
| 270 |
"backupRetentionPolicy": { # Retention policy for backups in the backup vault # Optional. Backup retention policy defining the retention of backups. |
| 271 |
"backupMinimumEnforcedRetentionDays": 42, # Required. Minimum retention duration in days for backups in the backup vault. |
| 272 |
"dailyBackupImmutable": 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 |
"manualBackupImmutable": 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 |
"monthlyBackupImmutable": 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 |
"weeklyBackupImmutable": 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 |
"backupVaultType": "A String", # Optional. Type of backup vault to be created. Default is IN_REGION. |
| 278 |
"backupsCryptoKeyVersion": "A String", # 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 |
"createTime": "A String", # Output only. Create time of the backup vault. |
| 280 |
"description": "A String", # Description of the backup vault. |
| 281 |
"destinationBackupVault": "A String", # Output only. Name of the Backup vault created in backup region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` |
| 282 |
"encryptionState": "A String", # Output only. Field indicating encryption state of CMEK backups. |
| 283 |
"kmsConfig": "A String", # Optional. Specifies the Key Management System (KMS) configuration to be used for backup encryption. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}` |
| 284 |
"labels": { # Resource labels to represent user provided metadata. |
| 285 |
"a_key": "A String", |
| 286 |
}, |
| 287 |
"name": "A String", # Identifier. The resource name of the backup vault. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`. |
| 288 |
"sourceBackupVault": "A String", # Output only. Name of the Backup vault created in source region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` |
| 289 |
"sourceRegion": "A String", # Output only. Region in which the backup vault is created. Format: `projects/{project_id}/locations/{location}` |
| 290 |
"state": "A String", # Output only. The backup vault state. |
| 291 |
}, |
| 292 |
], |
| 293 |
"nextPageToken": "A String", # The token you can use to retrieve the next page of results. Not returned if there are no more results in the list. |
| 294 |
"unreachable": [ # Locations that could not be reached. |
| 295 |
"A String", |
| 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 'execute()' 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 |
"backupRegion": "A String", # Optional. Region where the backups are stored. Format: `projects/{project_id}/locations/{location}` |
| 325 |
"backupRetentionPolicy": { # Retention policy for backups in the backup vault # Optional. Backup retention policy defining the retention of backups. |
| 326 |
"backupMinimumEnforcedRetentionDays": 42, # Required. Minimum retention duration in days for backups in the backup vault. |
| 327 |
"dailyBackupImmutable": 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 |
"manualBackupImmutable": 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 |
"monthlyBackupImmutable": 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 |
"weeklyBackupImmutable": 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 |
"backupVaultType": "A String", # Optional. Type of backup vault to be created. Default is IN_REGION. |
| 333 |
"backupsCryptoKeyVersion": "A String", # 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 |
"createTime": "A String", # Output only. Create time of the backup vault. |
| 335 |
"description": "A String", # Description of the backup vault. |
| 336 |
"destinationBackupVault": "A String", # Output only. Name of the Backup vault created in backup region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` |
| 337 |
"encryptionState": "A String", # Output only. Field indicating encryption state of CMEK backups. |
| 338 |
"kmsConfig": "A String", # Optional. Specifies the Key Management System (KMS) configuration to be used for backup encryption. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}` |
| 339 |
"labels": { # Resource labels to represent user provided metadata. |
| 340 |
"a_key": "A String", |
| 341 |
}, |
| 342 |
"name": "A String", # Identifier. The resource name of the backup vault. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`. |
| 343 |
"sourceBackupVault": "A String", # Output only. Name of the Backup vault created in source region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` |
| 344 |
"sourceRegion": "A String", # Output only. Region in which the backup vault is created. Format: `projects/{project_id}/locations/{location}` |
| 345 |
"state": "A String", # 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 |
"done": 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 |
"error": { # 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 |
"code": 42, # The status code, which should be an enum value of google.rpc.Code. |
| 361 |
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. |
| 362 |
{ |
| 363 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 364 |
}, |
| 365 |
], |
| 366 |
"message": "A String", # 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 |
"metadata": { # 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 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 370 |
}, |
| 371 |
"name": "A String", # 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 |
"response": { # 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 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 374 |
}, |
| 375 |
}</pre> |
| 376 |
</div> |
| 377 |
|
| 378 |
</body></html> |