Discovery Engine v1beta API - Class Query (1.0.0-beta12)

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

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

Defines a user inputed query.

Inheritance

object > Query

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

Query()

public Query()

Query(Query)

public Query(Query other)
Parameter
Name Description
other Query

Properties

ContentCase

public Query.ContentOneofCase ContentCase { get; }
Property Value
Type Description
QueryContentOneofCase

HasText

public bool HasText { get; }

Gets whether the "text" field is set

Property Value
Type Description
bool

QueryId

public string QueryId { get; set; }

Unique Id for the query.

Property Value
Type Description
string

Text

public string Text { get; set; }

Plain text.

Property Value
Type Description
string