Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
storageLocation.policy
enum
The chosen location policy.
storageLocation.locations[]
map (key: string, value: object)
When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
storageLocation.locations[].name
string
Name of the location. It should be one of the Cloud Storage buckets. Only one location can be specified.
[[["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-28 UTC."],[[["\u003cp\u003eThis webpage details how to retrieve snapshot settings using a \u003ccode\u003eGET\u003c/code\u003e request to the Google Compute Engine API at a specific URL: \u003ccode\u003ehttps://compute.googleapis.com/compute/v1/projects/{project}/global/snapshotSettings\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eproject\u003c/code\u003e path parameter, which is a string representing the project ID.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty to retrieve snapshot settings successfully.\u003c/p\u003e\n"],["\u003cp\u003eThe successful response body is in JSON format, containing a \u003ccode\u003estorageLocation\u003c/code\u003e object, which specifies the policy and locations for storing snapshots and further contains the policy which is an enum, as well as the location which contains a name string.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires specific OAuth scopes, including \u003ccode\u003ehttps://www.googleapis.com/auth/compute.readonly\u003c/code\u003e, \u003ccode\u003ehttps://www.googleapis.com/auth/compute\u003c/code\u003e, or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e, as well as the \u003ccode\u003ecompute.snapshotSettings.get\u003c/code\u003e IAM permission.\u003c/p\u003e\n"]]],[],null,["# Method: snapshotSettings.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.SnapshotSettings.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nsnapshotSettings.get snapshot settings.\n\n### HTTP request\n\n`GET https://compute.googleapis.com/compute/v1/projects/{project}/global/snapshotSettings`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/compute.readonly`\n- `\n https://www.googleapis.com/auth/compute`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nIn addition to any permissions specified on the fields above, authorization requires one or more of the following [IAM](https://cloud.google.com/iam/docs/) permissions:\n\n- `compute.snapshotSettings.get`\n\nTo find predefined roles that contain those permissions, see [Compute Engine IAM Roles](/compute/docs/access/iam)."]]