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"]],[["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-03-21 UTC."],[[["This documentation details the `GetSampleQueryRequest` class, which is part of the Discovery Engine v1beta API in the Google.Cloud.DiscoveryEngine.V1Beta namespace."],["`GetSampleQueryRequest` is a request message used for the `SampleQueryService.GetSampleQuery` method, facilitating the retrieval of a specific sample query."],["The class inherits from the `object` class and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, making it a message-based, cloneable, and comparable object."],["It contains two properties, `Name` (a string) and `SampleQueryName` (of type `SampleQueryName`), where `Name` represents the full resource name of a sample query, and `SampleQueryName` provides a typed view of the resource name property."],["The `GetSampleQueryRequest` class includes two constructors: a default constructor `GetSampleQueryRequest()` and a copy constructor `GetSampleQueryRequest(GetSampleQueryRequest other)` for creating a new request object from an existing one."]]],[]]