Discovery Engine v1beta API - Class SampleQuery.Types.QueryEntry.Types.Target (1.0.0-beta15)

public sealed class SampleQuery.Types.QueryEntry.Types.Target : IMessage<SampleQuery.Types.QueryEntry.Types.Target>, IEquatable<SampleQuery.Types.QueryEntry.Types.Target>, IDeepCloneable<SampleQuery.Types.QueryEntry.Types.Target>, IBufferMessage, IMessage

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

Defines the parameters of the query's expected outcome.

Inheritance

object > SampleQuery.Types.QueryEntry.Types.Target

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

Target()

public Target()

Target(Target)

public Target(SampleQuery.Types.QueryEntry.Types.Target other)
Parameter
Name Description
other SampleQueryTypesQueryEntryTypesTarget

Properties

HasScore

public bool HasScore { get; }

Gets whether the "score" field is set

Property Value
Type Description
bool

PageNumbers

public RepeatedField<int> PageNumbers { get; }

Expected page numbers of the target.

Each page number must be non negative.

Property Value
Type Description
RepeatedFieldint

Score

public double Score { get; set; }

Relevance score of the target.

Property Value
Type Description
double

Uri

public string Uri { get; set; }

Expected uri of the target.

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

Example of valid uris: https://example.com/abc, gcs://example/example.pdf.

Property Value
Type Description
string