Cloud AI Platform v1 API - Class FeaturestoreService.FeaturestoreServiceBase (2.8.0)

[BindServiceMethod(typeof(FeaturestoreService), "BindService")]
public abstract class FeaturestoreServiceBase

Reference documentation and code samples for the Cloud AI Platform v1 API class FeaturestoreService.FeaturestoreServiceBase.

Base class for server-side implementations of FeaturestoreService

Inheritance

Object > FeaturestoreService.FeaturestoreServiceBase

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Methods

BatchCreateFeatures(BatchCreateFeaturesRequest, ServerCallContext)

public virtual Task<Operation> BatchCreateFeatures(BatchCreateFeaturesRequest request, ServerCallContext context)

Creates a batch of Features in a given EntityType.

Parameters
NameDescription
requestBatchCreateFeaturesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

BatchReadFeatureValues(BatchReadFeatureValuesRequest, ServerCallContext)

public virtual Task<Operation> BatchReadFeatureValues(BatchReadFeatureValuesRequest request, ServerCallContext context)

Batch reads Feature values from a Featurestore.

This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.

Parameters
NameDescription
requestBatchReadFeatureValuesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

CreateEntityType(CreateEntityTypeRequest, ServerCallContext)

public virtual Task<Operation> CreateEntityType(CreateEntityTypeRequest request, ServerCallContext context)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
requestCreateEntityTypeRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

CreateFeature(CreateFeatureRequest, ServerCallContext)

public virtual Task<Operation> CreateFeature(CreateFeatureRequest request, ServerCallContext context)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
requestCreateFeatureRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

CreateFeaturestore(CreateFeaturestoreRequest, ServerCallContext)

public virtual Task<Operation> CreateFeaturestore(CreateFeaturestoreRequest request, ServerCallContext context)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
requestCreateFeaturestoreRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

DeleteEntityType(DeleteEntityTypeRequest, ServerCallContext)

public virtual Task<Operation> DeleteEntityType(DeleteEntityTypeRequest request, ServerCallContext context)

Deletes a single EntityType. The EntityType must not have any Features or force must be set to true for the request to succeed.

Parameters
NameDescription
requestDeleteEntityTypeRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

DeleteFeature(DeleteFeatureRequest, ServerCallContext)

public virtual Task<Operation> DeleteFeature(DeleteFeatureRequest request, ServerCallContext context)

Deletes a single Feature.

Parameters
NameDescription
requestDeleteFeatureRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

DeleteFeaturestore(DeleteFeaturestoreRequest, ServerCallContext)

public virtual Task<Operation> DeleteFeaturestore(DeleteFeaturestoreRequest request, ServerCallContext context)

Deletes a single Featurestore. The Featurestore must not contain any EntityTypes or force must be set to true for the request to succeed.

Parameters
NameDescription
requestDeleteFeaturestoreRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

ExportFeatureValues(ExportFeatureValuesRequest, ServerCallContext)

public virtual Task<Operation> ExportFeatureValues(ExportFeatureValuesRequest request, ServerCallContext context)

Exports Feature values from all the entities of a target EntityType.

Parameters
NameDescription
requestExportFeatureValuesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

GetEntityType(GetEntityTypeRequest, ServerCallContext)

public virtual Task<EntityType> GetEntityType(GetEntityTypeRequest request, ServerCallContext context)

Gets details of a single EntityType.

Parameters
NameDescription
requestGetEntityTypeRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<EntityType>

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

GetFeature(GetFeatureRequest, ServerCallContext)

public virtual Task<Feature> GetFeature(GetFeatureRequest request, ServerCallContext context)

Gets details of a single Feature.

Parameters
NameDescription
requestGetFeatureRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Feature>

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

GetFeaturestore(GetFeaturestoreRequest, ServerCallContext)

public virtual Task<Featurestore> GetFeaturestore(GetFeaturestoreRequest request, ServerCallContext context)

Gets details of a single Featurestore.

Parameters
NameDescription
requestGetFeaturestoreRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Featurestore>

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

ImportFeatureValues(ImportFeatureValuesRequest, ServerCallContext)

public virtual Task<Operation> ImportFeatureValues(ImportFeatureValuesRequest request, ServerCallContext context)

Imports Feature values into the Featurestore from a source storage.

The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.

If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.

There are also scenarios where the caller can cause inconsistency.

  • Source data for import contains multiple distinct Feature values for the same entity ID and timestamp.
  • Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy.
  • Online serving cluster is under-provisioned.
Parameters
NameDescription
requestImportFeatureValuesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

ListEntityTypes(ListEntityTypesRequest, ServerCallContext)

public virtual Task<ListEntityTypesResponse> ListEntityTypes(ListEntityTypesRequest request, ServerCallContext context)

Lists EntityTypes in a given Featurestore.

Parameters
NameDescription
requestListEntityTypesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ListEntityTypesResponse>

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

ListFeatures(ListFeaturesRequest, ServerCallContext)

public virtual Task<ListFeaturesResponse> ListFeatures(ListFeaturesRequest request, ServerCallContext context)

Lists Features in a given EntityType.

Parameters
NameDescription
requestListFeaturesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ListFeaturesResponse>

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

ListFeaturestores(ListFeaturestoresRequest, ServerCallContext)

public virtual Task<ListFeaturestoresResponse> ListFeaturestores(ListFeaturestoresRequest request, ServerCallContext context)

Lists Featurestores in a given project and location.

Parameters
NameDescription
requestListFeaturestoresRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ListFeaturestoresResponse>

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

SearchFeatures(SearchFeaturesRequest, ServerCallContext)

public virtual Task<SearchFeaturesResponse> SearchFeatures(SearchFeaturesRequest request, ServerCallContext context)

Searches Features matching a query in a given project.

Parameters
NameDescription
requestSearchFeaturesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<SearchFeaturesResponse>

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

UpdateEntityType(UpdateEntityTypeRequest, ServerCallContext)

public virtual Task<EntityType> UpdateEntityType(UpdateEntityTypeRequest request, ServerCallContext context)

Updates the parameters of a single EntityType.

Parameters
NameDescription
requestUpdateEntityTypeRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<EntityType>

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

UpdateFeature(UpdateFeatureRequest, ServerCallContext)

public virtual Task<Feature> UpdateFeature(UpdateFeatureRequest request, ServerCallContext context)

Updates the parameters of a single Feature.

Parameters
NameDescription
requestUpdateFeatureRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Feature>

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

UpdateFeaturestore(UpdateFeaturestoreRequest, ServerCallContext)

public virtual Task<Operation> UpdateFeaturestore(UpdateFeaturestoreRequest request, ServerCallContext context)

Updates the parameters of a single Featurestore.

Parameters
NameDescription
requestUpdateFeaturestoreRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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