Required. The resource name of the instance, in the format projects/{projectId}/locations/{locationId}/instances/{instanceId}.
Request body
The request body contains data with the following structure:
JSON representation
{"targetSnapshotId": string}
Fields
targetSnapshotId
string
Required. The snapshot resource ID, in the format 'my-snapshot', where the specified ID is the {snapshotId} of the fully qualified name like projects/{projectId}/locations/{locationId}/instances/{instanceId}/snapshots/{snapshotId}
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-29 UTC."],[[["This API allows reverting a file system instance to a specified snapshot using a POST request to the provided URL."],["The request requires the instance's resource name as a path parameter in the format `projects/{projectId}/locations/{locationId}/instances/{instanceId}`."],["The request body must include the `targetSnapshotId`, which specifies the snapshot to revert to, using a string format 'my-snapshot'."],["A successful request returns an `Operation` instance in the response body, indicating the revert operation's status."],["Authorization for this operation requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]