Cloud AI Platform v1 API - Class FeaturestoreOnlineServingService.FeaturestoreOnlineServingServiceBase (2.20.0)

[BindServiceMethod(typeof(FeaturestoreOnlineServingService), "BindService")]
public abstract class FeaturestoreOnlineServingService.FeaturestoreOnlineServingServiceBase

Reference documentation and code samples for the Cloud AI Platform v1 API class FeaturestoreOnlineServingService.FeaturestoreOnlineServingServiceBase.

Base class for server-side implementations of FeaturestoreOnlineServingService

Inheritance

object > FeaturestoreOnlineServingService.FeaturestoreOnlineServingServiceBase

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Methods

ReadFeatureValues(ReadFeatureValuesRequest, ServerCallContext)

public virtual Task<ReadFeatureValuesResponse> ReadFeatureValues(ReadFeatureValuesRequest request, ServerCallContext context)

Reads Feature values of a specific entity of an EntityType. For reading feature values of multiple entities of an EntityType, please use StreamingReadFeatureValues.

Parameters
NameDescription
requestReadFeatureValuesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskReadFeatureValuesResponse

The response to send back to the client (wrapped by a task).

StreamingReadFeatureValues(StreamingReadFeatureValuesRequest, IServerStreamWriter<ReadFeatureValuesResponse>, ServerCallContext)

public virtual Task StreamingReadFeatureValues(StreamingReadFeatureValuesRequest request, IServerStreamWriter<ReadFeatureValuesResponse> responseStream, ServerCallContext context)

Reads Feature values for multiple entities. Depending on their size, data for different entities may be broken up across multiple responses.

Parameters
NameDescription
requestStreamingReadFeatureValuesRequest

The request received from the client.

responseStreamIServerStreamWriterReadFeatureValuesResponse

Used for sending responses back to the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task

A task indicating completion of the handler.

WriteFeatureValues(WriteFeatureValuesRequest, ServerCallContext)

public virtual Task<WriteFeatureValuesResponse> WriteFeatureValues(WriteFeatureValuesRequest request, ServerCallContext context)

Writes Feature values of one or more entities of an EntityType.

The Feature values are merged into existing entities if any. The Feature values to be written must have timestamp within the online storage retention.

Parameters
NameDescription
requestWriteFeatureValuesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskWriteFeatureValuesResponse

The response to send back to the client (wrapped by a task).