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

public sealed class SampleQuery : IMessage<SampleQuery>, IEquatable<SampleQuery>, IDeepCloneable<SampleQuery>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class SampleQuery.

Sample Query captures metadata to be used for evaluation.

Inheritance

object > SampleQuery

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

SampleQuery()

public SampleQuery()

SampleQuery(SampleQuery)

public SampleQuery(SampleQuery other)
Parameter
Name Description
other SampleQuery

Properties

ContentCase

public SampleQuery.ContentOneofCase ContentCase { get; }
Property Value
Type Description
SampleQueryContentOneofCase

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Timestamp the [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery] was created at.

Property Value
Type Description
Timestamp

Name

public string Name { get; set; }

Identifier. The full resource name of the sample query, in the format of projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}.

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

Property Value
Type Description
string

QueryEntry

public SampleQuery.Types.QueryEntry QueryEntry { get; set; }

The query entry.

Property Value
Type Description
SampleQueryTypesQueryEntry

SampleQueryName

public SampleQueryName SampleQueryName { get; set; }

SampleQueryName-typed view over the Name resource name property.

Property Value
Type Description
SampleQueryName