Enterprise Knowledge Graph v1 API - Class EnterpriseKnowledgeGraphService.EnterpriseKnowledgeGraphServiceClient (1.0.0-beta01)

public class EnterpriseKnowledgeGraphService.EnterpriseKnowledgeGraphServiceClient : ClientBase<EnterpriseKnowledgeGraphService.EnterpriseKnowledgeGraphServiceClient>

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

Client for EnterpriseKnowledgeGraphService

Inheritance

object > ClientBase > ClientBaseEnterpriseKnowledgeGraphServiceEnterpriseKnowledgeGraphServiceClient > EnterpriseKnowledgeGraphService.EnterpriseKnowledgeGraphServiceClient

Namespace

Google.Cloud.EnterpriseKnowledgeGraph.V1

Assembly

Google.Cloud.EnterpriseKnowledgeGraph.V1.dll

Constructors

EnterpriseKnowledgeGraphServiceClient()

protected EnterpriseKnowledgeGraphServiceClient()

Protected parameterless constructor to allow creation of test doubles.

EnterpriseKnowledgeGraphServiceClient(CallInvoker)

public EnterpriseKnowledgeGraphServiceClient(CallInvoker callInvoker)

Creates a new client for EnterpriseKnowledgeGraphService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

EnterpriseKnowledgeGraphServiceClient(ChannelBase)

public EnterpriseKnowledgeGraphServiceClient(ChannelBase channel)

Creates a new client for EnterpriseKnowledgeGraphService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

EnterpriseKnowledgeGraphServiceClient(ClientBaseConfiguration)

protected EnterpriseKnowledgeGraphServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CancelEntityReconciliationJob(CancelEntityReconciliationJobRequest, CallOptions)

public virtual Empty CancelEntityReconciliationJob(CancelEntityReconciliationJobRequest request, CallOptions options)

Cancels a EntityReconciliationJob. Success of cancellation is not guaranteed.

Parameters
NameDescription
requestCancelEntityReconciliationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

CancelEntityReconciliationJob(CancelEntityReconciliationJobRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty CancelEntityReconciliationJob(CancelEntityReconciliationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Cancels a EntityReconciliationJob. Success of cancellation is not guaranteed.

Parameters
NameDescription
requestCancelEntityReconciliationJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

CancelEntityReconciliationJobAsync(CancelEntityReconciliationJobRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> CancelEntityReconciliationJobAsync(CancelEntityReconciliationJobRequest request, CallOptions options)

Cancels a EntityReconciliationJob. Success of cancellation is not guaranteed.

Parameters
NameDescription
requestCancelEntityReconciliationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

CancelEntityReconciliationJobAsync(CancelEntityReconciliationJobRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> CancelEntityReconciliationJobAsync(CancelEntityReconciliationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Cancels a EntityReconciliationJob. Success of cancellation is not guaranteed.

Parameters
NameDescription
requestCancelEntityReconciliationJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

CreateEntityReconciliationJob(CreateEntityReconciliationJobRequest, CallOptions)

public virtual EntityReconciliationJob CreateEntityReconciliationJob(CreateEntityReconciliationJobRequest request, CallOptions options)

Creates a EntityReconciliationJob. A EntityReconciliationJob once created will right away be attempted to start.

Parameters
NameDescription
requestCreateEntityReconciliationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
EntityReconciliationJob

The response received from the server.

CreateEntityReconciliationJob(CreateEntityReconciliationJobRequest, Metadata, DateTime?, CancellationToken)

public virtual EntityReconciliationJob CreateEntityReconciliationJob(CreateEntityReconciliationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a EntityReconciliationJob. A EntityReconciliationJob once created will right away be attempted to start.

Parameters
NameDescription
requestCreateEntityReconciliationJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
EntityReconciliationJob

The response received from the server.

CreateEntityReconciliationJobAsync(CreateEntityReconciliationJobRequest, CallOptions)

public virtual AsyncUnaryCall<EntityReconciliationJob> CreateEntityReconciliationJobAsync(CreateEntityReconciliationJobRequest request, CallOptions options)

Creates a EntityReconciliationJob. A EntityReconciliationJob once created will right away be attempted to start.

Parameters
NameDescription
requestCreateEntityReconciliationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEntityReconciliationJob

The call object.

CreateEntityReconciliationJobAsync(CreateEntityReconciliationJobRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<EntityReconciliationJob> CreateEntityReconciliationJobAsync(CreateEntityReconciliationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a EntityReconciliationJob. A EntityReconciliationJob once created will right away be attempted to start.

Parameters
NameDescription
requestCreateEntityReconciliationJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEntityReconciliationJob

The call object.

DeleteEntityReconciliationJob(DeleteEntityReconciliationJobRequest, CallOptions)

public virtual Empty DeleteEntityReconciliationJob(DeleteEntityReconciliationJobRequest request, CallOptions options)

Deletes a EntityReconciliationJob. It only deletes the job when the job state is in FAILED, SUCCEEDED, and CANCELLED.

Parameters
NameDescription
requestDeleteEntityReconciliationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteEntityReconciliationJob(DeleteEntityReconciliationJobRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteEntityReconciliationJob(DeleteEntityReconciliationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a EntityReconciliationJob. It only deletes the job when the job state is in FAILED, SUCCEEDED, and CANCELLED.

Parameters
NameDescription
requestDeleteEntityReconciliationJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteEntityReconciliationJobAsync(DeleteEntityReconciliationJobRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteEntityReconciliationJobAsync(DeleteEntityReconciliationJobRequest request, CallOptions options)

Deletes a EntityReconciliationJob. It only deletes the job when the job state is in FAILED, SUCCEEDED, and CANCELLED.

Parameters
NameDescription
requestDeleteEntityReconciliationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteEntityReconciliationJobAsync(DeleteEntityReconciliationJobRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteEntityReconciliationJobAsync(DeleteEntityReconciliationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a EntityReconciliationJob. It only deletes the job when the job state is in FAILED, SUCCEEDED, and CANCELLED.

Parameters
NameDescription
requestDeleteEntityReconciliationJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

GetEntityReconciliationJob(GetEntityReconciliationJobRequest, CallOptions)

public virtual EntityReconciliationJob GetEntityReconciliationJob(GetEntityReconciliationJobRequest request, CallOptions options)

Gets a EntityReconciliationJob.

Parameters
NameDescription
requestGetEntityReconciliationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
EntityReconciliationJob

The response received from the server.

GetEntityReconciliationJob(GetEntityReconciliationJobRequest, Metadata, DateTime?, CancellationToken)

public virtual EntityReconciliationJob GetEntityReconciliationJob(GetEntityReconciliationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a EntityReconciliationJob.

Parameters
NameDescription
requestGetEntityReconciliationJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
EntityReconciliationJob

The response received from the server.

GetEntityReconciliationJobAsync(GetEntityReconciliationJobRequest, CallOptions)

public virtual AsyncUnaryCall<EntityReconciliationJob> GetEntityReconciliationJobAsync(GetEntityReconciliationJobRequest request, CallOptions options)

Gets a EntityReconciliationJob.

Parameters
NameDescription
requestGetEntityReconciliationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEntityReconciliationJob

The call object.

GetEntityReconciliationJobAsync(GetEntityReconciliationJobRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<EntityReconciliationJob> GetEntityReconciliationJobAsync(GetEntityReconciliationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a EntityReconciliationJob.

Parameters
NameDescription
requestGetEntityReconciliationJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEntityReconciliationJob

The call object.

ListEntityReconciliationJobs(ListEntityReconciliationJobsRequest, CallOptions)

public virtual ListEntityReconciliationJobsResponse ListEntityReconciliationJobs(ListEntityReconciliationJobsRequest request, CallOptions options)

Lists Entity Reconciliation Jobs.

Parameters
NameDescription
requestListEntityReconciliationJobsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListEntityReconciliationJobsResponse

The response received from the server.

ListEntityReconciliationJobs(ListEntityReconciliationJobsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListEntityReconciliationJobsResponse ListEntityReconciliationJobs(ListEntityReconciliationJobsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Entity Reconciliation Jobs.

Parameters
NameDescription
requestListEntityReconciliationJobsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListEntityReconciliationJobsResponse

The response received from the server.

ListEntityReconciliationJobsAsync(ListEntityReconciliationJobsRequest, CallOptions)

public virtual AsyncUnaryCall<ListEntityReconciliationJobsResponse> ListEntityReconciliationJobsAsync(ListEntityReconciliationJobsRequest request, CallOptions options)

Lists Entity Reconciliation Jobs.

Parameters
NameDescription
requestListEntityReconciliationJobsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListEntityReconciliationJobsResponse

The call object.

ListEntityReconciliationJobsAsync(ListEntityReconciliationJobsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListEntityReconciliationJobsResponse> ListEntityReconciliationJobsAsync(ListEntityReconciliationJobsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Entity Reconciliation Jobs.

Parameters
NameDescription
requestListEntityReconciliationJobsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListEntityReconciliationJobsResponse

The call object.

Lookup(LookupRequest, CallOptions)

public virtual LookupResponse Lookup(LookupRequest request, CallOptions options)

Finds the Cloud KG entities with CKG ID(s).

Parameters
NameDescription
requestLookupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
LookupResponse

The response received from the server.

Lookup(LookupRequest, Metadata, DateTime?, CancellationToken)

public virtual LookupResponse Lookup(LookupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Finds the Cloud KG entities with CKG ID(s).

Parameters
NameDescription
requestLookupRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
LookupResponse

The response received from the server.

LookupAsync(LookupRequest, CallOptions)

public virtual AsyncUnaryCall<LookupResponse> LookupAsync(LookupRequest request, CallOptions options)

Finds the Cloud KG entities with CKG ID(s).

Parameters
NameDescription
requestLookupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallLookupResponse

The call object.

LookupAsync(LookupRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LookupResponse> LookupAsync(LookupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Finds the Cloud KG entities with CKG ID(s).

Parameters
NameDescription
requestLookupRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallLookupResponse

The call object.

LookupPublicKg(LookupPublicKgRequest, CallOptions)

public virtual LookupPublicKgResponse LookupPublicKg(LookupPublicKgRequest request, CallOptions options)

Finds the public KG entities with public KG ID(s).

Parameters
NameDescription
requestLookupPublicKgRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
LookupPublicKgResponse

The response received from the server.

LookupPublicKg(LookupPublicKgRequest, Metadata, DateTime?, CancellationToken)

public virtual LookupPublicKgResponse LookupPublicKg(LookupPublicKgRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Finds the public KG entities with public KG ID(s).

Parameters
NameDescription
requestLookupPublicKgRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
LookupPublicKgResponse

The response received from the server.

LookupPublicKgAsync(LookupPublicKgRequest, CallOptions)

public virtual AsyncUnaryCall<LookupPublicKgResponse> LookupPublicKgAsync(LookupPublicKgRequest request, CallOptions options)

Finds the public KG entities with public KG ID(s).

Parameters
NameDescription
requestLookupPublicKgRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallLookupPublicKgResponse

The call object.

LookupPublicKgAsync(LookupPublicKgRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LookupPublicKgResponse> LookupPublicKgAsync(LookupPublicKgRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Finds the public KG entities with public KG ID(s).

Parameters
NameDescription
requestLookupPublicKgRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallLookupPublicKgResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override EnterpriseKnowledgeGraphService.EnterpriseKnowledgeGraphServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
EnterpriseKnowledgeGraphServiceEnterpriseKnowledgeGraphServiceClient
Overrides

Search(SearchRequest, CallOptions)

public virtual SearchResponse Search(SearchRequest request, CallOptions options)

Searches the Cloud KG entities with entity name.

Parameters
NameDescription
requestSearchRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SearchResponse

The response received from the server.

Search(SearchRequest, Metadata, DateTime?, CancellationToken)

public virtual SearchResponse Search(SearchRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Searches the Cloud KG entities with entity name.

Parameters
NameDescription
requestSearchRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SearchResponse

The response received from the server.

SearchAsync(SearchRequest, CallOptions)

public virtual AsyncUnaryCall<SearchResponse> SearchAsync(SearchRequest request, CallOptions options)

Searches the Cloud KG entities with entity name.

Parameters
NameDescription
requestSearchRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSearchResponse

The call object.

SearchAsync(SearchRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SearchResponse> SearchAsync(SearchRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Searches the Cloud KG entities with entity name.

Parameters
NameDescription
requestSearchRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSearchResponse

The call object.

SearchPublicKg(SearchPublicKgRequest, CallOptions)

public virtual SearchPublicKgResponse SearchPublicKg(SearchPublicKgRequest request, CallOptions options)

Searches the public KG entities with entity name.

Parameters
NameDescription
requestSearchPublicKgRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SearchPublicKgResponse

The response received from the server.

SearchPublicKg(SearchPublicKgRequest, Metadata, DateTime?, CancellationToken)

public virtual SearchPublicKgResponse SearchPublicKg(SearchPublicKgRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Searches the public KG entities with entity name.

Parameters
NameDescription
requestSearchPublicKgRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SearchPublicKgResponse

The response received from the server.

SearchPublicKgAsync(SearchPublicKgRequest, CallOptions)

public virtual AsyncUnaryCall<SearchPublicKgResponse> SearchPublicKgAsync(SearchPublicKgRequest request, CallOptions options)

Searches the public KG entities with entity name.

Parameters
NameDescription
requestSearchPublicKgRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSearchPublicKgResponse

The call object.

SearchPublicKgAsync(SearchPublicKgRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SearchPublicKgResponse> SearchPublicKgAsync(SearchPublicKgRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Searches the public KG entities with entity name.

Parameters
NameDescription
requestSearchPublicKgRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSearchPublicKgResponse

The call object.