Discovery Engine v1beta API - Class GetSampleQueryRequest (1.0.0-beta15)

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.

Inheritance

object > GetSampleQueryRequest

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

GetSampleQueryRequest()

public GetSampleQueryRequest()

GetSampleQueryRequest(GetSampleQueryRequest)

public GetSampleQueryRequest(GetSampleQueryRequest other)
Parameter
Name Description
other GetSampleQueryRequest

Properties

Name

public string Name { get; set; }

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.

Property Value
Type Description
string

SampleQueryName

public SampleQueryName SampleQueryName { get; set; }

SampleQueryName-typed view over the Name resource name property.

Property Value
Type Description
SampleQueryName