Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{projectId}/locations/{location}/deployments/{deployment}/revisions/{revision}'. It takes the form projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Statefile.
[[["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-07-14 UTC."],[[["\u003cp\u003eThis webpage details how to export a Terraform state file from a specific revision using a \u003ccode\u003ePOST\u003c/code\u003e HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter in the format \u003ccode\u003eprojects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}\u003c/code\u003e to specify the location and revision of the state file.\u003c/p\u003e\n"],["\u003cp\u003eThe body of the request must be empty, and the response will contain a \u003ccode\u003eStatefile\u003c/code\u003e if the request is successful.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003econfig.googleapis.com/config.revisions.getState\u003c/code\u003e on the parent resource.\u003c/p\u003e\n"]]],[],null,[]]