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

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