| 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'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 |
"backupRegion": "A String", # Output only. Region in which backup is stored. Format: `projects/{project_id}/locations/{location}` |
| 115 |
"backupType": "A String", # Output only. Type of backup, manually created or created by a backup policy. |
| 116 |
"chainStorageBytes": "A String", # Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size) |
| 117 |
"createTime": "A String", # Output only. The time when the backup was created. |
| 118 |
"description": "A String", # A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected. |
| 119 |
"enforcedRetentionEndTime": "A String", # Output only. The time until which the backup is not deletable. |
| 120 |
"labels": { # Resource labels to represent user provided metadata. |
| 121 |
"a_key": "A String", |
| 122 |
}, |
| 123 |
"name": "A String", # Identifier. The resource name of the backup. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`. |
| 124 |
"ontapSource": { # Represents ONTAP source details. # Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source should be provided. |
| 125 |
"snapshotUuid": "A String", # Optional. The UUID of the ONTAP source snapshot. |
| 126 |
"storagePool": "A String", # 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 |
"volumeUuid": "A String", # Required. The UUID of the ONTAP source volume. |
| 128 |
}, |
| 129 |
"satisfiesPzi": True or False, # Output only. Reserved for future use |
| 130 |
"satisfiesPzs": True or False, # Output only. Reserved for future use |
| 131 |
"sourceSnapshot": "A String", # 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 |
"sourceVolume": "A String", # 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 |
"state": "A String", # Output only. The backup state. |
| 134 |
"volumeRegion": "A String", # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}` |
| 135 |
"volumeUsageBytes": "A String", # 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 |
"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. |
| 149 |
"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. |
| 150 |
"code": 42, # The status code, which should be an enum value of google.rpc.Code. |
| 151 |
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. |
| 152 |
{ |
| 153 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 154 |
}, |
| 155 |
], |
| 156 |
"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. |
| 157 |
}, |
| 158 |
"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. |
| 159 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 160 |
}, |
| 161 |
"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}`. |
| 162 |
"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`. |
| 163 |
"a_key": "", # 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 |
"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. |
| 184 |
"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. |
| 185 |
"code": 42, # The status code, which should be an enum value of google.rpc.Code. |
| 186 |
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. |
| 187 |
{ |
| 188 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 189 |
}, |
| 190 |
], |
| 191 |
"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. |
| 192 |
}, |
| 193 |
"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. |
| 194 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 195 |
}, |
| 196 |
"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}`. |
| 197 |
"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`. |
| 198 |
"a_key": "", # 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 |
"backupRegion": "A String", # Output only. Region in which backup is stored. Format: `projects/{project_id}/locations/{location}` |
| 219 |
"backupType": "A String", # Output only. Type of backup, manually created or created by a backup policy. |
| 220 |
"chainStorageBytes": "A String", # Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size) |
| 221 |
"createTime": "A String", # Output only. The time when the backup was created. |
| 222 |
"description": "A String", # A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected. |
| 223 |
"enforcedRetentionEndTime": "A String", # Output only. The time until which the backup is not deletable. |
| 224 |
"labels": { # Resource labels to represent user provided metadata. |
| 225 |
"a_key": "A String", |
| 226 |
}, |
| 227 |
"name": "A String", # Identifier. The resource name of the backup. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`. |
| 228 |
"ontapSource": { # Represents ONTAP source details. # Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source should be provided. |
| 229 |
"snapshotUuid": "A String", # Optional. The UUID of the ONTAP source snapshot. |
| 230 |
"storagePool": "A String", # 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 |
"volumeUuid": "A String", # Required. The UUID of the ONTAP source volume. |
| 232 |
}, |
| 233 |
"satisfiesPzi": True or False, # Output only. Reserved for future use |
| 234 |
"satisfiesPzs": True or False, # Output only. Reserved for future use |
| 235 |
"sourceSnapshot": "A String", # 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 |
"sourceVolume": "A String", # 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 |
"state": "A String", # Output only. The backup state. |
| 238 |
"volumeRegion": "A String", # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}` |
| 239 |
"volumeUsageBytes": "A String", # 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 "-" for the `{location}` value. To retrieve backup information for all backupVaults, use "-" for the `{backup_vault_id}` value. To retrieve backup information for a volume, use "-" 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 "name", "name desc" or "" (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 |
"backups": [ # A list of backups in the project. |
| 263 |
{ # A NetApp Backup. |
| 264 |
"backupRegion": "A String", # Output only. Region in which backup is stored. Format: `projects/{project_id}/locations/{location}` |
| 265 |
"backupType": "A String", # Output only. Type of backup, manually created or created by a backup policy. |
| 266 |
"chainStorageBytes": "A String", # Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size) |
| 267 |
"createTime": "A String", # Output only. The time when the backup was created. |
| 268 |
"description": "A String", # A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected. |
| 269 |
"enforcedRetentionEndTime": "A String", # Output only. The time until which the backup is not deletable. |
| 270 |
"labels": { # Resource labels to represent user provided metadata. |
| 271 |
"a_key": "A String", |
| 272 |
}, |
| 273 |
"name": "A String", # Identifier. The resource name of the backup. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`. |
| 274 |
"ontapSource": { # Represents ONTAP source details. # Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source should be provided. |
| 275 |
"snapshotUuid": "A String", # Optional. The UUID of the ONTAP source snapshot. |
| 276 |
"storagePool": "A String", # 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 |
"volumeUuid": "A String", # Required. The UUID of the ONTAP source volume. |
| 278 |
}, |
| 279 |
"satisfiesPzi": True or False, # Output only. Reserved for future use |
| 280 |
"satisfiesPzs": True or False, # Output only. Reserved for future use |
| 281 |
"sourceSnapshot": "A String", # 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 |
"sourceVolume": "A String", # 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 |
"state": "A String", # Output only. The backup state. |
| 284 |
"volumeRegion": "A String", # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}` |
| 285 |
"volumeUsageBytes": "A String", # 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 |
"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. |
| 289 |
"unreachable": [ # Locations that could not be reached. |
| 290 |
"A String", |
| 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 'execute()' 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 |
"backupRegion": "A String", # Output only. Region in which backup is stored. Format: `projects/{project_id}/locations/{location}` |
| 320 |
"backupType": "A String", # Output only. Type of backup, manually created or created by a backup policy. |
| 321 |
"chainStorageBytes": "A String", # Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size) |
| 322 |
"createTime": "A String", # Output only. The time when the backup was created. |
| 323 |
"description": "A String", # A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected. |
| 324 |
"enforcedRetentionEndTime": "A String", # Output only. The time until which the backup is not deletable. |
| 325 |
"labels": { # Resource labels to represent user provided metadata. |
| 326 |
"a_key": "A String", |
| 327 |
}, |
| 328 |
"name": "A String", # Identifier. The resource name of the backup. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`. |
| 329 |
"ontapSource": { # Represents ONTAP source details. # Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source should be provided. |
| 330 |
"snapshotUuid": "A String", # Optional. The UUID of the ONTAP source snapshot. |
| 331 |
"storagePool": "A String", # 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 |
"volumeUuid": "A String", # Required. The UUID of the ONTAP source volume. |
| 333 |
}, |
| 334 |
"satisfiesPzi": True or False, # Output only. Reserved for future use |
| 335 |
"satisfiesPzs": True or False, # Output only. Reserved for future use |
| 336 |
"sourceSnapshot": "A String", # 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 |
"sourceVolume": "A String", # 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 |
"state": "A String", # Output only. The backup state. |
| 339 |
"volumeRegion": "A String", # Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}` |
| 340 |
"volumeUsageBytes": "A String", # 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 |
"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. |
| 354 |
"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. |
| 355 |
"code": 42, # The status code, which should be an enum value of google.rpc.Code. |
| 356 |
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. |
| 357 |
{ |
| 358 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 359 |
}, |
| 360 |
], |
| 361 |
"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. |
| 362 |
}, |
| 363 |
"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. |
| 364 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 365 |
}, |
| 366 |
"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}`. |
| 367 |
"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`. |
| 368 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 369 |
}, |
| 370 |
}</pre> |
| 371 |
</div> |
| 372 |
|
| 373 |
</body></html> |