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-06-17 UTC."],[[["\u003cp\u003eThis API allows reverting a file system instance to a specified snapshot using a POST request to the provided URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the instance's resource name as a path parameter in the format \u003ccode\u003eprojects/{projectId}/locations/{locationId}/instances/{instanceId}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include the \u003ccode\u003etargetSnapshotId\u003c/code\u003e, which specifies the snapshot to revert to, using a string format 'my-snapshot'.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns an \u003ccode\u003eOperation\u003c/code\u003e instance in the response body, indicating the revert operation's status.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]