Required. Full resource name of SampleQuery, such as projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}.
If the caller does not have permission to access the SampleQuery, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the requested SampleQuery does not exist, a NOT_FOUND error is returned.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of SampleQuery.
[[["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-27 UTC."],[[["\u003cp\u003eThis page details how to retrieve a specific \u003ccode\u003eSampleQuery\u003c/code\u003e resource using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is made to a URL that follows gRPC Transcoding syntax, including the full resource name as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003ename\u003c/code\u003e parameter to identify the specific \u003ccode\u003eSampleQuery\u003c/code\u003e, which must follow the format of \u003ccode\u003eprojects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and a successful request returns an instance of the requested \u003ccode\u003eSampleQuery\u003c/code\u003e in the response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope and the \u003ccode\u003ediscoveryengine.sampleQueries.get\u003c/code\u003e IAM permission on the \u003ccode\u003ename\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,[]]