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

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

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

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

Inheritance

object > SearchPublicKgRequest

Namespace

Google.Cloud.EnterpriseKnowledgeGraph.V1

Assembly

Google.Cloud.EnterpriseKnowledgeGraph.V1.dll

Constructors

SearchPublicKgRequest()

public SearchPublicKgRequest()

SearchPublicKgRequest(SearchPublicKgRequest)

public SearchPublicKgRequest(SearchPublicKgRequest other)
Parameter
Name Description
other SearchPublicKgRequest

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