Cloud AI Platform v1 API - Class FeaturestoreOnlineServingService.FeaturestoreOnlineServingServiceClient (2.27.0)

public class FeaturestoreOnlineServingService.FeaturestoreOnlineServingServiceClient : ClientBase<FeaturestoreOnlineServingService.FeaturestoreOnlineServingServiceClient>

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

Client for FeaturestoreOnlineServingService

Inheritance

object > ClientBase > ClientBaseFeaturestoreOnlineServingServiceFeaturestoreOnlineServingServiceClient > FeaturestoreOnlineServingService.FeaturestoreOnlineServingServiceClient

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

FeaturestoreOnlineServingServiceClient()

protected FeaturestoreOnlineServingServiceClient()

Protected parameterless constructor to allow creation of test doubles.

FeaturestoreOnlineServingServiceClient(CallInvoker)

public FeaturestoreOnlineServingServiceClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

FeaturestoreOnlineServingServiceClient(ChannelBase)

public FeaturestoreOnlineServingServiceClient(ChannelBase channel)

Creates a new client for FeaturestoreOnlineServingService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

FeaturestoreOnlineServingServiceClient(ClientBaseConfiguration)

protected FeaturestoreOnlineServingServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
Type Description
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
Type Description
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

NewInstance(ClientBaseConfiguration)

protected override FeaturestoreOnlineServingService.FeaturestoreOnlineServingServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
FeaturestoreOnlineServingServiceFeaturestoreOnlineServingServiceClient
Overrides

ReadFeatureValues(ReadFeatureValuesRequest, CallOptions)

public virtual ReadFeatureValuesResponse ReadFeatureValues(ReadFeatureValuesRequest request, CallOptions options)

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

Parameters
Name Description
request ReadFeatureValuesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ReadFeatureValuesResponse

The response received from the server.

ReadFeatureValues(ReadFeatureValuesRequest, Metadata, DateTime?, CancellationToken)

public virtual ReadFeatureValuesResponse ReadFeatureValues(ReadFeatureValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request ReadFeatureValuesRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ReadFeatureValuesResponse

The response received from the server.

ReadFeatureValuesAsync(ReadFeatureValuesRequest, CallOptions)

public virtual AsyncUnaryCall<ReadFeatureValuesResponse> ReadFeatureValuesAsync(ReadFeatureValuesRequest request, CallOptions options)

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

Parameters
Name Description
request ReadFeatureValuesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallReadFeatureValuesResponse

The call object.

ReadFeatureValuesAsync(ReadFeatureValuesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ReadFeatureValuesResponse> ReadFeatureValuesAsync(ReadFeatureValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request ReadFeatureValuesRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallReadFeatureValuesResponse

The call object.

StreamingReadFeatureValues(StreamingReadFeatureValuesRequest, CallOptions)

public virtual AsyncServerStreamingCall<ReadFeatureValuesResponse> StreamingReadFeatureValues(StreamingReadFeatureValuesRequest request, CallOptions options)

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

Parameters
Name Description
request StreamingReadFeatureValuesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncServerStreamingCallReadFeatureValuesResponse

The call object.

StreamingReadFeatureValues(StreamingReadFeatureValuesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncServerStreamingCall<ReadFeatureValuesResponse> StreamingReadFeatureValues(StreamingReadFeatureValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request StreamingReadFeatureValuesRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncServerStreamingCallReadFeatureValuesResponse

The call object.

WriteFeatureValues(WriteFeatureValuesRequest, CallOptions)

public virtual WriteFeatureValuesResponse WriteFeatureValues(WriteFeatureValuesRequest request, CallOptions options)

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
Name Description
request WriteFeatureValuesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
WriteFeatureValuesResponse

The response received from the server.

WriteFeatureValues(WriteFeatureValuesRequest, Metadata, DateTime?, CancellationToken)

public virtual WriteFeatureValuesResponse WriteFeatureValues(WriteFeatureValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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
Name Description
request WriteFeatureValuesRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
WriteFeatureValuesResponse

The response received from the server.

WriteFeatureValuesAsync(WriteFeatureValuesRequest, CallOptions)

public virtual AsyncUnaryCall<WriteFeatureValuesResponse> WriteFeatureValuesAsync(WriteFeatureValuesRequest request, CallOptions options)

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
Name Description
request WriteFeatureValuesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallWriteFeatureValuesResponse

The call object.

WriteFeatureValuesAsync(WriteFeatureValuesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<WriteFeatureValuesResponse> WriteFeatureValuesAsync(WriteFeatureValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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
Name Description
request WriteFeatureValuesRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallWriteFeatureValuesResponse

The call object.