Enterprise Knowledge Graph v1 API - Class SearchRequest (1.0.0-beta02)

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

Reference documentation and code samples for the Enterprise Knowledge Graph v1 API class SearchRequest.

Request message for [EnterpriseKnowledgeGraphService.Search][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.Search].

Inheritance

object > SearchRequest

Namespace

Google.Cloud.EnterpriseKnowledgeGraph.V1

Assembly

Google.Cloud.EnterpriseKnowledgeGraph.V1.dll

Constructors

SearchRequest()

public SearchRequest()

SearchRequest(SearchRequest)

public SearchRequest(SearchRequest other)
Parameter
NameDescription
otherSearchRequest

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
TypeDescription
RepeatedFieldstring

Limit

public int? Limit { get; set; }

Limits the number of entities to be returned.

Property Value
TypeDescription
int

Parent

public string Parent { get; set; }

Required. The name of the Entity's parent resource. Format: projects/{project}/locations/{location}

Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

Query

public string Query { get; set; }

Required. The literal query string for search.

Property Value
TypeDescription
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
TypeDescription
RepeatedFieldstring