Skip to content

Commit 30b4884

Browse files
feat(netapp): update the api
#### netapp:v1beta1 The following keys were added: - resources.projects.resources.locations.resources.volumes.methods.restore (Total Keys: 12) - schemas.RestoreBackupFilesRequest (Total Keys: 6)
1 parent e4c81be commit 30b4884

File tree

2 files changed

+100
-1
lines changed

2 files changed

+100
-1
lines changed

docs/dyn/netapp_v1beta1.projects.locations.volumes.html

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ <h2>Instance Methods</h2>
110110
<p class="toc_element">
111111
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
112112
<p class="firstline">Updates the parameters of a single Volume.</p>
113+
<p class="toc_element">
114+
<code><a href="#restore">restore(name, body=None, x__xgafv=None)</a></code></p>
115+
<p class="firstline">Restore files from a backup to a volume.</p>
113116
<p class="toc_element">
114117
<code><a href="#revert">revert(name, body=None, x__xgafv=None)</a></code></p>
115118
<p class="firstline">Revert an existing volume to a specified snapshot. Warning! This operation will permanently revert all changes made after the snapshot was created.</p>
@@ -793,6 +796,52 @@ <h3>Method Details</h3>
793796
}</pre>
794797
</div>
795798

799+
<div class="method">
800+
<code class="details" id="restore">restore(name, body=None, x__xgafv=None)</code>
801+
<pre>Restore files from a backup to a volume.
802+
803+
Args:
804+
name: string, Required. The volume resource name, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}` (required)
805+
body: object, The request body.
806+
The object takes the form of:
807+
808+
{ # RestoreBackupFilesRequest restores files from a backup to a volume.
809+
&quot;backup&quot;: &quot;A String&quot;, # Required. The backup resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`
810+
&quot;fileList&quot;: [ # Required. List of files to be restored in the form of their absolute path as in source volume.
811+
&quot;A String&quot;,
812+
],
813+
&quot;restoreDestinationPath&quot;: &quot;A String&quot;, # Required. Absolute directory path in the destination volume.
814+
}
815+
816+
x__xgafv: string, V1 error format.
817+
Allowed values
818+
1 - v1 error format
819+
2 - v2 error format
820+
821+
Returns:
822+
An object of the form:
823+
824+
{ # This resource represents a long-running operation that is the result of a network API call.
825+
&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.
826+
&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.
827+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
828+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
829+
{
830+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
831+
},
832+
],
833+
&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.
834+
},
835+
&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.
836+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
837+
},
838+
&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}`.
839+
&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`.
840+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
841+
},
842+
}</pre>
843+
</div>
844+
796845
<div class="method">
797846
<code class="details" id="revert">revert(name, body=None, x__xgafv=None)</code>
798847
<pre>Revert an existing volume to a specified snapshot. Warning! This operation will permanently revert all changes made after the snapshot was created.

googleapiclient/discovery_cache/documents/netapp.v1beta1.json

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1592,6 +1592,34 @@
15921592
"https://www.googleapis.com/auth/cloud-platform"
15931593
]
15941594
},
1595+
"restore": {
1596+
"description": "Restore files from a backup to a volume.",
1597+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}:restore",
1598+
"httpMethod": "POST",
1599+
"id": "netapp.projects.locations.volumes.restore",
1600+
"parameterOrder": [
1601+
"name"
1602+
],
1603+
"parameters": {
1604+
"name": {
1605+
"description": "Required. The volume resource name, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}`",
1606+
"location": "path",
1607+
"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$",
1608+
"required": true,
1609+
"type": "string"
1610+
}
1611+
},
1612+
"path": "v1beta1/{+name}:restore",
1613+
"request": {
1614+
"$ref": "RestoreBackupFilesRequest"
1615+
},
1616+
"response": {
1617+
"$ref": "Operation"
1618+
},
1619+
"scopes": [
1620+
"https://www.googleapis.com/auth/cloud-platform"
1621+
]
1622+
},
15951623
"revert": {
15961624
"description": "Revert an existing volume to a specified snapshot. Warning! This operation will permanently revert all changes made after the snapshot was created.",
15971625
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}:revert",
@@ -2270,7 +2298,7 @@
22702298
}
22712299
}
22722300
},
2273-
"revision": "20250616",
2301+
"revision": "20250630",
22742302
"rootUrl": "https://netapp.googleapis.com/",
22752303
"schemas": {
22762304
"ActiveDirectory": {
@@ -3836,6 +3864,28 @@
38363864
},
38373865
"type": "object"
38383866
},
3867+
"RestoreBackupFilesRequest": {
3868+
"description": "RestoreBackupFilesRequest restores files from a backup to a volume.",
3869+
"id": "RestoreBackupFilesRequest",
3870+
"properties": {
3871+
"backup": {
3872+
"description": "Required. The backup resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`",
3873+
"type": "string"
3874+
},
3875+
"fileList": {
3876+
"description": "Required. List of files to be restored in the form of their absolute path as in source volume.",
3877+
"items": {
3878+
"type": "string"
3879+
},
3880+
"type": "array"
3881+
},
3882+
"restoreDestinationPath": {
3883+
"description": "Required. Absolute directory path in the destination volume.",
3884+
"type": "string"
3885+
}
3886+
},
3887+
"type": "object"
3888+
},
38393889
"RestoreParameters": {
38403890
"description": "The RestoreParameters if volume is created from a snapshot or backup.",
38413891
"id": "RestoreParameters",

0 commit comments

Comments
 (0)