public class FeatureOnlineStoreService.FeatureOnlineStoreServiceClient : ClientBase<FeatureOnlineStoreService.FeatureOnlineStoreServiceClient>Reference documentation and code samples for the Vertex AI v1beta1 API class FeatureOnlineStoreService.FeatureOnlineStoreServiceClient.
Client for FeatureOnlineStoreService
Inheritance
object > ClientBase > ClientBaseFeatureOnlineStoreServiceFeatureOnlineStoreServiceClient > FeatureOnlineStoreService.FeatureOnlineStoreServiceClientNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
FeatureOnlineStoreServiceClient()
protected FeatureOnlineStoreServiceClient()Protected parameterless constructor to allow creation of test doubles.
FeatureOnlineStoreServiceClient(CallInvoker)
public FeatureOnlineStoreServiceClient(CallInvoker callInvoker)Creates a new client for FeatureOnlineStoreService that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
FeatureOnlineStoreServiceClient(ChannelBase)
public FeatureOnlineStoreServiceClient(ChannelBase channel)Creates a new client for FeatureOnlineStoreService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
FeatureOnlineStoreServiceClient(ClientBaseConfiguration)
protected FeatureOnlineStoreServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe 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. |
FeatureViewDirectWrite(CallOptions)
public virtual AsyncDuplexStreamingCall<FeatureViewDirectWriteRequest, FeatureViewDirectWriteResponse> FeatureViewDirectWrite(CallOptions options)Bidirectional streaming RPC to directly write to feature values in a feature view. Requests may not have a one-to-one mapping to responses and responses may be returned out-of-order to reduce latency.
| Parameter | |
|---|---|
| Name | Description |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncDuplexStreamingCallFeatureViewDirectWriteRequestFeatureViewDirectWriteResponse |
The call object. |
FeatureViewDirectWrite(Metadata, DateTime?, CancellationToken)
public virtual AsyncDuplexStreamingCall<FeatureViewDirectWriteRequest, FeatureViewDirectWriteResponse> FeatureViewDirectWrite(Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Bidirectional streaming RPC to directly write to feature values in a feature view. Requests may not have a one-to-one mapping to responses and responses may be returned out-of-order to reduce latency.
| Parameters | |
|---|---|
| Name | Description |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncDuplexStreamingCallFeatureViewDirectWriteRequestFeatureViewDirectWriteResponse |
The call object. |
FetchFeatureValues(FetchFeatureValuesRequest, CallOptions)
public virtual FetchFeatureValuesResponse FetchFeatureValues(FetchFeatureValuesRequest request, CallOptions options)Fetch feature values under a FeatureView.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchFeatureValuesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
FetchFeatureValuesResponse |
The response received from the server. |
FetchFeatureValues(FetchFeatureValuesRequest, Metadata, DateTime?, CancellationToken)
public virtual FetchFeatureValuesResponse FetchFeatureValues(FetchFeatureValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Fetch feature values under a FeatureView.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchFeatureValuesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
FetchFeatureValuesResponse |
The response received from the server. |
FetchFeatureValuesAsync(FetchFeatureValuesRequest, CallOptions)
public virtual AsyncUnaryCall<FetchFeatureValuesResponse> FetchFeatureValuesAsync(FetchFeatureValuesRequest request, CallOptions options)Fetch feature values under a FeatureView.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchFeatureValuesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallFetchFeatureValuesResponse |
The call object. |
FetchFeatureValuesAsync(FetchFeatureValuesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<FetchFeatureValuesResponse> FetchFeatureValuesAsync(FetchFeatureValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Fetch feature values under a FeatureView.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchFeatureValuesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallFetchFeatureValuesResponse |
The call object. |
GenerateFetchAccessToken(GenerateFetchAccessTokenRequest, CallOptions)
public virtual GenerateFetchAccessTokenResponse GenerateFetchAccessToken(GenerateFetchAccessTokenRequest request, CallOptions options)RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateFetchAccessTokenRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
GenerateFetchAccessTokenResponse |
The response received from the server. |
GenerateFetchAccessToken(GenerateFetchAccessTokenRequest, Metadata, DateTime?, CancellationToken)
public virtual GenerateFetchAccessTokenResponse GenerateFetchAccessToken(GenerateFetchAccessTokenRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateFetchAccessTokenRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
GenerateFetchAccessTokenResponse |
The response received from the server. |
GenerateFetchAccessTokenAsync(GenerateFetchAccessTokenRequest, CallOptions)
public virtual AsyncUnaryCall<GenerateFetchAccessTokenResponse> GenerateFetchAccessTokenAsync(GenerateFetchAccessTokenRequest request, CallOptions options)RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateFetchAccessTokenRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallGenerateFetchAccessTokenResponse |
The call object. |
GenerateFetchAccessTokenAsync(GenerateFetchAccessTokenRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<GenerateFetchAccessTokenResponse> GenerateFetchAccessTokenAsync(GenerateFetchAccessTokenRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateFetchAccessTokenRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallGenerateFetchAccessTokenResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override FeatureOnlineStoreService.FeatureOnlineStoreServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
FeatureOnlineStoreServiceFeatureOnlineStoreServiceClient |
|
SearchNearestEntities(SearchNearestEntitiesRequest, CallOptions)
public virtual SearchNearestEntitiesResponse SearchNearestEntities(SearchNearestEntitiesRequest request, CallOptions options)Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchNearestEntitiesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
SearchNearestEntitiesResponse |
The response received from the server. |
SearchNearestEntities(SearchNearestEntitiesRequest, Metadata, DateTime?, CancellationToken)
public virtual SearchNearestEntitiesResponse SearchNearestEntities(SearchNearestEntitiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchNearestEntitiesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
SearchNearestEntitiesResponse |
The response received from the server. |
SearchNearestEntitiesAsync(SearchNearestEntitiesRequest, CallOptions)
public virtual AsyncUnaryCall<SearchNearestEntitiesResponse> SearchNearestEntitiesAsync(SearchNearestEntitiesRequest request, CallOptions options)Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchNearestEntitiesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSearchNearestEntitiesResponse |
The call object. |
SearchNearestEntitiesAsync(SearchNearestEntitiesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<SearchNearestEntitiesResponse> SearchNearestEntitiesAsync(SearchNearestEntitiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchNearestEntitiesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSearchNearestEntitiesResponse |
The call object. |
StreamingFetchFeatureValues(CallOptions)
public virtual AsyncDuplexStreamingCall<StreamingFetchFeatureValuesRequest, StreamingFetchFeatureValuesResponse> StreamingFetchFeatureValues(CallOptions options)Bidirectional streaming RPC to fetch feature values under a FeatureView. Requests may not have a one-to-one mapping to responses and responses may be returned out-of-order to reduce latency.
| Parameter | |
|---|---|
| Name | Description |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncDuplexStreamingCallStreamingFetchFeatureValuesRequestStreamingFetchFeatureValuesResponse |
The call object. |
StreamingFetchFeatureValues(Metadata, DateTime?, CancellationToken)
public virtual AsyncDuplexStreamingCall<StreamingFetchFeatureValuesRequest, StreamingFetchFeatureValuesResponse> StreamingFetchFeatureValues(Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Bidirectional streaming RPC to fetch feature values under a FeatureView. Requests may not have a one-to-one mapping to responses and responses may be returned out-of-order to reduce latency.
| Parameters | |
|---|---|
| Name | Description |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncDuplexStreamingCallStreamingFetchFeatureValuesRequestStreamingFetchFeatureValuesResponse |
The call object. |