public sealed class SearchRequest : IMessage<SearchRequest>, IEquatable<SearchRequest>, IDeepCloneable<SearchRequest>, IBufferMessage, IMessageReference documentation and code samples for the Enterprise Knowledge Graph v1 API class SearchRequest.
Request message for [EnterpriseKnowledgeGraphService.Search][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.Search].
Implements
IMessageSearchRequest, IEquatableSearchRequest, IDeepCloneableSearchRequest, IBufferMessage, IMessageNamespace
Google.Cloud.EnterpriseKnowledgeGraph.V1Assembly
Google.Cloud.EnterpriseKnowledgeGraph.V1.dll
Constructors
SearchRequest()
public SearchRequest()SearchRequest(SearchRequest)
public SearchRequest(SearchRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchRequest |
Properties
Languages
public RepeatedField<string> Languages { get; }The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
Limit
public int? Limit { get; set; }Limits the number of entities to be returned.
| Property Value | |
|---|---|
| Type | Description |
int |
|
Parent
public string Parent { get; set; }Required. The name of the Entity's parent resource.
Format:
projects/{project}/locations/{location}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }LocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|
Query
public string Query { get; set; }Required. The literal query string for search.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Types_
public RepeatedField<string> Types_ { get; }Restricts returned entities with these types, e.g. Person (as defined in http://schema.org/Person). If multiple types are specified, returned entities will contain one or more of these types.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|