public sealed class Query : IMessage<Query>, IEquatable<Query>, IDeepCloneable<Query>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1 API class Query.
Defines a user inputed query.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.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; }Output only. Unique Id for the query.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Text
public string Text { get; set; }Plain text.
| Property Value | |
|---|---|
| Type | Description |
string |
|