public sealed class GetSampleQueryRequest : IMessage<GetSampleQueryRequest>, IEquatable<GetSampleQueryRequest>, IDeepCloneable<GetSampleQueryRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class GetSampleQueryRequest.
Request message for
[SampleQueryService.GetSampleQuery][google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery]
method.
Required. Full resource name of
[SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery], such as
projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}.
If the caller does not have permission to access the
[SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery], regardless
of whether or not it exists, a PERMISSION_DENIED error is returned.
If the requested
[SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery] does not
exist, a NOT_FOUND error is returned.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eGetSampleQueryRequest\u003c/code\u003e class within the Google Cloud Discovery Engine v1beta API, specifically version 1.0.0-beta18.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetSampleQueryRequest\u003c/code\u003e is a request message used for the \u003ccode\u003eSampleQueryService.GetSampleQuery\u003c/code\u003e method, and it inherits from the \u003ccode\u003eobject\u003c/code\u003e class while implementing several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor and one that accepts another \u003ccode\u003eGetSampleQueryRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003eName\u003c/code\u003e, which represents the full resource name of a SampleQuery, and \u003ccode\u003eSampleQueryName\u003c/code\u003e, which provides a typed view of the \u003ccode\u003eName\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eThe class resides within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e namespace and is contained within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]