Required. The name of the project/folder/organization where this savedQuery should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").
Query parameters
Parameters
savedQueryId
string
Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name.
This value should be 4-63 characters, and valid characters are [a-z][0-9]-.
Notice that this field is required in the saved query creation, and the name field of the savedQuery will be ignored.
Request body
The request body contains an instance of SavedQuery.
Response body
If successful, the response body contains a newly created instance of SavedQuery.
[[["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-30 UTC."],[[["\u003cp\u003eThis page details how to create a saved query within a specified parent project, folder, or organization using a \u003ccode\u003ePOST\u003c/code\u003e HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL utilizes gRPC Transcoding syntax and requires a \u003ccode\u003eparent\u003c/code\u003e path parameter to specify the target project, folder, or organization.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003esavedQueryId\u003c/code\u003e query parameter is mandatory and must be a unique identifier of 4-63 characters consisting of lowercase letters, numbers, and hyphens.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain a \u003ccode\u003eSavedQuery\u003c/code\u003e instance, and a successful response will include the newly created \u003ccode\u003eSavedQuery\u003c/code\u003e instance.\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,[]]