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.
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
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 |