Cloud AI Platform v1 API - Class FeaturestoreServiceClient (2.11.0)

public abstract class FeaturestoreServiceClient

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

FeaturestoreService client wrapper, for convenient use.

Inheritance

object > FeaturestoreServiceClient

Namespace

GoogleCloudGoogle.Cloud.AIPlatformV1

Assembly

Google.Cloud.AIPlatform.V1.dll

Remarks

The service that handles CRUD and List for resources for Featurestore.

Properties

BatchCreateFeaturesOperationsClient

public virtual OperationsClient BatchCreateFeaturesOperationsClient { get; }

The long-running operations client for BatchCreateFeatures.

Property Value
TypeDescription
OperationsClient

BatchReadFeatureValuesOperationsClient

public virtual OperationsClient BatchReadFeatureValuesOperationsClient { get; }

The long-running operations client for BatchReadFeatureValues.

Property Value
TypeDescription
OperationsClient

CreateEntityTypeOperationsClient

public virtual OperationsClient CreateEntityTypeOperationsClient { get; }

The long-running operations client for CreateEntityType.

Property Value
TypeDescription
OperationsClient

CreateFeatureOperationsClient

public virtual OperationsClient CreateFeatureOperationsClient { get; }

The long-running operations client for CreateFeature.

Property Value
TypeDescription
OperationsClient

CreateFeaturestoreOperationsClient

public virtual OperationsClient CreateFeaturestoreOperationsClient { get; }

The long-running operations client for CreateFeaturestore.

Property Value
TypeDescription
OperationsClient

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the FeaturestoreService service, which is a host of "aiplatform.googleapis.com" and a port of 443.

Property Value
TypeDescription
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default FeaturestoreService scopes.

Property Value
TypeDescription
IReadOnlyListstring
Remarks

The default FeaturestoreService scopes are:

DeleteEntityTypeOperationsClient

public virtual OperationsClient DeleteEntityTypeOperationsClient { get; }

The long-running operations client for DeleteEntityType.

Property Value
TypeDescription
OperationsClient

DeleteFeatureOperationsClient

public virtual OperationsClient DeleteFeatureOperationsClient { get; }

The long-running operations client for DeleteFeature.

Property Value
TypeDescription
OperationsClient

DeleteFeaturestoreOperationsClient

public virtual OperationsClient DeleteFeaturestoreOperationsClient { get; }

The long-running operations client for DeleteFeaturestore.

Property Value
TypeDescription
OperationsClient

DeleteFeatureValuesOperationsClient

public virtual OperationsClient DeleteFeatureValuesOperationsClient { get; }

The long-running operations client for DeleteFeatureValues.

Property Value
TypeDescription
OperationsClient

ExportFeatureValuesOperationsClient

public virtual OperationsClient ExportFeatureValuesOperationsClient { get; }

The long-running operations client for ExportFeatureValues.

Property Value
TypeDescription
OperationsClient

GrpcClient

public virtual FeaturestoreService.FeaturestoreServiceClient GrpcClient { get; }

The underlying gRPC FeaturestoreService client

Property Value
TypeDescription
FeaturestoreServiceFeaturestoreServiceClient

IAMPolicyClient

public virtual IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
TypeDescription
IAMPolicyClient

ImportFeatureValuesOperationsClient

public virtual OperationsClient ImportFeatureValuesOperationsClient { get; }

The long-running operations client for ImportFeatureValues.

Property Value
TypeDescription
OperationsClient

LocationsClient

public virtual LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
TypeDescription
ServiceMetadata

UpdateFeaturestoreOperationsClient

public virtual OperationsClient UpdateFeaturestoreOperationsClient { get; }

The long-running operations client for UpdateFeaturestore.

Property Value
TypeDescription
OperationsClient

Methods

BatchCreateFeatures(BatchCreateFeaturesRequest, CallSettings)

public virtual Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> BatchCreateFeatures(BatchCreateFeaturesRequest request, CallSettings callSettings = null)

Creates a batch of Features in a given EntityType.

Parameters
NameDescription
requestBatchCreateFeaturesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationBatchCreateFeaturesResponseBatchCreateFeaturesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
BatchCreateFeaturesRequest request = new BatchCreateFeaturesRequest
{
    ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    Requests =
    {
        new CreateFeatureRequest(),
    },
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = featurestoreServiceClient.BatchCreateFeatures(request);

// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceBatchCreateFeatures(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}

BatchCreateFeatures(EntityTypeName, IEnumerable<CreateFeatureRequest>, CallSettings)

public virtual Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> BatchCreateFeatures(EntityTypeName parent, IEnumerable<CreateFeatureRequest> requests, CallSettings callSettings = null)

Creates a batch of Features in a given EntityType.

Parameters
NameDescription
parentEntityTypeName

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

requestsIEnumerableCreateFeatureRequest

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationBatchCreateFeaturesResponseBatchCreateFeaturesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
IEnumerable<CreateFeatureRequest> requests = new CreateFeatureRequest[]
{
    new CreateFeatureRequest(),
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = featurestoreServiceClient.BatchCreateFeatures(parent, requests);

// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceBatchCreateFeatures(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}

BatchCreateFeatures(string, IEnumerable<CreateFeatureRequest>, CallSettings)

public virtual Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> BatchCreateFeatures(string parent, IEnumerable<CreateFeatureRequest> requests, CallSettings callSettings = null)

Creates a batch of Features in a given EntityType.

Parameters
NameDescription
parentstring

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

requestsIEnumerableCreateFeatureRequest

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationBatchCreateFeaturesResponseBatchCreateFeaturesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
IEnumerable<CreateFeatureRequest> requests = new CreateFeatureRequest[]
{
    new CreateFeatureRequest(),
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = featurestoreServiceClient.BatchCreateFeatures(parent, requests);

// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceBatchCreateFeatures(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}

BatchCreateFeaturesAsync(BatchCreateFeaturesRequest, CallSettings)

public virtual Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> BatchCreateFeaturesAsync(BatchCreateFeaturesRequest request, CallSettings callSettings = null)

Creates a batch of Features in a given EntityType.

Parameters
NameDescription
requestBatchCreateFeaturesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationBatchCreateFeaturesResponseBatchCreateFeaturesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
BatchCreateFeaturesRequest request = new BatchCreateFeaturesRequest
{
    ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    Requests =
    {
        new CreateFeatureRequest(),
    },
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = await featurestoreServiceClient.BatchCreateFeaturesAsync(request);

// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchCreateFeaturesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}

BatchCreateFeaturesAsync(BatchCreateFeaturesRequest, CancellationToken)

public virtual Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> BatchCreateFeaturesAsync(BatchCreateFeaturesRequest request, CancellationToken cancellationToken)

Creates a batch of Features in a given EntityType.

Parameters
NameDescription
requestBatchCreateFeaturesRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationBatchCreateFeaturesResponseBatchCreateFeaturesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
BatchCreateFeaturesRequest request = new BatchCreateFeaturesRequest
{
    ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    Requests =
    {
        new CreateFeatureRequest(),
    },
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = await featurestoreServiceClient.BatchCreateFeaturesAsync(request);

// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchCreateFeaturesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}

BatchCreateFeaturesAsync(EntityTypeName, IEnumerable<CreateFeatureRequest>, CallSettings)

public virtual Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> BatchCreateFeaturesAsync(EntityTypeName parent, IEnumerable<CreateFeatureRequest> requests, CallSettings callSettings = null)

Creates a batch of Features in a given EntityType.

Parameters
NameDescription
parentEntityTypeName

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

requestsIEnumerableCreateFeatureRequest

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationBatchCreateFeaturesResponseBatchCreateFeaturesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
IEnumerable<CreateFeatureRequest> requests = new CreateFeatureRequest[]
{
    new CreateFeatureRequest(),
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = await featurestoreServiceClient.BatchCreateFeaturesAsync(parent, requests);

// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchCreateFeaturesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}

BatchCreateFeaturesAsync(EntityTypeName, IEnumerable<CreateFeatureRequest>, CancellationToken)

public virtual Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> BatchCreateFeaturesAsync(EntityTypeName parent, IEnumerable<CreateFeatureRequest> requests, CancellationToken cancellationToken)

Creates a batch of Features in a given EntityType.

Parameters
NameDescription
parentEntityTypeName

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

requestsIEnumerableCreateFeatureRequest

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationBatchCreateFeaturesResponseBatchCreateFeaturesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
IEnumerable<CreateFeatureRequest> requests = new CreateFeatureRequest[]
{
    new CreateFeatureRequest(),
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = await featurestoreServiceClient.BatchCreateFeaturesAsync(parent, requests);

// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchCreateFeaturesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}

BatchCreateFeaturesAsync(string, IEnumerable<CreateFeatureRequest>, CallSettings)

public virtual Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> BatchCreateFeaturesAsync(string parent, IEnumerable<CreateFeatureRequest> requests, CallSettings callSettings = null)

Creates a batch of Features in a given EntityType.

Parameters
NameDescription
parentstring

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

requestsIEnumerableCreateFeatureRequest

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationBatchCreateFeaturesResponseBatchCreateFeaturesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
IEnumerable<CreateFeatureRequest> requests = new CreateFeatureRequest[]
{
    new CreateFeatureRequest(),
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = await featurestoreServiceClient.BatchCreateFeaturesAsync(parent, requests);

// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchCreateFeaturesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}

BatchCreateFeaturesAsync(string, IEnumerable<CreateFeatureRequest>, CancellationToken)

public virtual Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> BatchCreateFeaturesAsync(string parent, IEnumerable<CreateFeatureRequest> requests, CancellationToken cancellationToken)

Creates a batch of Features in a given EntityType.

Parameters
NameDescription
parentstring

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

requestsIEnumerableCreateFeatureRequest

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationBatchCreateFeaturesResponseBatchCreateFeaturesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
IEnumerable<CreateFeatureRequest> requests = new CreateFeatureRequest[]
{
    new CreateFeatureRequest(),
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = await featurestoreServiceClient.BatchCreateFeaturesAsync(parent, requests);

// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchCreateFeaturesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}

BatchReadFeatureValues(BatchReadFeatureValuesRequest, CallSettings)

public virtual Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> BatchReadFeatureValues(BatchReadFeatureValuesRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationBatchReadFeatureValuesResponseBatchReadFeatureValuesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
BatchReadFeatureValuesRequest request = new BatchReadFeatureValuesRequest
{
    FeaturestoreAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
    CsvReadInstances = new CsvSource(),
    Destination = new FeatureValueDestination(),
    EntityTypeSpecs =
    {
        new BatchReadFeatureValuesRequest.Types.EntityTypeSpec(),
    },
    PassThroughFields =
    {
        new BatchReadFeatureValuesRequest.Types.PassThroughField(),
    },
    StartTime = new Timestamp(),
};
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = featurestoreServiceClient.BatchReadFeatureValues(request);

// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceBatchReadFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

BatchReadFeatureValues(FeaturestoreName, CallSettings)

public virtual Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> BatchReadFeatureValues(FeaturestoreName featurestore, CallSettings callSettings = null)

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
featurestoreFeaturestoreName

Required. The resource name of the Featurestore from which to query Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationBatchReadFeatureValuesResponseBatchReadFeatureValuesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeaturestoreName featurestore = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = featurestoreServiceClient.BatchReadFeatureValues(featurestore);

// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceBatchReadFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

BatchReadFeatureValues(string, CallSettings)

public virtual Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> BatchReadFeatureValues(string featurestore, CallSettings callSettings = null)

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
featurestorestring

Required. The resource name of the Featurestore from which to query Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationBatchReadFeatureValuesResponseBatchReadFeatureValuesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string featurestore = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = featurestoreServiceClient.BatchReadFeatureValues(featurestore);

// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceBatchReadFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

BatchReadFeatureValuesAsync(BatchReadFeatureValuesRequest, CallSettings)

public virtual Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> BatchReadFeatureValuesAsync(BatchReadFeatureValuesRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationBatchReadFeatureValuesResponseBatchReadFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
BatchReadFeatureValuesRequest request = new BatchReadFeatureValuesRequest
{
    FeaturestoreAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
    CsvReadInstances = new CsvSource(),
    Destination = new FeatureValueDestination(),
    EntityTypeSpecs =
    {
        new BatchReadFeatureValuesRequest.Types.EntityTypeSpec(),
    },
    PassThroughFields =
    {
        new BatchReadFeatureValuesRequest.Types.PassThroughField(),
    },
    StartTime = new Timestamp(),
};
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = await featurestoreServiceClient.BatchReadFeatureValuesAsync(request);

// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchReadFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

BatchReadFeatureValuesAsync(BatchReadFeatureValuesRequest, CancellationToken)

public virtual Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> BatchReadFeatureValuesAsync(BatchReadFeatureValuesRequest request, CancellationToken cancellationToken)

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 object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationBatchReadFeatureValuesResponseBatchReadFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
BatchReadFeatureValuesRequest request = new BatchReadFeatureValuesRequest
{
    FeaturestoreAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
    CsvReadInstances = new CsvSource(),
    Destination = new FeatureValueDestination(),
    EntityTypeSpecs =
    {
        new BatchReadFeatureValuesRequest.Types.EntityTypeSpec(),
    },
    PassThroughFields =
    {
        new BatchReadFeatureValuesRequest.Types.PassThroughField(),
    },
    StartTime = new Timestamp(),
};
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = await featurestoreServiceClient.BatchReadFeatureValuesAsync(request);

// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchReadFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

BatchReadFeatureValuesAsync(FeaturestoreName, CallSettings)

public virtual Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> BatchReadFeatureValuesAsync(FeaturestoreName featurestore, CallSettings callSettings = null)

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
featurestoreFeaturestoreName

Required. The resource name of the Featurestore from which to query Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationBatchReadFeatureValuesResponseBatchReadFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName featurestore = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = await featurestoreServiceClient.BatchReadFeatureValuesAsync(featurestore);

// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchReadFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

BatchReadFeatureValuesAsync(FeaturestoreName, CancellationToken)

public virtual Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> BatchReadFeatureValuesAsync(FeaturestoreName featurestore, CancellationToken cancellationToken)

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
featurestoreFeaturestoreName

Required. The resource name of the Featurestore from which to query Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationBatchReadFeatureValuesResponseBatchReadFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName featurestore = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = await featurestoreServiceClient.BatchReadFeatureValuesAsync(featurestore);

// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchReadFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

BatchReadFeatureValuesAsync(string, CallSettings)

public virtual Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> BatchReadFeatureValuesAsync(string featurestore, CallSettings callSettings = null)

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
featurestorestring

Required. The resource name of the Featurestore from which to query Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationBatchReadFeatureValuesResponseBatchReadFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string featurestore = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = await featurestoreServiceClient.BatchReadFeatureValuesAsync(featurestore);

// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchReadFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

BatchReadFeatureValuesAsync(string, CancellationToken)

public virtual Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> BatchReadFeatureValuesAsync(string featurestore, CancellationToken cancellationToken)

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
featurestorestring

Required. The resource name of the Featurestore from which to query Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationBatchReadFeatureValuesResponseBatchReadFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string featurestore = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = await featurestoreServiceClient.BatchReadFeatureValuesAsync(featurestore);

// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchReadFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

Create()

public static FeaturestoreServiceClient Create()

Synchronously creates a FeaturestoreServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use FeaturestoreServiceClientBuilder.

Returns
TypeDescription
FeaturestoreServiceClient

The created FeaturestoreServiceClient.

CreateAsync(CancellationToken)

public static Task<FeaturestoreServiceClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a FeaturestoreServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use FeaturestoreServiceClientBuilder.

Parameter
NameDescription
cancellationTokenCancellationToken

The CancellationToken to use while creating the client.

Returns
TypeDescription
TaskFeaturestoreServiceClient

The task representing the created FeaturestoreServiceClient.

CreateEntityType(CreateEntityTypeRequest, CallSettings)

public virtual Operation<EntityType, CreateEntityTypeOperationMetadata> CreateEntityType(CreateEntityTypeRequest request, CallSettings callSettings = null)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
requestCreateEntityTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEntityTypeCreateEntityTypeOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
CreateEntityTypeRequest request = new CreateEntityTypeRequest
{
    ParentAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
    EntityType = new EntityType(),
    EntityTypeId = "",
};
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = featurestoreServiceClient.CreateEntityType(request);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateEntityType(FeaturestoreName, EntityType, CallSettings)

public virtual Operation<EntityType, CreateEntityTypeOperationMetadata> CreateEntityType(FeaturestoreName parent, EntityType entityType, CallSettings callSettings = null)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
parentFeaturestoreName

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

entityTypeEntityType

The EntityType to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEntityTypeCreateEntityTypeOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
EntityType entityType = new EntityType();
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = featurestoreServiceClient.CreateEntityType(parent, entityType);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateEntityType(FeaturestoreName, EntityType, string, CallSettings)

public virtual Operation<EntityType, CreateEntityTypeOperationMetadata> CreateEntityType(FeaturestoreName parent, EntityType entityType, string entityTypeId, CallSettings callSettings = null)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
parentFeaturestoreName

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

entityTypeEntityType

The EntityType to create.

entityTypeIdstring

Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within a featurestore.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEntityTypeCreateEntityTypeOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
EntityType entityType = new EntityType();
string entityTypeId = "";
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = featurestoreServiceClient.CreateEntityType(parent, entityType, entityTypeId);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateEntityType(string, EntityType, CallSettings)

public virtual Operation<EntityType, CreateEntityTypeOperationMetadata> CreateEntityType(string parent, EntityType entityType, CallSettings callSettings = null)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
parentstring

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

entityTypeEntityType

The EntityType to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEntityTypeCreateEntityTypeOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
EntityType entityType = new EntityType();
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = featurestoreServiceClient.CreateEntityType(parent, entityType);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateEntityType(string, EntityType, string, CallSettings)

public virtual Operation<EntityType, CreateEntityTypeOperationMetadata> CreateEntityType(string parent, EntityType entityType, string entityTypeId, CallSettings callSettings = null)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
parentstring

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

entityTypeEntityType

The EntityType to create.

entityTypeIdstring

Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within a featurestore.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEntityTypeCreateEntityTypeOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
EntityType entityType = new EntityType();
string entityTypeId = "";
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = featurestoreServiceClient.CreateEntityType(parent, entityType, entityTypeId);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateEntityTypeAsync(CreateEntityTypeRequest, CallSettings)

public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(CreateEntityTypeRequest request, CallSettings callSettings = null)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
requestCreateEntityTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEntityTypeCreateEntityTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
CreateEntityTypeRequest request = new CreateEntityTypeRequest
{
    ParentAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
    EntityType = new EntityType(),
    EntityTypeId = "",
};
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(request);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateEntityTypeAsync(CreateEntityTypeRequest, CancellationToken)

public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(CreateEntityTypeRequest request, CancellationToken cancellationToken)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
requestCreateEntityTypeRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEntityTypeCreateEntityTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
CreateEntityTypeRequest request = new CreateEntityTypeRequest
{
    ParentAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
    EntityType = new EntityType(),
    EntityTypeId = "",
};
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(request);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateEntityTypeAsync(FeaturestoreName, EntityType, CallSettings)

public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(FeaturestoreName parent, EntityType entityType, CallSettings callSettings = null)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
parentFeaturestoreName

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

entityTypeEntityType

The EntityType to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEntityTypeCreateEntityTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
EntityType entityType = new EntityType();
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateEntityTypeAsync(FeaturestoreName, EntityType, string, CallSettings)

public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(FeaturestoreName parent, EntityType entityType, string entityTypeId, CallSettings callSettings = null)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
parentFeaturestoreName

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

entityTypeEntityType

The EntityType to create.

entityTypeIdstring

Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within a featurestore.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEntityTypeCreateEntityTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
EntityType entityType = new EntityType();
string entityTypeId = "";
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType, entityTypeId);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateEntityTypeAsync(FeaturestoreName, EntityType, string, CancellationToken)

public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(FeaturestoreName parent, EntityType entityType, string entityTypeId, CancellationToken cancellationToken)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
parentFeaturestoreName

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

entityTypeEntityType

The EntityType to create.

entityTypeIdstring

Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within a featurestore.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEntityTypeCreateEntityTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
EntityType entityType = new EntityType();
string entityTypeId = "";
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType, entityTypeId);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateEntityTypeAsync(FeaturestoreName, EntityType, CancellationToken)

public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(FeaturestoreName parent, EntityType entityType, CancellationToken cancellationToken)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
parentFeaturestoreName

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

entityTypeEntityType

The EntityType to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEntityTypeCreateEntityTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
EntityType entityType = new EntityType();
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateEntityTypeAsync(string, EntityType, CallSettings)

public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(string parent, EntityType entityType, CallSettings callSettings = null)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
parentstring

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

entityTypeEntityType

The EntityType to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEntityTypeCreateEntityTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
EntityType entityType = new EntityType();
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateEntityTypeAsync(string, EntityType, string, CallSettings)

public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(string parent, EntityType entityType, string entityTypeId, CallSettings callSettings = null)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
parentstring

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

entityTypeEntityType

The EntityType to create.

entityTypeIdstring

Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within a featurestore.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEntityTypeCreateEntityTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
EntityType entityType = new EntityType();
string entityTypeId = "";
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType, entityTypeId);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateEntityTypeAsync(string, EntityType, string, CancellationToken)

public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(string parent, EntityType entityType, string entityTypeId, CancellationToken cancellationToken)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
parentstring

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

entityTypeEntityType

The EntityType to create.

entityTypeIdstring

Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within a featurestore.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEntityTypeCreateEntityTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
EntityType entityType = new EntityType();
string entityTypeId = "";
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType, entityTypeId);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateEntityTypeAsync(string, EntityType, CancellationToken)

public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(string parent, EntityType entityType, CancellationToken cancellationToken)

Creates a new EntityType in a given Featurestore.

Parameters
NameDescription
parentstring

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

entityTypeEntityType

The EntityType to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEntityTypeCreateEntityTypeOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
EntityType entityType = new EntityType();
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType);

// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    EntityType retrievedResult = retrievedResponse.Result;
}

CreateFeature(CreateFeatureRequest, CallSettings)

public virtual Operation<Feature, CreateFeatureOperationMetadata> CreateFeature(CreateFeatureRequest request, CallSettings callSettings = null)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
requestCreateFeatureRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeatureCreateFeatureOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
CreateFeatureRequest request = new CreateFeatureRequest
{
    ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    Feature = new Feature(),
    FeatureId = "",
};
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = featurestoreServiceClient.CreateFeature(request);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeature(EntityTypeName, Feature, CallSettings)

public virtual Operation<Feature, CreateFeatureOperationMetadata> CreateFeature(EntityTypeName parent, Feature feature, CallSettings callSettings = null)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
parentEntityTypeName

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

featureFeature

Required. The Feature to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeatureCreateFeatureOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
Feature feature = new Feature();
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = featurestoreServiceClient.CreateFeature(parent, feature);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeature(EntityTypeName, Feature, string, CallSettings)

public virtual Operation<Feature, CreateFeatureOperationMetadata> CreateFeature(EntityTypeName parent, Feature feature, string featureId, CallSettings callSettings = null)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
parentEntityTypeName

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

featureFeature

Required. The Feature to create.

featureIdstring

Required. The ID to use for the Feature, which will become the final component of the Feature's resource name.

This value may be up to 128 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within an EntityType.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeatureCreateFeatureOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
Feature feature = new Feature();
string featureId = "";
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = featurestoreServiceClient.CreateFeature(parent, feature, featureId);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeature(string, Feature, CallSettings)

public virtual Operation<Feature, CreateFeatureOperationMetadata> CreateFeature(string parent, Feature feature, CallSettings callSettings = null)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
parentstring

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

featureFeature

Required. The Feature to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeatureCreateFeatureOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
Feature feature = new Feature();
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = featurestoreServiceClient.CreateFeature(parent, feature);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeature(string, Feature, string, CallSettings)

public virtual Operation<Feature, CreateFeatureOperationMetadata> CreateFeature(string parent, Feature feature, string featureId, CallSettings callSettings = null)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
parentstring

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

featureFeature

Required. The Feature to create.

featureIdstring

Required. The ID to use for the Feature, which will become the final component of the Feature's resource name.

This value may be up to 128 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within an EntityType.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeatureCreateFeatureOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
Feature feature = new Feature();
string featureId = "";
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = featurestoreServiceClient.CreateFeature(parent, feature, featureId);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeatureAsync(CreateFeatureRequest, CallSettings)

public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(CreateFeatureRequest request, CallSettings callSettings = null)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
requestCreateFeatureRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeatureCreateFeatureOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFeatureRequest request = new CreateFeatureRequest
{
    ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    Feature = new Feature(),
    FeatureId = "",
};
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(request);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeatureAsync(CreateFeatureRequest, CancellationToken)

public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(CreateFeatureRequest request, CancellationToken cancellationToken)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
requestCreateFeatureRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationFeatureCreateFeatureOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFeatureRequest request = new CreateFeatureRequest
{
    ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    Feature = new Feature(),
    FeatureId = "",
};
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(request);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeatureAsync(EntityTypeName, Feature, CallSettings)

public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(EntityTypeName parent, Feature feature, CallSettings callSettings = null)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
parentEntityTypeName

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

featureFeature

Required. The Feature to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeatureCreateFeatureOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
Feature feature = new Feature();
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeatureAsync(EntityTypeName, Feature, string, CallSettings)

public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(EntityTypeName parent, Feature feature, string featureId, CallSettings callSettings = null)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
parentEntityTypeName

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

featureFeature

Required. The Feature to create.

featureIdstring

Required. The ID to use for the Feature, which will become the final component of the Feature's resource name.

This value may be up to 128 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within an EntityType.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeatureCreateFeatureOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
Feature feature = new Feature();
string featureId = "";
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature, featureId);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeatureAsync(EntityTypeName, Feature, string, CancellationToken)

public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(EntityTypeName parent, Feature feature, string featureId, CancellationToken cancellationToken)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
parentEntityTypeName

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

featureFeature

Required. The Feature to create.

featureIdstring

Required. The ID to use for the Feature, which will become the final component of the Feature's resource name.

This value may be up to 128 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within an EntityType.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationFeatureCreateFeatureOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
Feature feature = new Feature();
string featureId = "";
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature, featureId);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeatureAsync(EntityTypeName, Feature, CancellationToken)

public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(EntityTypeName parent, Feature feature, CancellationToken cancellationToken)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
parentEntityTypeName

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

featureFeature

Required. The Feature to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationFeatureCreateFeatureOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
Feature feature = new Feature();
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeatureAsync(string, Feature, CallSettings)

public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(string parent, Feature feature, CallSettings callSettings = null)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
parentstring

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

featureFeature

Required. The Feature to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeatureCreateFeatureOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
Feature feature = new Feature();
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeatureAsync(string, Feature, string, CallSettings)

public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(string parent, Feature feature, string featureId, CallSettings callSettings = null)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
parentstring

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

featureFeature

Required. The Feature to create.

featureIdstring

Required. The ID to use for the Feature, which will become the final component of the Feature's resource name.

This value may be up to 128 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within an EntityType.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeatureCreateFeatureOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
Feature feature = new Feature();
string featureId = "";
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature, featureId);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeatureAsync(string, Feature, string, CancellationToken)

public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(string parent, Feature feature, string featureId, CancellationToken cancellationToken)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
parentstring

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

featureFeature

Required. The Feature to create.

featureIdstring

Required. The ID to use for the Feature, which will become the final component of the Feature's resource name.

This value may be up to 128 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within an EntityType.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationFeatureCreateFeatureOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
Feature feature = new Feature();
string featureId = "";
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature, featureId);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeatureAsync(string, Feature, CancellationToken)

public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(string parent, Feature feature, CancellationToken cancellationToken)

Creates a new Feature in a given EntityType.

Parameters
NameDescription
parentstring

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

featureFeature

Required. The Feature to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationFeatureCreateFeatureOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
Feature feature = new Feature();
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature);

// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Feature retrievedResult = retrievedResponse.Result;
}

CreateFeaturestore(LocationName, Featurestore, CallSettings)

public virtual Operation<Featurestore, CreateFeaturestoreOperationMetadata> CreateFeaturestore(LocationName parent, Featurestore featurestore, CallSettings callSettings = null)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create Featurestores. Format: projects/{project}/locations/{location}&apos;

featurestoreFeaturestore

Required. The Featurestore to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeaturestoreCreateFeaturestoreOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Featurestore featurestore = new Featurestore();
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = featurestoreServiceClient.CreateFeaturestore(parent, featurestore);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

CreateFeaturestore(LocationName, Featurestore, string, CallSettings)

public virtual Operation<Featurestore, CreateFeaturestoreOperationMetadata> CreateFeaturestore(LocationName parent, Featurestore featurestore, string featurestoreId, CallSettings callSettings = null)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create Featurestores. Format: projects/{project}/locations/{location}&apos;

featurestoreFeaturestore

Required. The Featurestore to create.

featurestoreIdstring

Required. The ID to use for this Featurestore, which will become the final component of the Featurestore's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within the project and location.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeaturestoreCreateFeaturestoreOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Featurestore featurestore = new Featurestore();
string featurestoreId = "";
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = featurestoreServiceClient.CreateFeaturestore(parent, featurestore, featurestoreId);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

CreateFeaturestore(CreateFeaturestoreRequest, CallSettings)

public virtual Operation<Featurestore, CreateFeaturestoreOperationMetadata> CreateFeaturestore(CreateFeaturestoreRequest request, CallSettings callSettings = null)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
requestCreateFeaturestoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeaturestoreCreateFeaturestoreOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
CreateFeaturestoreRequest request = new CreateFeaturestoreRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Featurestore = new Featurestore(),
    FeaturestoreId = "",
};
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = featurestoreServiceClient.CreateFeaturestore(request);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

CreateFeaturestore(string, Featurestore, CallSettings)

public virtual Operation<Featurestore, CreateFeaturestoreOperationMetadata> CreateFeaturestore(string parent, Featurestore featurestore, CallSettings callSettings = null)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
parentstring

Required. The resource name of the Location to create Featurestores. Format: projects/{project}/locations/{location}&apos;

featurestoreFeaturestore

Required. The Featurestore to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeaturestoreCreateFeaturestoreOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Featurestore featurestore = new Featurestore();
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = featurestoreServiceClient.CreateFeaturestore(parent, featurestore);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

CreateFeaturestore(string, Featurestore, string, CallSettings)

public virtual Operation<Featurestore, CreateFeaturestoreOperationMetadata> CreateFeaturestore(string parent, Featurestore featurestore, string featurestoreId, CallSettings callSettings = null)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
parentstring

Required. The resource name of the Location to create Featurestores. Format: projects/{project}/locations/{location}&apos;

featurestoreFeaturestore

Required. The Featurestore to create.

featurestoreIdstring

Required. The ID to use for this Featurestore, which will become the final component of the Featurestore's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within the project and location.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeaturestoreCreateFeaturestoreOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Featurestore featurestore = new Featurestore();
string featurestoreId = "";
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = featurestoreServiceClient.CreateFeaturestore(parent, featurestore, featurestoreId);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

CreateFeaturestoreAsync(LocationName, Featurestore, CallSettings)

public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(LocationName parent, Featurestore featurestore, CallSettings callSettings = null)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create Featurestores. Format: projects/{project}/locations/{location}&apos;

featurestoreFeaturestore

Required. The Featurestore to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeaturestoreCreateFeaturestoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Featurestore featurestore = new Featurestore();
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

CreateFeaturestoreAsync(LocationName, Featurestore, string, CallSettings)

public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(LocationName parent, Featurestore featurestore, string featurestoreId, CallSettings callSettings = null)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create Featurestores. Format: projects/{project}/locations/{location}&apos;

featurestoreFeaturestore

Required. The Featurestore to create.

featurestoreIdstring

Required. The ID to use for this Featurestore, which will become the final component of the Featurestore's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within the project and location.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeaturestoreCreateFeaturestoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Featurestore featurestore = new Featurestore();
string featurestoreId = "";
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore, featurestoreId);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

CreateFeaturestoreAsync(LocationName, Featurestore, string, CancellationToken)

public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(LocationName parent, Featurestore featurestore, string featurestoreId, CancellationToken cancellationToken)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create Featurestores. Format: projects/{project}/locations/{location}&apos;

featurestoreFeaturestore

Required. The Featurestore to create.

featurestoreIdstring

Required. The ID to use for this Featurestore, which will become the final component of the Featurestore's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within the project and location.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationFeaturestoreCreateFeaturestoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Featurestore featurestore = new Featurestore();
string featurestoreId = "";
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore, featurestoreId);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

CreateFeaturestoreAsync(LocationName, Featurestore, CancellationToken)

public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(LocationName parent, Featurestore featurestore, CancellationToken cancellationToken)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create Featurestores. Format: projects/{project}/locations/{location}&apos;

featurestoreFeaturestore

Required. The Featurestore to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationFeaturestoreCreateFeaturestoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Featurestore featurestore = new Featurestore();
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

CreateFeaturestoreAsync(CreateFeaturestoreRequest, CallSettings)

public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(CreateFeaturestoreRequest request, CallSettings callSettings = null)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
requestCreateFeaturestoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeaturestoreCreateFeaturestoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFeaturestoreRequest request = new CreateFeaturestoreRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Featurestore = new Featurestore(),
    FeaturestoreId = "",
};
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(request);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

CreateFeaturestoreAsync(CreateFeaturestoreRequest, CancellationToken)

public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(CreateFeaturestoreRequest request, CancellationToken cancellationToken)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
requestCreateFeaturestoreRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationFeaturestoreCreateFeaturestoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFeaturestoreRequest request = new CreateFeaturestoreRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Featurestore = new Featurestore(),
    FeaturestoreId = "",
};
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(request);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

CreateFeaturestoreAsync(string, Featurestore, CallSettings)

public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(string parent, Featurestore featurestore, CallSettings callSettings = null)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
parentstring

Required. The resource name of the Location to create Featurestores. Format: projects/{project}/locations/{location}&apos;

featurestoreFeaturestore

Required. The Featurestore to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeaturestoreCreateFeaturestoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Featurestore featurestore = new Featurestore();
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

CreateFeaturestoreAsync(string, Featurestore, string, CallSettings)

public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(string parent, Featurestore featurestore, string featurestoreId, CallSettings callSettings = null)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
parentstring

Required. The resource name of the Location to create Featurestores. Format: projects/{project}/locations/{location}&apos;

featurestoreFeaturestore

Required. The Featurestore to create.

featurestoreIdstring

Required. The ID to use for this Featurestore, which will become the final component of the Featurestore's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within the project and location.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeaturestoreCreateFeaturestoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Featurestore featurestore = new Featurestore();
string featurestoreId = "";
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore, featurestoreId);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

CreateFeaturestoreAsync(string, Featurestore, string, CancellationToken)

public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(string parent, Featurestore featurestore, string featurestoreId, CancellationToken cancellationToken)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
parentstring

Required. The resource name of the Location to create Featurestores. Format: projects/{project}/locations/{location}&apos;

featurestoreFeaturestore

Required. The Featurestore to create.

featurestoreIdstring

Required. The ID to use for this Featurestore, which will become the final component of the Featurestore's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within the project and location.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationFeaturestoreCreateFeaturestoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Featurestore featurestore = new Featurestore();
string featurestoreId = "";
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore, featurestoreId);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

CreateFeaturestoreAsync(string, Featurestore, CancellationToken)

public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(string parent, Featurestore featurestore, CancellationToken cancellationToken)

Creates a new Featurestore in a given project and location.

Parameters
NameDescription
parentstring

Required. The resource name of the Location to create Featurestores. Format: projects/{project}/locations/{location}&apos;

featurestoreFeaturestore

Required. The Featurestore to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationFeaturestoreCreateFeaturestoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Featurestore featurestore = new Featurestore();
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore);

// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

DeleteEntityType(DeleteEntityTypeRequest, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteEntityType(DeleteEntityTypeRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
DeleteEntityTypeRequest request = new DeleteEntityTypeRequest
{
    EntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteEntityType(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteEntityType(EntityTypeName, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteEntityType(EntityTypeName name, CallSettings callSettings = null)

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
nameEntityTypeName

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteEntityType(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteEntityType(EntityTypeName, bool, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteEntityType(EntityTypeName name, bool force, CallSettings callSettings = null)

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
nameEntityTypeName

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

forcebool

If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.)

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteEntityType(name, force);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteEntityType(string, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteEntityType(string name, CallSettings callSettings = null)

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
namestring

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteEntityType(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteEntityType(string, bool, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteEntityType(string name, bool force, CallSettings callSettings = null)

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
namestring

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

forcebool

If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.)

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteEntityType(name, force);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteEntityTypeAsync(DeleteEntityTypeRequest, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(DeleteEntityTypeRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteEntityTypeRequest request = new DeleteEntityTypeRequest
{
    EntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteEntityTypeAsync(DeleteEntityTypeRequest, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(DeleteEntityTypeRequest request, CancellationToken cancellationToken)

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 object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteEntityTypeRequest request = new DeleteEntityTypeRequest
{
    EntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteEntityTypeAsync(EntityTypeName, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(EntityTypeName name, CallSettings callSettings = null)

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
nameEntityTypeName

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteEntityTypeAsync(EntityTypeName, bool, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(EntityTypeName name, bool force, CallSettings callSettings = null)

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
nameEntityTypeName

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

forcebool

If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.)

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name, force);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteEntityTypeAsync(EntityTypeName, bool, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(EntityTypeName name, bool force, CancellationToken cancellationToken)

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
nameEntityTypeName

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

forcebool

If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.)

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name, force);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteEntityTypeAsync(EntityTypeName, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(EntityTypeName name, CancellationToken cancellationToken)

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
nameEntityTypeName

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteEntityTypeAsync(string, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(string name, CallSettings callSettings = null)

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
namestring

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteEntityTypeAsync(string, bool, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(string name, bool force, CallSettings callSettings = null)

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
namestring

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

forcebool

If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.)

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name, force);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteEntityTypeAsync(string, bool, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(string name, bool force, CancellationToken cancellationToken)

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
namestring

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

forcebool

If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.)

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name, force);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteEntityTypeAsync(string, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(string name, CancellationToken cancellationToken)

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
namestring

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeature(DeleteFeatureRequest, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeature(DeleteFeatureRequest request, CallSettings callSettings = null)

Deletes a single Feature.

Parameters
NameDescription
requestDeleteFeatureRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
DeleteFeatureRequest request = new DeleteFeatureRequest
{
    FeatureName = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeature(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeature(FeatureName, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeature(FeatureName name, CallSettings callSettings = null)

Deletes a single Feature.

Parameters
NameDescription
nameFeatureName

Required. The name of the Features to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeatureName name = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeature(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeature(string, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeature(string name, CallSettings callSettings = null)

Deletes a single Feature.

Parameters
NameDescription
namestring

Required. The name of the Features to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]/features/[FEATURE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeature(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeatureAsync(DeleteFeatureRequest, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureAsync(DeleteFeatureRequest request, CallSettings callSettings = null)

Deletes a single Feature.

Parameters
NameDescription
requestDeleteFeatureRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFeatureRequest request = new DeleteFeatureRequest
{
    FeatureName = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeatureAsync(DeleteFeatureRequest, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureAsync(DeleteFeatureRequest request, CancellationToken cancellationToken)

Deletes a single Feature.

Parameters
NameDescription
requestDeleteFeatureRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFeatureRequest request = new DeleteFeatureRequest
{
    FeatureName = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeatureAsync(FeatureName, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureAsync(FeatureName name, CallSettings callSettings = null)

Deletes a single Feature.

Parameters
NameDescription
nameFeatureName

Required. The name of the Features to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureName name = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeatureAsync(FeatureName, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureAsync(FeatureName name, CancellationToken cancellationToken)

Deletes a single Feature.

Parameters
NameDescription
nameFeatureName

Required. The name of the Features to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureName name = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeatureAsync(string, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureAsync(string name, CallSettings callSettings = null)

Deletes a single Feature.

Parameters
NameDescription
namestring

Required. The name of the Features to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]/features/[FEATURE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeatureAsync(string, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureAsync(string name, CancellationToken cancellationToken)

Deletes a single Feature.

Parameters
NameDescription
namestring

Required. The name of the Features to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]/features/[FEATURE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestore(DeleteFeaturestoreRequest, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeaturestore(DeleteFeaturestoreRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
DeleteFeaturestoreRequest request = new DeleteFeaturestoreRequest
{
    FeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
    Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeaturestore(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestore(FeaturestoreName, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeaturestore(FeaturestoreName name, CallSettings callSettings = null)

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
nameFeaturestoreName

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeaturestore(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestore(FeaturestoreName, bool, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeaturestore(FeaturestoreName name, bool force, CallSettings callSettings = null)

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
nameFeaturestoreName

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

forcebool

If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.)

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeaturestore(name, force);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestore(string, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeaturestore(string name, CallSettings callSettings = null)

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
namestring

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeaturestore(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestore(string, bool, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeaturestore(string name, bool force, CallSettings callSettings = null)

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
namestring

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

forcebool

If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.)

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeaturestore(name, force);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestoreAsync(DeleteFeaturestoreRequest, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(DeleteFeaturestoreRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFeaturestoreRequest request = new DeleteFeaturestoreRequest
{
    FeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
    Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestoreAsync(DeleteFeaturestoreRequest, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(DeleteFeaturestoreRequest request, CancellationToken cancellationToken)

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 object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFeaturestoreRequest request = new DeleteFeaturestoreRequest
{
    FeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
    Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestoreAsync(FeaturestoreName, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(FeaturestoreName name, CallSettings callSettings = null)

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
nameFeaturestoreName

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestoreAsync(FeaturestoreName, bool, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(FeaturestoreName name, bool force, CallSettings callSettings = null)

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
nameFeaturestoreName

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

forcebool

If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.)

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name, force);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestoreAsync(FeaturestoreName, bool, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(FeaturestoreName name, bool force, CancellationToken cancellationToken)

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
nameFeaturestoreName

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

forcebool

If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.)

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name, force);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestoreAsync(FeaturestoreName, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(FeaturestoreName name, CancellationToken cancellationToken)

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
nameFeaturestoreName

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestoreAsync(string, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(string name, CallSettings callSettings = null)

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
namestring

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestoreAsync(string, bool, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(string name, bool force, CallSettings callSettings = null)

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
namestring

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

forcebool

If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.)

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name, force);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestoreAsync(string, bool, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(string name, bool force, CancellationToken cancellationToken)

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
namestring

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

forcebool

If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.)

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name, force);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeaturestoreAsync(string, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(string name, CancellationToken cancellationToken)

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
namestring

Required. The name of the Featurestore to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteFeatureValues(DeleteFeatureValuesRequest, CallSettings)

public virtual Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> DeleteFeatureValues(DeleteFeatureValuesRequest request, CallSettings callSettings = null)

Delete Feature values from Featurestore.

The progress of the deletion is tracked by the returned operation. The deleted feature values are guaranteed to be invisible to subsequent read operations after the operation is marked as successfully done.

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

Parameters
NameDescription
requestDeleteFeatureValuesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDeleteFeatureValuesResponseDeleteFeatureValuesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
DeleteFeatureValuesRequest request = new DeleteFeatureValuesRequest
{
    EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    SelectEntity = new DeleteFeatureValuesRequest.Types.SelectEntity(),
};
// Make the request
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> response = featurestoreServiceClient.DeleteFeatureValues(request);

// Poll until the returned long-running operation is complete
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeleteFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeleteFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

DeleteFeatureValues(EntityTypeName, CallSettings)

public virtual Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> DeleteFeatureValues(EntityTypeName entityType, CallSettings callSettings = null)

Delete Feature values from Featurestore.

The progress of the deletion is tracked by the returned operation. The deleted feature values are guaranteed to be invisible to subsequent read operations after the operation is marked as successfully done.

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

Parameters
NameDescription
entityTypeEntityTypeName

Required. The resource name of the EntityType grouping the Features for which values are being deleted from. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDeleteFeatureValuesResponseDeleteFeatureValuesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> response = featurestoreServiceClient.DeleteFeatureValues(entityType);

// Poll until the returned long-running operation is complete
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeleteFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeleteFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

DeleteFeatureValues(string, CallSettings)

public virtual Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> DeleteFeatureValues(string entityType, CallSettings callSettings = null)

Delete Feature values from Featurestore.

The progress of the deletion is tracked by the returned operation. The deleted feature values are guaranteed to be invisible to subsequent read operations after the operation is marked as successfully done.

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

Parameters
NameDescription
entityTypestring

Required. The resource name of the EntityType grouping the Features for which values are being deleted from. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDeleteFeatureValuesResponseDeleteFeatureValuesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> response = featurestoreServiceClient.DeleteFeatureValues(entityType);

// Poll until the returned long-running operation is complete
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeleteFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeleteFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

DeleteFeatureValuesAsync(DeleteFeatureValuesRequest, CallSettings)

public virtual Task<Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata>> DeleteFeatureValuesAsync(DeleteFeatureValuesRequest request, CallSettings callSettings = null)

Delete Feature values from Featurestore.

The progress of the deletion is tracked by the returned operation. The deleted feature values are guaranteed to be invisible to subsequent read operations after the operation is marked as successfully done.

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

Parameters
NameDescription
requestDeleteFeatureValuesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDeleteFeatureValuesResponseDeleteFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFeatureValuesRequest request = new DeleteFeatureValuesRequest
{
    EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    SelectEntity = new DeleteFeatureValuesRequest.Types.SelectEntity(),
};
// Make the request
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureValuesAsync(request);

// Poll until the returned long-running operation is complete
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeleteFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeleteFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

DeleteFeatureValuesAsync(DeleteFeatureValuesRequest, CancellationToken)

public virtual Task<Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata>> DeleteFeatureValuesAsync(DeleteFeatureValuesRequest request, CancellationToken cancellationToken)

Delete Feature values from Featurestore.

The progress of the deletion is tracked by the returned operation. The deleted feature values are guaranteed to be invisible to subsequent read operations after the operation is marked as successfully done.

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

Parameters
NameDescription
requestDeleteFeatureValuesRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationDeleteFeatureValuesResponseDeleteFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFeatureValuesRequest request = new DeleteFeatureValuesRequest
{
    EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    SelectEntity = new DeleteFeatureValuesRequest.Types.SelectEntity(),
};
// Make the request
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureValuesAsync(request);

// Poll until the returned long-running operation is complete
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeleteFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeleteFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

DeleteFeatureValuesAsync(EntityTypeName, CallSettings)

public virtual Task<Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata>> DeleteFeatureValuesAsync(EntityTypeName entityType, CallSettings callSettings = null)

Delete Feature values from Featurestore.

The progress of the deletion is tracked by the returned operation. The deleted feature values are guaranteed to be invisible to subsequent read operations after the operation is marked as successfully done.

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

Parameters
NameDescription
entityTypeEntityTypeName

Required. The resource name of the EntityType grouping the Features for which values are being deleted from. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDeleteFeatureValuesResponseDeleteFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureValuesAsync(entityType);

// Poll until the returned long-running operation is complete
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeleteFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeleteFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

DeleteFeatureValuesAsync(EntityTypeName, CancellationToken)

public virtual Task<Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata>> DeleteFeatureValuesAsync(EntityTypeName entityType, CancellationToken cancellationToken)

Delete Feature values from Featurestore.

The progress of the deletion is tracked by the returned operation. The deleted feature values are guaranteed to be invisible to subsequent read operations after the operation is marked as successfully done.

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

Parameters
NameDescription
entityTypeEntityTypeName

Required. The resource name of the EntityType grouping the Features for which values are being deleted from. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationDeleteFeatureValuesResponseDeleteFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureValuesAsync(entityType);

// Poll until the returned long-running operation is complete
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeleteFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeleteFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

DeleteFeatureValuesAsync(string, CallSettings)

public virtual Task<Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata>> DeleteFeatureValuesAsync(string entityType, CallSettings callSettings = null)

Delete Feature values from Featurestore.

The progress of the deletion is tracked by the returned operation. The deleted feature values are guaranteed to be invisible to subsequent read operations after the operation is marked as successfully done.

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

Parameters
NameDescription
entityTypestring

Required. The resource name of the EntityType grouping the Features for which values are being deleted from. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDeleteFeatureValuesResponseDeleteFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureValuesAsync(entityType);

// Poll until the returned long-running operation is complete
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeleteFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeleteFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

DeleteFeatureValuesAsync(string, CancellationToken)

public virtual Task<Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata>> DeleteFeatureValuesAsync(string entityType, CancellationToken cancellationToken)

Delete Feature values from Featurestore.

The progress of the deletion is tracked by the returned operation. The deleted feature values are guaranteed to be invisible to subsequent read operations after the operation is marked as successfully done.

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

Parameters
NameDescription
entityTypestring

Required. The resource name of the EntityType grouping the Features for which values are being deleted from. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationDeleteFeatureValuesResponseDeleteFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureValuesAsync(entityType);

// Poll until the returned long-running operation is complete
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeleteFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    DeleteFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ExportFeatureValues(EntityTypeName, CallSettings)

public virtual Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> ExportFeatureValues(EntityTypeName entityType, CallSettings callSettings = null)

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

Parameters
NameDescription
entityTypeEntityTypeName

Required. The resource name of the EntityType from which to export Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationExportFeatureValuesResponseExportFeatureValuesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = featurestoreServiceClient.ExportFeatureValues(entityType);

// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceExportFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ExportFeatureValues(ExportFeatureValuesRequest, CallSettings)

public virtual Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> ExportFeatureValues(ExportFeatureValuesRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestExportFeatureValuesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationExportFeatureValuesResponseExportFeatureValuesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
ExportFeatureValuesRequest request = new ExportFeatureValuesRequest
{
    EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    SnapshotExport = new ExportFeatureValuesRequest.Types.SnapshotExport(),
    Destination = new FeatureValueDestination(),
    FeatureSelector = new FeatureSelector(),
    Settings =
    {
        new DestinationFeatureSetting(),
    },
};
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = featurestoreServiceClient.ExportFeatureValues(request);

// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceExportFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ExportFeatureValues(string, CallSettings)

public virtual Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> ExportFeatureValues(string entityType, CallSettings callSettings = null)

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

Parameters
NameDescription
entityTypestring

Required. The resource name of the EntityType from which to export Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationExportFeatureValuesResponseExportFeatureValuesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = featurestoreServiceClient.ExportFeatureValues(entityType);

// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceExportFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ExportFeatureValuesAsync(EntityTypeName, CallSettings)

public virtual Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> ExportFeatureValuesAsync(EntityTypeName entityType, CallSettings callSettings = null)

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

Parameters
NameDescription
entityTypeEntityTypeName

Required. The resource name of the EntityType from which to export Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationExportFeatureValuesResponseExportFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ExportFeatureValuesAsync(entityType);

// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceExportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ExportFeatureValuesAsync(EntityTypeName, CancellationToken)

public virtual Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> ExportFeatureValuesAsync(EntityTypeName entityType, CancellationToken cancellationToken)

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

Parameters
NameDescription
entityTypeEntityTypeName

Required. The resource name of the EntityType from which to export Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationExportFeatureValuesResponseExportFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ExportFeatureValuesAsync(entityType);

// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceExportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ExportFeatureValuesAsync(ExportFeatureValuesRequest, CallSettings)

public virtual Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> ExportFeatureValuesAsync(ExportFeatureValuesRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestExportFeatureValuesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationExportFeatureValuesResponseExportFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
ExportFeatureValuesRequest request = new ExportFeatureValuesRequest
{
    EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    SnapshotExport = new ExportFeatureValuesRequest.Types.SnapshotExport(),
    Destination = new FeatureValueDestination(),
    FeatureSelector = new FeatureSelector(),
    Settings =
    {
        new DestinationFeatureSetting(),
    },
};
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ExportFeatureValuesAsync(request);

// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceExportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ExportFeatureValuesAsync(ExportFeatureValuesRequest, CancellationToken)

public virtual Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> ExportFeatureValuesAsync(ExportFeatureValuesRequest request, CancellationToken cancellationToken)

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

Parameters
NameDescription
requestExportFeatureValuesRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationExportFeatureValuesResponseExportFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
ExportFeatureValuesRequest request = new ExportFeatureValuesRequest
{
    EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    SnapshotExport = new ExportFeatureValuesRequest.Types.SnapshotExport(),
    Destination = new FeatureValueDestination(),
    FeatureSelector = new FeatureSelector(),
    Settings =
    {
        new DestinationFeatureSetting(),
    },
};
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ExportFeatureValuesAsync(request);

// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceExportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ExportFeatureValuesAsync(string, CallSettings)

public virtual Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> ExportFeatureValuesAsync(string entityType, CallSettings callSettings = null)

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

Parameters
NameDescription
entityTypestring

Required. The resource name of the EntityType from which to export Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationExportFeatureValuesResponseExportFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ExportFeatureValuesAsync(entityType);

// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceExportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ExportFeatureValuesAsync(string, CancellationToken)

public virtual Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> ExportFeatureValuesAsync(string entityType, CancellationToken cancellationToken)

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

Parameters
NameDescription
entityTypestring

Required. The resource name of the EntityType from which to export Feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationExportFeatureValuesResponseExportFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ExportFeatureValuesAsync(entityType);

// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceExportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

GetEntityType(EntityTypeName, CallSettings)

public virtual EntityType GetEntityType(EntityTypeName name, CallSettings callSettings = null)

Gets details of a single EntityType.

Parameters
NameDescription
nameEntityTypeName

Required. The name of the EntityType resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
EntityType

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
EntityType response = featurestoreServiceClient.GetEntityType(name);

GetEntityType(GetEntityTypeRequest, CallSettings)

public virtual EntityType GetEntityType(GetEntityTypeRequest request, CallSettings callSettings = null)

Gets details of a single EntityType.

Parameters
NameDescription
requestGetEntityTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
EntityType

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
GetEntityTypeRequest request = new GetEntityTypeRequest
{
    EntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
};
// Make the request
EntityType response = featurestoreServiceClient.GetEntityType(request);

GetEntityType(string, CallSettings)

public virtual EntityType GetEntityType(string name, CallSettings callSettings = null)

Gets details of a single EntityType.

Parameters
NameDescription
namestring

Required. The name of the EntityType resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
EntityType

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
EntityType response = featurestoreServiceClient.GetEntityType(name);

GetEntityTypeAsync(EntityTypeName, CallSettings)

public virtual Task<EntityType> GetEntityTypeAsync(EntityTypeName name, CallSettings callSettings = null)

Gets details of a single EntityType.

Parameters
NameDescription
nameEntityTypeName

Required. The name of the EntityType resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskEntityType

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
EntityType response = await featurestoreServiceClient.GetEntityTypeAsync(name);

GetEntityTypeAsync(EntityTypeName, CancellationToken)

public virtual Task<EntityType> GetEntityTypeAsync(EntityTypeName name, CancellationToken cancellationToken)

Gets details of a single EntityType.

Parameters
NameDescription
nameEntityTypeName

Required. The name of the EntityType resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskEntityType

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
EntityType response = await featurestoreServiceClient.GetEntityTypeAsync(name);

GetEntityTypeAsync(GetEntityTypeRequest, CallSettings)

public virtual Task<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, CallSettings callSettings = null)

Gets details of a single EntityType.

Parameters
NameDescription
requestGetEntityTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskEntityType

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
GetEntityTypeRequest request = new GetEntityTypeRequest
{
    EntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
};
// Make the request
EntityType response = await featurestoreServiceClient.GetEntityTypeAsync(request);

GetEntityTypeAsync(GetEntityTypeRequest, CancellationToken)

public virtual Task<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, CancellationToken cancellationToken)

Gets details of a single EntityType.

Parameters
NameDescription
requestGetEntityTypeRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskEntityType

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
GetEntityTypeRequest request = new GetEntityTypeRequest
{
    EntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
};
// Make the request
EntityType response = await featurestoreServiceClient.GetEntityTypeAsync(request);

GetEntityTypeAsync(string, CallSettings)

public virtual Task<EntityType> GetEntityTypeAsync(string name, CallSettings callSettings = null)

Gets details of a single EntityType.

Parameters
NameDescription
namestring

Required. The name of the EntityType resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskEntityType

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
EntityType response = await featurestoreServiceClient.GetEntityTypeAsync(name);

GetEntityTypeAsync(string, CancellationToken)

public virtual Task<EntityType> GetEntityTypeAsync(string name, CancellationToken cancellationToken)

Gets details of a single EntityType.

Parameters
NameDescription
namestring

Required. The name of the EntityType resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskEntityType

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
EntityType response = await featurestoreServiceClient.GetEntityTypeAsync(name);

GetFeature(FeatureName, CallSettings)

public virtual Feature GetFeature(FeatureName name, CallSettings callSettings = null)

Gets details of a single Feature.

Parameters
NameDescription
nameFeatureName

Required. The name of the Feature resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Feature

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeatureName name = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
// Make the request
Feature response = featurestoreServiceClient.GetFeature(name);

GetFeature(GetFeatureRequest, CallSettings)

public virtual Feature GetFeature(GetFeatureRequest request, CallSettings callSettings = null)

Gets details of a single Feature.

Parameters
NameDescription
requestGetFeatureRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Feature

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
GetFeatureRequest request = new GetFeatureRequest
{
    FeatureName = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]"),
};
// Make the request
Feature response = featurestoreServiceClient.GetFeature(request);

GetFeature(string, CallSettings)

public virtual Feature GetFeature(string name, CallSettings callSettings = null)

Gets details of a single Feature.

Parameters
NameDescription
namestring

Required. The name of the Feature resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Feature

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]/features/[FEATURE]";
// Make the request
Feature response = featurestoreServiceClient.GetFeature(name);

GetFeatureAsync(FeatureName, CallSettings)

public virtual Task<Feature> GetFeatureAsync(FeatureName name, CallSettings callSettings = null)

Gets details of a single Feature.

Parameters
NameDescription
nameFeatureName

Required. The name of the Feature resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskFeature

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureName name = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
// Make the request
Feature response = await featurestoreServiceClient.GetFeatureAsync(name);

GetFeatureAsync(FeatureName, CancellationToken)

public virtual Task<Feature> GetFeatureAsync(FeatureName name, CancellationToken cancellationToken)

Gets details of a single Feature.

Parameters
NameDescription
nameFeatureName

Required. The name of the Feature resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskFeature

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureName name = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
// Make the request
Feature response = await featurestoreServiceClient.GetFeatureAsync(name);

GetFeatureAsync(GetFeatureRequest, CallSettings)

public virtual Task<Feature> GetFeatureAsync(GetFeatureRequest request, CallSettings callSettings = null)

Gets details of a single Feature.

Parameters
NameDescription
requestGetFeatureRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskFeature

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
GetFeatureRequest request = new GetFeatureRequest
{
    FeatureName = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]"),
};
// Make the request
Feature response = await featurestoreServiceClient.GetFeatureAsync(request);

GetFeatureAsync(GetFeatureRequest, CancellationToken)

public virtual Task<Feature> GetFeatureAsync(GetFeatureRequest request, CancellationToken cancellationToken)

Gets details of a single Feature.

Parameters
NameDescription
requestGetFeatureRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskFeature

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
GetFeatureRequest request = new GetFeatureRequest
{
    FeatureName = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]"),
};
// Make the request
Feature response = await featurestoreServiceClient.GetFeatureAsync(request);

GetFeatureAsync(string, CallSettings)

public virtual Task<Feature> GetFeatureAsync(string name, CallSettings callSettings = null)

Gets details of a single Feature.

Parameters
NameDescription
namestring

Required. The name of the Feature resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskFeature

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]/features/[FEATURE]";
// Make the request
Feature response = await featurestoreServiceClient.GetFeatureAsync(name);

GetFeatureAsync(string, CancellationToken)

public virtual Task<Feature> GetFeatureAsync(string name, CancellationToken cancellationToken)

Gets details of a single Feature.

Parameters
NameDescription
namestring

Required. The name of the Feature resource. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskFeature

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]/features/[FEATURE]";
// Make the request
Feature response = await featurestoreServiceClient.GetFeatureAsync(name);

GetFeaturestore(FeaturestoreName, CallSettings)

public virtual Featurestore GetFeaturestore(FeaturestoreName name, CallSettings callSettings = null)

Gets details of a single Featurestore.

Parameters
NameDescription
nameFeaturestoreName

Required. The name of the Featurestore resource.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Featurestore

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Featurestore response = featurestoreServiceClient.GetFeaturestore(name);

GetFeaturestore(GetFeaturestoreRequest, CallSettings)

public virtual Featurestore GetFeaturestore(GetFeaturestoreRequest request, CallSettings callSettings = null)

Gets details of a single Featurestore.

Parameters
NameDescription
requestGetFeaturestoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Featurestore

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
GetFeaturestoreRequest request = new GetFeaturestoreRequest
{
    FeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
};
// Make the request
Featurestore response = featurestoreServiceClient.GetFeaturestore(request);

GetFeaturestore(string, CallSettings)

public virtual Featurestore GetFeaturestore(string name, CallSettings callSettings = null)

Gets details of a single Featurestore.

Parameters
NameDescription
namestring

Required. The name of the Featurestore resource.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Featurestore

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Featurestore response = featurestoreServiceClient.GetFeaturestore(name);

GetFeaturestoreAsync(FeaturestoreName, CallSettings)

public virtual Task<Featurestore> GetFeaturestoreAsync(FeaturestoreName name, CallSettings callSettings = null)

Gets details of a single Featurestore.

Parameters
NameDescription
nameFeaturestoreName

Required. The name of the Featurestore resource.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskFeaturestore

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Featurestore response = await featurestoreServiceClient.GetFeaturestoreAsync(name);

GetFeaturestoreAsync(FeaturestoreName, CancellationToken)

public virtual Task<Featurestore> GetFeaturestoreAsync(FeaturestoreName name, CancellationToken cancellationToken)

Gets details of a single Featurestore.

Parameters
NameDescription
nameFeaturestoreName

Required. The name of the Featurestore resource.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskFeaturestore

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Featurestore response = await featurestoreServiceClient.GetFeaturestoreAsync(name);

GetFeaturestoreAsync(GetFeaturestoreRequest, CallSettings)

public virtual Task<Featurestore> GetFeaturestoreAsync(GetFeaturestoreRequest request, CallSettings callSettings = null)

Gets details of a single Featurestore.

Parameters
NameDescription
requestGetFeaturestoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskFeaturestore

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
GetFeaturestoreRequest request = new GetFeaturestoreRequest
{
    FeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
};
// Make the request
Featurestore response = await featurestoreServiceClient.GetFeaturestoreAsync(request);

GetFeaturestoreAsync(GetFeaturestoreRequest, CancellationToken)

public virtual Task<Featurestore> GetFeaturestoreAsync(GetFeaturestoreRequest request, CancellationToken cancellationToken)

Gets details of a single Featurestore.

Parameters
NameDescription
requestGetFeaturestoreRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskFeaturestore

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
GetFeaturestoreRequest request = new GetFeaturestoreRequest
{
    FeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
};
// Make the request
Featurestore response = await featurestoreServiceClient.GetFeaturestoreAsync(request);

GetFeaturestoreAsync(string, CallSettings)

public virtual Task<Featurestore> GetFeaturestoreAsync(string name, CallSettings callSettings = null)

Gets details of a single Featurestore.

Parameters
NameDescription
namestring

Required. The name of the Featurestore resource.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskFeaturestore

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Featurestore response = await featurestoreServiceClient.GetFeaturestoreAsync(name);

GetFeaturestoreAsync(string, CancellationToken)

public virtual Task<Featurestore> GetFeaturestoreAsync(string name, CancellationToken cancellationToken)

Gets details of a single Featurestore.

Parameters
NameDescription
namestring

Required. The name of the Featurestore resource.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskFeaturestore

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Featurestore response = await featurestoreServiceClient.GetFeaturestoreAsync(name);

ImportFeatureValues(EntityTypeName, CallSettings)

public virtual Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> ImportFeatureValues(EntityTypeName entityType, CallSettings callSettings = null)

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
entityTypeEntityTypeName

Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationImportFeatureValuesResponseImportFeatureValuesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = featurestoreServiceClient.ImportFeatureValues(entityType);

// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceImportFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ImportFeatureValues(ImportFeatureValuesRequest, CallSettings)

public virtual Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> ImportFeatureValues(ImportFeatureValuesRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationImportFeatureValuesResponseImportFeatureValuesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
ImportFeatureValuesRequest request = new ImportFeatureValuesRequest
{
    EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    AvroSource = new AvroSource(),
    EntityIdField = "",
    FeatureTimeField = "",
    FeatureSpecs =
    {
        new ImportFeatureValuesRequest.Types.FeatureSpec(),
    },
    DisableOnlineServing = false,
    WorkerCount = 0,
    DisableIngestionAnalysis = false,
};
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = featurestoreServiceClient.ImportFeatureValues(request);

// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceImportFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ImportFeatureValues(string, CallSettings)

public virtual Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> ImportFeatureValues(string entityType, CallSettings callSettings = null)

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
entityTypestring

Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationImportFeatureValuesResponseImportFeatureValuesOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = featurestoreServiceClient.ImportFeatureValues(entityType);

// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceImportFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ImportFeatureValuesAsync(EntityTypeName, CallSettings)

public virtual Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> ImportFeatureValuesAsync(EntityTypeName entityType, CallSettings callSettings = null)

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
entityTypeEntityTypeName

Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationImportFeatureValuesResponseImportFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ImportFeatureValuesAsync(entityType);

// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceImportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ImportFeatureValuesAsync(EntityTypeName, CancellationToken)

public virtual Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> ImportFeatureValuesAsync(EntityTypeName entityType, CancellationToken cancellationToken)

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
entityTypeEntityTypeName

Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationImportFeatureValuesResponseImportFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ImportFeatureValuesAsync(entityType);

// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceImportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ImportFeatureValuesAsync(ImportFeatureValuesRequest, CallSettings)

public virtual Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> ImportFeatureValuesAsync(ImportFeatureValuesRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationImportFeatureValuesResponseImportFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
ImportFeatureValuesRequest request = new ImportFeatureValuesRequest
{
    EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    AvroSource = new AvroSource(),
    EntityIdField = "",
    FeatureTimeField = "",
    FeatureSpecs =
    {
        new ImportFeatureValuesRequest.Types.FeatureSpec(),
    },
    DisableOnlineServing = false,
    WorkerCount = 0,
    DisableIngestionAnalysis = false,
};
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ImportFeatureValuesAsync(request);

// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceImportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ImportFeatureValuesAsync(ImportFeatureValuesRequest, CancellationToken)

public virtual Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> ImportFeatureValuesAsync(ImportFeatureValuesRequest request, CancellationToken cancellationToken)

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 object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationImportFeatureValuesResponseImportFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
ImportFeatureValuesRequest request = new ImportFeatureValuesRequest
{
    EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    AvroSource = new AvroSource(),
    EntityIdField = "",
    FeatureTimeField = "",
    FeatureSpecs =
    {
        new ImportFeatureValuesRequest.Types.FeatureSpec(),
    },
    DisableOnlineServing = false,
    WorkerCount = 0,
    DisableIngestionAnalysis = false,
};
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ImportFeatureValuesAsync(request);

// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceImportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ImportFeatureValuesAsync(string, CallSettings)

public virtual Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> ImportFeatureValuesAsync(string entityType, CallSettings callSettings = null)

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
entityTypestring

Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationImportFeatureValuesResponseImportFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ImportFeatureValuesAsync(entityType);

// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceImportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ImportFeatureValuesAsync(string, CancellationToken)

public virtual Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> ImportFeatureValuesAsync(string entityType, CancellationToken cancellationToken)

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
entityTypestring

Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationImportFeatureValuesResponseImportFeatureValuesOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ImportFeatureValuesAsync(entityType);

// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceImportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}

ListEntityTypes(FeaturestoreName, string, int?, CallSettings)

public virtual PagedEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypes(FeaturestoreName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists EntityTypes in a given Featurestore.

Parameters
NameDescription
parentFeaturestoreName

Required. The resource name of the Featurestore to list EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListEntityTypesResponseEntityType

A pageable sequence of EntityType resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
PagedEnumerable<ListEntityTypesResponse, EntityType> response = featurestoreServiceClient.ListEntityTypes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (EntityType item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEntityTypesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (EntityType item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntityType> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntityType item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListEntityTypes(ListEntityTypesRequest, CallSettings)

public virtual PagedEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypes(ListEntityTypesRequest request, CallSettings callSettings = null)

Lists EntityTypes in a given Featurestore.

Parameters
NameDescription
requestListEntityTypesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListEntityTypesResponseEntityType

A pageable sequence of EntityType resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
ListEntityTypesRequest request = new ListEntityTypesRequest
{
    ParentAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
    Filter = "",
    OrderBy = "",
    ReadMask = new FieldMask(),
};
// Make the request
PagedEnumerable<ListEntityTypesResponse, EntityType> response = featurestoreServiceClient.ListEntityTypes(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (EntityType item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEntityTypesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (EntityType item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntityType> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntityType item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListEntityTypes(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists EntityTypes in a given Featurestore.

Parameters
NameDescription
parentstring

Required. The resource name of the Featurestore to list EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListEntityTypesResponseEntityType

A pageable sequence of EntityType resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
PagedEnumerable<ListEntityTypesResponse, EntityType> response = featurestoreServiceClient.ListEntityTypes(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (EntityType item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEntityTypesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (EntityType item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntityType> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntityType item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListEntityTypesAsync(FeaturestoreName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypesAsync(FeaturestoreName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists EntityTypes in a given Featurestore.

Parameters
NameDescription
parentFeaturestoreName

Required. The resource name of the Featurestore to list EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListEntityTypesResponseEntityType

A pageable asynchronous sequence of EntityType resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> response = featurestoreServiceClient.ListEntityTypesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EntityType item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntityTypesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (EntityType item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntityType> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntityType item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListEntityTypesAsync(ListEntityTypesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypesAsync(ListEntityTypesRequest request, CallSettings callSettings = null)

Lists EntityTypes in a given Featurestore.

Parameters
NameDescription
requestListEntityTypesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListEntityTypesResponseEntityType

A pageable asynchronous sequence of EntityType resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
ListEntityTypesRequest request = new ListEntityTypesRequest
{
    ParentAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
    Filter = "",
    OrderBy = "",
    ReadMask = new FieldMask(),
};
// Make the request
PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> response = featurestoreServiceClient.ListEntityTypesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EntityType item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntityTypesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (EntityType item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntityType> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntityType item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListEntityTypesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists EntityTypes in a given Featurestore.

Parameters
NameDescription
parentstring

Required. The resource name of the Featurestore to list EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListEntityTypesResponseEntityType

A pageable asynchronous sequence of EntityType resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> response = featurestoreServiceClient.ListEntityTypesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EntityType item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntityTypesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (EntityType item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntityType> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntityType item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListFeatures(EntityTypeName, string, int?, CallSettings)

public virtual PagedEnumerable<ListFeaturesResponse, Feature> ListFeatures(EntityTypeName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Features in a given EntityType.

Parameters
NameDescription
parentEntityTypeName

Required. The resource name of the Location to list Features. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListFeaturesResponseFeature

A pageable sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
PagedEnumerable<ListFeaturesResponse, Feature> response = featurestoreServiceClient.ListFeatures(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFeaturesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListFeatures(ListFeaturesRequest, CallSettings)

public virtual PagedEnumerable<ListFeaturesResponse, Feature> ListFeatures(ListFeaturesRequest request, CallSettings callSettings = null)

Lists Features in a given EntityType.

Parameters
NameDescription
requestListFeaturesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListFeaturesResponseFeature

A pageable sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
ListFeaturesRequest request = new ListFeaturesRequest
{
    ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    Filter = "",
    OrderBy = "",
    ReadMask = new FieldMask(),
    LatestStatsCount = 0,
};
// Make the request
PagedEnumerable<ListFeaturesResponse, Feature> response = featurestoreServiceClient.ListFeatures(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFeaturesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListFeatures(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListFeaturesResponse, Feature> ListFeatures(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Features in a given EntityType.

Parameters
NameDescription
parentstring

Required. The resource name of the Location to list Features. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListFeaturesResponseFeature

A pageable sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
PagedEnumerable<ListFeaturesResponse, Feature> response = featurestoreServiceClient.ListFeatures(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFeaturesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListFeaturesAsync(EntityTypeName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListFeaturesResponse, Feature> ListFeaturesAsync(EntityTypeName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Features in a given EntityType.

Parameters
NameDescription
parentEntityTypeName

Required. The resource name of the Location to list Features. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListFeaturesResponseFeature

A pageable asynchronous sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
PagedAsyncEnumerable<ListFeaturesResponse, Feature> response = featurestoreServiceClient.ListFeaturesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFeaturesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListFeaturesAsync(ListFeaturesRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListFeaturesResponse, Feature> ListFeaturesAsync(ListFeaturesRequest request, CallSettings callSettings = null)

Lists Features in a given EntityType.

Parameters
NameDescription
requestListFeaturesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListFeaturesResponseFeature

A pageable asynchronous sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
ListFeaturesRequest request = new ListFeaturesRequest
{
    ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
    Filter = "",
    OrderBy = "",
    ReadMask = new FieldMask(),
    LatestStatsCount = 0,
};
// Make the request
PagedAsyncEnumerable<ListFeaturesResponse, Feature> response = featurestoreServiceClient.ListFeaturesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFeaturesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListFeaturesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListFeaturesResponse, Feature> ListFeaturesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Features in a given EntityType.

Parameters
NameDescription
parentstring

Required. The resource name of the Location to list Features. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListFeaturesResponseFeature

A pageable asynchronous sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
PagedAsyncEnumerable<ListFeaturesResponse, Feature> response = featurestoreServiceClient.ListFeaturesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFeaturesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListFeaturestores(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestores(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Featurestores in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to list Featurestores. Format: projects/{project}/locations/{location}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListFeaturestoresResponseFeaturestore

A pageable sequence of Featurestore resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListFeaturestoresResponse, Featurestore> response = featurestoreServiceClient.ListFeaturestores(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Featurestore item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFeaturestoresResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Featurestore item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Featurestore> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Featurestore item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListFeaturestores(ListFeaturestoresRequest, CallSettings)

public virtual PagedEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestores(ListFeaturestoresRequest request, CallSettings callSettings = null)

Lists Featurestores in a given project and location.

Parameters
NameDescription
requestListFeaturestoresRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListFeaturestoresResponseFeaturestore

A pageable sequence of Featurestore resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
ListFeaturestoresRequest request = new ListFeaturestoresRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
    ReadMask = new FieldMask(),
};
// Make the request
PagedEnumerable<ListFeaturestoresResponse, Featurestore> response = featurestoreServiceClient.ListFeaturestores(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Featurestore item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFeaturestoresResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Featurestore item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Featurestore> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Featurestore item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListFeaturestores(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestores(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Featurestores in a given project and location.

Parameters
NameDescription
parentstring

Required. The resource name of the Location to list Featurestores. Format: projects/{project}/locations/{location}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListFeaturestoresResponseFeaturestore

A pageable sequence of Featurestore resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListFeaturestoresResponse, Featurestore> response = featurestoreServiceClient.ListFeaturestores(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Featurestore item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFeaturestoresResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Featurestore item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Featurestore> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Featurestore item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListFeaturestoresAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestoresAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Featurestores in a given project and location.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to list Featurestores. Format: projects/{project}/locations/{location}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListFeaturestoresResponseFeaturestore

A pageable asynchronous sequence of Featurestore resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> response = featurestoreServiceClient.ListFeaturestoresAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Featurestore item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFeaturestoresResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Featurestore item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Featurestore> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Featurestore item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListFeaturestoresAsync(ListFeaturestoresRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestoresAsync(ListFeaturestoresRequest request, CallSettings callSettings = null)

Lists Featurestores in a given project and location.

Parameters
NameDescription
requestListFeaturestoresRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListFeaturestoresResponseFeaturestore

A pageable asynchronous sequence of Featurestore resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
ListFeaturestoresRequest request = new ListFeaturestoresRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
    ReadMask = new FieldMask(),
};
// Make the request
PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> response = featurestoreServiceClient.ListFeaturestoresAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Featurestore item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFeaturestoresResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Featurestore item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Featurestore> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Featurestore item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListFeaturestoresAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestoresAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Featurestores in a given project and location.

Parameters
NameDescription
parentstring

Required. The resource name of the Location to list Featurestores. Format: projects/{project}/locations/{location}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListFeaturestoresResponseFeaturestore

A pageable asynchronous sequence of Featurestore resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> response = featurestoreServiceClient.ListFeaturestoresAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Featurestore item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFeaturestoresResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Featurestore item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Featurestore> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Featurestore item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

PollOnceBatchCreateFeatures(string, CallSettings)

public virtual Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> PollOnceBatchCreateFeatures(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of BatchCreateFeatures .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationBatchCreateFeaturesResponseBatchCreateFeaturesOperationMetadata

The result of polling the operation.

PollOnceBatchCreateFeaturesAsync(string, CallSettings)

public virtual Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> PollOnceBatchCreateFeaturesAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of BatchCreateFeatures.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationBatchCreateFeaturesResponseBatchCreateFeaturesOperationMetadata

A task representing the result of polling the operation.

PollOnceBatchReadFeatureValues(string, CallSettings)

public virtual Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> PollOnceBatchReadFeatureValues(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of BatchReadFeatureValues.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationBatchReadFeatureValuesResponseBatchReadFeatureValuesOperationMetadata

The result of polling the operation.

PollOnceBatchReadFeatureValuesAsync(string, CallSettings)

public virtual Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> PollOnceBatchReadFeatureValuesAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of BatchReadFeatureValues.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationBatchReadFeatureValuesResponseBatchReadFeatureValuesOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateEntityType(string, CallSettings)

public virtual Operation<EntityType, CreateEntityTypeOperationMetadata> PollOnceCreateEntityType(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateEntityType.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEntityTypeCreateEntityTypeOperationMetadata

The result of polling the operation.

PollOnceCreateEntityTypeAsync(string, CallSettings)

public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> PollOnceCreateEntityTypeAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateEntityType.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEntityTypeCreateEntityTypeOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateFeature(string, CallSettings)

public virtual Operation<Feature, CreateFeatureOperationMetadata> PollOnceCreateFeature(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateFeature.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeatureCreateFeatureOperationMetadata

The result of polling the operation.

PollOnceCreateFeatureAsync(string, CallSettings)

public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> PollOnceCreateFeatureAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateFeature.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeatureCreateFeatureOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateFeaturestore(string, CallSettings)

public virtual Operation<Featurestore, CreateFeaturestoreOperationMetadata> PollOnceCreateFeaturestore(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateFeaturestore .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeaturestoreCreateFeaturestoreOperationMetadata

The result of polling the operation.

PollOnceCreateFeaturestoreAsync(string, CallSettings)

public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> PollOnceCreateFeaturestoreAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateFeaturestore.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeaturestoreCreateFeaturestoreOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteEntityType(string, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> PollOnceDeleteEntityType(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteEntityType.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The result of polling the operation.

PollOnceDeleteEntityTypeAsync(string, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> PollOnceDeleteEntityTypeAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteEntityType.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteFeature(string, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> PollOnceDeleteFeature(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteFeature.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The result of polling the operation.

PollOnceDeleteFeatureAsync(string, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> PollOnceDeleteFeatureAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteFeature.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteFeaturestore(string, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> PollOnceDeleteFeaturestore(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteFeaturestore .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The result of polling the operation.

PollOnceDeleteFeaturestoreAsync(string, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> PollOnceDeleteFeaturestoreAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteFeaturestore.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteFeatureValues(string, CallSettings)

public virtual Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata> PollOnceDeleteFeatureValues(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteFeatureValues .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDeleteFeatureValuesResponseDeleteFeatureValuesOperationMetadata

The result of polling the operation.

PollOnceDeleteFeatureValuesAsync(string, CallSettings)

public virtual Task<Operation<DeleteFeatureValuesResponse, DeleteFeatureValuesOperationMetadata>> PollOnceDeleteFeatureValuesAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteFeatureValues.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDeleteFeatureValuesResponseDeleteFeatureValuesOperationMetadata

A task representing the result of polling the operation.

PollOnceExportFeatureValues(string, CallSettings)

public virtual Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> PollOnceExportFeatureValues(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of ExportFeatureValues .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationExportFeatureValuesResponseExportFeatureValuesOperationMetadata

The result of polling the operation.

PollOnceExportFeatureValuesAsync(string, CallSettings)

public virtual Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> PollOnceExportFeatureValuesAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of ExportFeatureValues.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationExportFeatureValuesResponseExportFeatureValuesOperationMetadata

A task representing the result of polling the operation.

PollOnceImportFeatureValues(string, CallSettings)

public virtual Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> PollOnceImportFeatureValues(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of ImportFeatureValues .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationImportFeatureValuesResponseImportFeatureValuesOperationMetadata

The result of polling the operation.

PollOnceImportFeatureValuesAsync(string, CallSettings)

public virtual Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> PollOnceImportFeatureValuesAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of ImportFeatureValues.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationImportFeatureValuesResponseImportFeatureValuesOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateFeaturestore(string, CallSettings)

public virtual Operation<Featurestore, UpdateFeaturestoreOperationMetadata> PollOnceUpdateFeaturestore(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateFeaturestore .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeaturestoreUpdateFeaturestoreOperationMetadata

The result of polling the operation.

PollOnceUpdateFeaturestoreAsync(string, CallSettings)

public virtual Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> PollOnceUpdateFeaturestoreAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateFeaturestore.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeaturestoreUpdateFeaturestoreOperationMetadata

A task representing the result of polling the operation.

SearchFeatures(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<SearchFeaturesResponse, Feature> SearchFeatures(LocationName location, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Searches Features matching a query in a given project.

Parameters
NameDescription
locationLocationName

Required. The resource name of the Location to search Features. Format: projects/{project}/locations/{location}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableSearchFeaturesResponseFeature

A pageable sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeatures(location);

// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchFeaturesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

SearchFeatures(LocationName, string, string, int?, CallSettings)

public virtual PagedEnumerable<SearchFeaturesResponse, Feature> SearchFeatures(LocationName location, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Searches Features matching a query in a given project.

Parameters
NameDescription
locationLocationName

Required. The resource name of the Location to search Features. Format: projects/{project}/locations/{location}

querystring

Query string that is a conjunction of field-restricted queries and/or field-restricted filters. Field-restricted queries and filters can be combined using AND to form a conjunction.

A field query is in the form FIELD:QUERY. This implicitly checks if QUERY exists as a substring within Feature's FIELD. The QUERY and the FIELD are converted to a sequence of words (i.e. tokens) for comparison. This is done by:

  • Removing leading/trailing whitespace and tokenizing the search value. Characters that are not one of alphanumeric [a-zA-Z0-9], underscore _, or asterisk * are treated as delimiters for tokens. * is treated as a wildcard that matches characters within a token.
  • Ignoring case.
  • Prepending an asterisk to the first and appending an asterisk to the last token in QUERY.

A QUERY must be either a singular token or a phrase. A phrase is one or multiple words enclosed in double quotation marks ("). With phrases, the order of the words is important. Words in the phrase must be matching in order and consecutively.

Supported FIELDs for field-restricted queries:

  • feature_id
  • description
  • entity_type_id

Examples:

  • feature_id: foo --> Matches a Feature with ID containing the substring foo (eg. foo, foofeature, barfoo).
  • feature_id: foo*feature --> Matches a Feature with ID containing the substring foo*feature (eg. foobarfeature).
  • feature_id: foo AND description: bar --> Matches a Feature with ID containing the substring foo and description containing the substring bar.

Besides field queries, the following exact-match filters are supported. The exact-match filters do not support wildcards. Unlike field-restricted queries, exact-match filters are case-sensitive.

  • feature_id: Supports = comparisons.
  • description: Supports = comparisons. Multi-token filters should be enclosed in quotes.
  • entity_type_id: Supports = comparisons.
  • value_type: Supports = and != comparisons.
  • labels: Supports key-value equality as well as key presence.
  • featurestore_id: Supports = comparisons.

Examples:

  • description = &quot;foo bar&quot; --> Any Feature with description exactly equal to foo bar
  • value_type = DOUBLE --> Features whose type is DOUBLE.
  • labels.active = yes AND labels.env = prod --> Features having both (active: yes) and (env: prod) labels.
  • labels.env: * --> Any Feature which has a label with env as the key.
pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableSearchFeaturesResponseFeature

A pageable sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string query = "";
// Make the request
PagedEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeatures(location, query: query);

// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchFeaturesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

SearchFeatures(SearchFeaturesRequest, CallSettings)

public virtual PagedEnumerable<SearchFeaturesResponse, Feature> SearchFeatures(SearchFeaturesRequest request, CallSettings callSettings = null)

Searches Features matching a query in a given project.

Parameters
NameDescription
requestSearchFeaturesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableSearchFeaturesResponseFeature

A pageable sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
SearchFeaturesRequest request = new SearchFeaturesRequest
{
    LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Query = "",
};
// Make the request
PagedEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeatures(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchFeaturesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

SearchFeatures(string, string, int?, CallSettings)

public virtual PagedEnumerable<SearchFeaturesResponse, Feature> SearchFeatures(string location, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Searches Features matching a query in a given project.

Parameters
NameDescription
locationstring

Required. The resource name of the Location to search Features. Format: projects/{project}/locations/{location}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableSearchFeaturesResponseFeature

A pageable sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string location = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeatures(location);

// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchFeaturesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

SearchFeatures(string, string, string, int?, CallSettings)

public virtual PagedEnumerable<SearchFeaturesResponse, Feature> SearchFeatures(string location, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Searches Features matching a query in a given project.

Parameters
NameDescription
locationstring

Required. The resource name of the Location to search Features. Format: projects/{project}/locations/{location}

querystring

Query string that is a conjunction of field-restricted queries and/or field-restricted filters. Field-restricted queries and filters can be combined using AND to form a conjunction.

A field query is in the form FIELD:QUERY. This implicitly checks if QUERY exists as a substring within Feature's FIELD. The QUERY and the FIELD are converted to a sequence of words (i.e. tokens) for comparison. This is done by:

  • Removing leading/trailing whitespace and tokenizing the search value. Characters that are not one of alphanumeric [a-zA-Z0-9], underscore _, or asterisk * are treated as delimiters for tokens. * is treated as a wildcard that matches characters within a token.
  • Ignoring case.
  • Prepending an asterisk to the first and appending an asterisk to the last token in QUERY.

A QUERY must be either a singular token or a phrase. A phrase is one or multiple words enclosed in double quotation marks ("). With phrases, the order of the words is important. Words in the phrase must be matching in order and consecutively.

Supported FIELDs for field-restricted queries:

  • feature_id
  • description
  • entity_type_id

Examples:

  • feature_id: foo --> Matches a Feature with ID containing the substring foo (eg. foo, foofeature, barfoo).
  • feature_id: foo*feature --> Matches a Feature with ID containing the substring foo*feature (eg. foobarfeature).
  • feature_id: foo AND description: bar --> Matches a Feature with ID containing the substring foo and description containing the substring bar.

Besides field queries, the following exact-match filters are supported. The exact-match filters do not support wildcards. Unlike field-restricted queries, exact-match filters are case-sensitive.

  • feature_id: Supports = comparisons.
  • description: Supports = comparisons. Multi-token filters should be enclosed in quotes.
  • entity_type_id: Supports = comparisons.
  • value_type: Supports = and != comparisons.
  • labels: Supports key-value equality as well as key presence.
  • featurestore_id: Supports = comparisons.

Examples:

  • description = &quot;foo bar&quot; --> Any Feature with description exactly equal to foo bar
  • value_type = DOUBLE --> Features whose type is DOUBLE.
  • labels.active = yes AND labels.env = prod --> Features having both (active: yes) and (env: prod) labels.
  • labels.env: * --> Any Feature which has a label with env as the key.
pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableSearchFeaturesResponseFeature

A pageable sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string location = "projects/[PROJECT]/locations/[LOCATION]";
string query = "";
// Make the request
PagedEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeatures(location, query: query);

// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchFeaturesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

SearchFeaturesAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<SearchFeaturesResponse, Feature> SearchFeaturesAsync(LocationName location, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Searches Features matching a query in a given project.

Parameters
NameDescription
locationLocationName

Required. The resource name of the Location to search Features. Format: projects/{project}/locations/{location}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableSearchFeaturesResponseFeature

A pageable asynchronous sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeaturesAsync(location);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchFeaturesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

SearchFeaturesAsync(LocationName, string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<SearchFeaturesResponse, Feature> SearchFeaturesAsync(LocationName location, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Searches Features matching a query in a given project.

Parameters
NameDescription
locationLocationName

Required. The resource name of the Location to search Features. Format: projects/{project}/locations/{location}

querystring

Query string that is a conjunction of field-restricted queries and/or field-restricted filters. Field-restricted queries and filters can be combined using AND to form a conjunction.

A field query is in the form FIELD:QUERY. This implicitly checks if QUERY exists as a substring within Feature's FIELD. The QUERY and the FIELD are converted to a sequence of words (i.e. tokens) for comparison. This is done by:

  • Removing leading/trailing whitespace and tokenizing the search value. Characters that are not one of alphanumeric [a-zA-Z0-9], underscore _, or asterisk * are treated as delimiters for tokens. * is treated as a wildcard that matches characters within a token.
  • Ignoring case.
  • Prepending an asterisk to the first and appending an asterisk to the last token in QUERY.

A QUERY must be either a singular token or a phrase. A phrase is one or multiple words enclosed in double quotation marks ("). With phrases, the order of the words is important. Words in the phrase must be matching in order and consecutively.

Supported FIELDs for field-restricted queries:

  • feature_id
  • description
  • entity_type_id

Examples:

  • feature_id: foo --> Matches a Feature with ID containing the substring foo (eg. foo, foofeature, barfoo).
  • feature_id: foo*feature --> Matches a Feature with ID containing the substring foo*feature (eg. foobarfeature).
  • feature_id: foo AND description: bar --> Matches a Feature with ID containing the substring foo and description containing the substring bar.

Besides field queries, the following exact-match filters are supported. The exact-match filters do not support wildcards. Unlike field-restricted queries, exact-match filters are case-sensitive.

  • feature_id: Supports = comparisons.
  • description: Supports = comparisons. Multi-token filters should be enclosed in quotes.
  • entity_type_id: Supports = comparisons.
  • value_type: Supports = and != comparisons.
  • labels: Supports key-value equality as well as key presence.
  • featurestore_id: Supports = comparisons.

Examples:

  • description = &quot;foo bar&quot; --> Any Feature with description exactly equal to foo bar
  • value_type = DOUBLE --> Features whose type is DOUBLE.
  • labels.active = yes AND labels.env = prod --> Features having both (active: yes) and (env: prod) labels.
  • labels.env: * --> Any Feature which has a label with env as the key.
pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableSearchFeaturesResponseFeature

A pageable asynchronous sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string query = "";
// Make the request
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeaturesAsync(location, query: query);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchFeaturesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

SearchFeaturesAsync(SearchFeaturesRequest, CallSettings)

public virtual PagedAsyncEnumerable<SearchFeaturesResponse, Feature> SearchFeaturesAsync(SearchFeaturesRequest request, CallSettings callSettings = null)

Searches Features matching a query in a given project.

Parameters
NameDescription
requestSearchFeaturesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableSearchFeaturesResponseFeature

A pageable asynchronous sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
SearchFeaturesRequest request = new SearchFeaturesRequest
{
    LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Query = "",
};
// Make the request
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeaturesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchFeaturesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

SearchFeaturesAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<SearchFeaturesResponse, Feature> SearchFeaturesAsync(string location, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Searches Features matching a query in a given project.

Parameters
NameDescription
locationstring

Required. The resource name of the Location to search Features. Format: projects/{project}/locations/{location}

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableSearchFeaturesResponseFeature

A pageable asynchronous sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string location = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeaturesAsync(location);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchFeaturesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

SearchFeaturesAsync(string, string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<SearchFeaturesResponse, Feature> SearchFeaturesAsync(string location, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Searches Features matching a query in a given project.

Parameters
NameDescription
locationstring

Required. The resource name of the Location to search Features. Format: projects/{project}/locations/{location}

querystring

Query string that is a conjunction of field-restricted queries and/or field-restricted filters. Field-restricted queries and filters can be combined using AND to form a conjunction.

A field query is in the form FIELD:QUERY. This implicitly checks if QUERY exists as a substring within Feature's FIELD. The QUERY and the FIELD are converted to a sequence of words (i.e. tokens) for comparison. This is done by:

  • Removing leading/trailing whitespace and tokenizing the search value. Characters that are not one of alphanumeric [a-zA-Z0-9], underscore _, or asterisk * are treated as delimiters for tokens. * is treated as a wildcard that matches characters within a token.
  • Ignoring case.
  • Prepending an asterisk to the first and appending an asterisk to the last token in QUERY.

A QUERY must be either a singular token or a phrase. A phrase is one or multiple words enclosed in double quotation marks ("). With phrases, the order of the words is important. Words in the phrase must be matching in order and consecutively.

Supported FIELDs for field-restricted queries:

  • feature_id
  • description
  • entity_type_id

Examples:

  • feature_id: foo --> Matches a Feature with ID containing the substring foo (eg. foo, foofeature, barfoo).
  • feature_id: foo*feature --> Matches a Feature with ID containing the substring foo*feature (eg. foobarfeature).
  • feature_id: foo AND description: bar --> Matches a Feature with ID containing the substring foo and description containing the substring bar.

Besides field queries, the following exact-match filters are supported. The exact-match filters do not support wildcards. Unlike field-restricted queries, exact-match filters are case-sensitive.

  • feature_id: Supports = comparisons.
  • description: Supports = comparisons. Multi-token filters should be enclosed in quotes.
  • entity_type_id: Supports = comparisons.
  • value_type: Supports = and != comparisons.
  • labels: Supports key-value equality as well as key presence.
  • featurestore_id: Supports = comparisons.

Examples:

  • description = &quot;foo bar&quot; --> Any Feature with description exactly equal to foo bar
  • value_type = DOUBLE --> Features whose type is DOUBLE.
  • labels.active = yes AND labels.env = prod --> Features having both (active: yes) and (env: prod) labels.
  • labels.env: * --> Any Feature which has a label with env as the key.
pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableSearchFeaturesResponseFeature

A pageable asynchronous sequence of Feature resources.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string location = "projects/[PROJECT]/locations/[LOCATION]";
string query = "";
// Make the request
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeaturesAsync(location, query: query);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchFeaturesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Feature item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
TypeDescription
Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

UpdateEntityType(EntityType, FieldMask, CallSettings)

public virtual EntityType UpdateEntityType(EntityType entityType, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single EntityType.

Parameters
NameDescription
entityTypeEntityType

Required. The EntityType's name field is used to identify the EntityType to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

updateMaskFieldMask

Field mask is used to specify the fields to be overwritten in the EntityType resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields.

Updatable fields:

  • description
  • labels
  • monitoring_config.snapshot_analysis.disabled
  • monitoring_config.snapshot_analysis.monitoring_interval_days
  • monitoring_config.snapshot_analysis.staleness_days
  • monitoring_config.import_features_analysis.state
  • monitoring_config.import_features_analysis.anomaly_detection_baseline
  • monitoring_config.numerical_threshold_config.value
  • monitoring_config.categorical_threshold_config.value
  • offline_storage_ttl_days (available in Preview)
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
EntityType

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityType entityType = new EntityType();
FieldMask updateMask = new FieldMask();
// Make the request
EntityType response = featurestoreServiceClient.UpdateEntityType(entityType, updateMask);

UpdateEntityType(UpdateEntityTypeRequest, CallSettings)

public virtual EntityType UpdateEntityType(UpdateEntityTypeRequest request, CallSettings callSettings = null)

Updates the parameters of a single EntityType.

Parameters
NameDescription
requestUpdateEntityTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
EntityType

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
UpdateEntityTypeRequest request = new UpdateEntityTypeRequest
{
    EntityType = new EntityType(),
    UpdateMask = new FieldMask(),
};
// Make the request
EntityType response = featurestoreServiceClient.UpdateEntityType(request);

UpdateEntityTypeAsync(EntityType, FieldMask, CallSettings)

public virtual Task<EntityType> UpdateEntityTypeAsync(EntityType entityType, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single EntityType.

Parameters
NameDescription
entityTypeEntityType

Required. The EntityType's name field is used to identify the EntityType to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

updateMaskFieldMask

Field mask is used to specify the fields to be overwritten in the EntityType resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields.

Updatable fields:

  • description
  • labels
  • monitoring_config.snapshot_analysis.disabled
  • monitoring_config.snapshot_analysis.monitoring_interval_days
  • monitoring_config.snapshot_analysis.staleness_days
  • monitoring_config.import_features_analysis.state
  • monitoring_config.import_features_analysis.anomaly_detection_baseline
  • monitoring_config.numerical_threshold_config.value
  • monitoring_config.categorical_threshold_config.value
  • offline_storage_ttl_days (available in Preview)
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskEntityType

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityType entityType = new EntityType();
FieldMask updateMask = new FieldMask();
// Make the request
EntityType response = await featurestoreServiceClient.UpdateEntityTypeAsync(entityType, updateMask);

UpdateEntityTypeAsync(EntityType, FieldMask, CancellationToken)

public virtual Task<EntityType> UpdateEntityTypeAsync(EntityType entityType, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single EntityType.

Parameters
NameDescription
entityTypeEntityType

Required. The EntityType's name field is used to identify the EntityType to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

updateMaskFieldMask

Field mask is used to specify the fields to be overwritten in the EntityType resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields.

Updatable fields:

  • description
  • labels
  • monitoring_config.snapshot_analysis.disabled
  • monitoring_config.snapshot_analysis.monitoring_interval_days
  • monitoring_config.snapshot_analysis.staleness_days
  • monitoring_config.import_features_analysis.state
  • monitoring_config.import_features_analysis.anomaly_detection_baseline
  • monitoring_config.numerical_threshold_config.value
  • monitoring_config.categorical_threshold_config.value
  • offline_storage_ttl_days (available in Preview)
cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskEntityType

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityType entityType = new EntityType();
FieldMask updateMask = new FieldMask();
// Make the request
EntityType response = await featurestoreServiceClient.UpdateEntityTypeAsync(entityType, updateMask);

UpdateEntityTypeAsync(UpdateEntityTypeRequest, CallSettings)

public virtual Task<EntityType> UpdateEntityTypeAsync(UpdateEntityTypeRequest request, CallSettings callSettings = null)

Updates the parameters of a single EntityType.

Parameters
NameDescription
requestUpdateEntityTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskEntityType

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateEntityTypeRequest request = new UpdateEntityTypeRequest
{
    EntityType = new EntityType(),
    UpdateMask = new FieldMask(),
};
// Make the request
EntityType response = await featurestoreServiceClient.UpdateEntityTypeAsync(request);

UpdateEntityTypeAsync(UpdateEntityTypeRequest, CancellationToken)

public virtual Task<EntityType> UpdateEntityTypeAsync(UpdateEntityTypeRequest request, CancellationToken cancellationToken)

Updates the parameters of a single EntityType.

Parameters
NameDescription
requestUpdateEntityTypeRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskEntityType

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateEntityTypeRequest request = new UpdateEntityTypeRequest
{
    EntityType = new EntityType(),
    UpdateMask = new FieldMask(),
};
// Make the request
EntityType response = await featurestoreServiceClient.UpdateEntityTypeAsync(request);

UpdateFeature(Feature, FieldMask, CallSettings)

public virtual Feature UpdateFeature(Feature feature, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Feature.

Parameters
NameDescription
featureFeature

Required. The Feature's name field is used to identify the Feature to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}

updateMaskFieldMask

Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields.

Updatable fields:

  • description
  • labels
  • disable_monitoring
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Feature

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
Feature feature = new Feature();
FieldMask updateMask = new FieldMask();
// Make the request
Feature response = featurestoreServiceClient.UpdateFeature(feature, updateMask);

UpdateFeature(UpdateFeatureRequest, CallSettings)

public virtual Feature UpdateFeature(UpdateFeatureRequest request, CallSettings callSettings = null)

Updates the parameters of a single Feature.

Parameters
NameDescription
requestUpdateFeatureRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Feature

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
UpdateFeatureRequest request = new UpdateFeatureRequest
{
    Feature = new Feature(),
    UpdateMask = new FieldMask(),
};
// Make the request
Feature response = featurestoreServiceClient.UpdateFeature(request);

UpdateFeatureAsync(Feature, FieldMask, CallSettings)

public virtual Task<Feature> UpdateFeatureAsync(Feature feature, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Feature.

Parameters
NameDescription
featureFeature

Required. The Feature's name field is used to identify the Feature to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}

updateMaskFieldMask

Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields.

Updatable fields:

  • description
  • labels
  • disable_monitoring
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskFeature

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
Feature feature = new Feature();
FieldMask updateMask = new FieldMask();
// Make the request
Feature response = await featurestoreServiceClient.UpdateFeatureAsync(feature, updateMask);

UpdateFeatureAsync(Feature, FieldMask, CancellationToken)

public virtual Task<Feature> UpdateFeatureAsync(Feature feature, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single Feature.

Parameters
NameDescription
featureFeature

Required. The Feature's name field is used to identify the Feature to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}

updateMaskFieldMask

Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields.

Updatable fields:

  • description
  • labels
  • disable_monitoring
cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskFeature

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
Feature feature = new Feature();
FieldMask updateMask = new FieldMask();
// Make the request
Feature response = await featurestoreServiceClient.UpdateFeatureAsync(feature, updateMask);

UpdateFeatureAsync(UpdateFeatureRequest, CallSettings)

public virtual Task<Feature> UpdateFeatureAsync(UpdateFeatureRequest request, CallSettings callSettings = null)

Updates the parameters of a single Feature.

Parameters
NameDescription
requestUpdateFeatureRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskFeature

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFeatureRequest request = new UpdateFeatureRequest
{
    Feature = new Feature(),
    UpdateMask = new FieldMask(),
};
// Make the request
Feature response = await featurestoreServiceClient.UpdateFeatureAsync(request);

UpdateFeatureAsync(UpdateFeatureRequest, CancellationToken)

public virtual Task<Feature> UpdateFeatureAsync(UpdateFeatureRequest request, CancellationToken cancellationToken)

Updates the parameters of a single Feature.

Parameters
NameDescription
requestUpdateFeatureRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskFeature

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFeatureRequest request = new UpdateFeatureRequest
{
    Feature = new Feature(),
    UpdateMask = new FieldMask(),
};
// Make the request
Feature response = await featurestoreServiceClient.UpdateFeatureAsync(request);

UpdateFeaturestore(Featurestore, FieldMask, CallSettings)

public virtual Operation<Featurestore, UpdateFeaturestoreOperationMetadata> UpdateFeaturestore(Featurestore featurestore, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Featurestore.

Parameters
NameDescription
featurestoreFeaturestore

Required. The Featurestore's name field is used to identify the Featurestore to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

updateMaskFieldMask

Field mask is used to specify the fields to be overwritten in the Featurestore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields.

Updatable fields:

  • labels
  • online_serving_config.fixed_node_count
  • online_serving_config.scaling
  • online_storage_ttl_days (available in Preview)
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeaturestoreUpdateFeaturestoreOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
Featurestore featurestore = new Featurestore();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> response = featurestoreServiceClient.UpdateFeaturestore(featurestore, updateMask);

// Poll until the returned long-running operation is complete
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceUpdateFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

UpdateFeaturestore(UpdateFeaturestoreRequest, CallSettings)

public virtual Operation<Featurestore, UpdateFeaturestoreOperationMetadata> UpdateFeaturestore(UpdateFeaturestoreRequest request, CallSettings callSettings = null)

Updates the parameters of a single Featurestore.

Parameters
NameDescription
requestUpdateFeaturestoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationFeaturestoreUpdateFeaturestoreOperationMetadata

The RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
UpdateFeaturestoreRequest request = new UpdateFeaturestoreRequest
{
    Featurestore = new Featurestore(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> response = featurestoreServiceClient.UpdateFeaturestore(request);

// Poll until the returned long-running operation is complete
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceUpdateFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

UpdateFeaturestoreAsync(Featurestore, FieldMask, CallSettings)

public virtual Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> UpdateFeaturestoreAsync(Featurestore featurestore, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Featurestore.

Parameters
NameDescription
featurestoreFeaturestore

Required. The Featurestore's name field is used to identify the Featurestore to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

updateMaskFieldMask

Field mask is used to specify the fields to be overwritten in the Featurestore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields.

Updatable fields:

  • labels
  • online_serving_config.fixed_node_count
  • online_serving_config.scaling
  • online_storage_ttl_days (available in Preview)
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeaturestoreUpdateFeaturestoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
Featurestore featurestore = new Featurestore();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.UpdateFeaturestoreAsync(featurestore, updateMask);

// Poll until the returned long-running operation is complete
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceUpdateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

UpdateFeaturestoreAsync(Featurestore, FieldMask, CancellationToken)

public virtual Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> UpdateFeaturestoreAsync(Featurestore featurestore, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single Featurestore.

Parameters
NameDescription
featurestoreFeaturestore

Required. The Featurestore's name field is used to identify the Featurestore to be updated. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

updateMaskFieldMask

Field mask is used to specify the fields to be overwritten in the Featurestore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields.

Updatable fields:

  • labels
  • online_serving_config.fixed_node_count
  • online_serving_config.scaling
  • online_storage_ttl_days (available in Preview)
cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationFeaturestoreUpdateFeaturestoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
Featurestore featurestore = new Featurestore();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.UpdateFeaturestoreAsync(featurestore, updateMask);

// Poll until the returned long-running operation is complete
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceUpdateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

UpdateFeaturestoreAsync(UpdateFeaturestoreRequest, CallSettings)

public virtual Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> UpdateFeaturestoreAsync(UpdateFeaturestoreRequest request, CallSettings callSettings = null)

Updates the parameters of a single Featurestore.

Parameters
NameDescription
requestUpdateFeaturestoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationFeaturestoreUpdateFeaturestoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFeaturestoreRequest request = new UpdateFeaturestoreRequest
{
    Featurestore = new Featurestore(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.UpdateFeaturestoreAsync(request);

// Poll until the returned long-running operation is complete
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceUpdateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}

UpdateFeaturestoreAsync(UpdateFeaturestoreRequest, CancellationToken)

public virtual Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> UpdateFeaturestoreAsync(UpdateFeaturestoreRequest request, CancellationToken cancellationToken)

Updates the parameters of a single Featurestore.

Parameters
NameDescription
requestUpdateFeaturestoreRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationFeaturestoreUpdateFeaturestoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFeaturestoreRequest request = new UpdateFeaturestoreRequest
{
    Featurestore = new Featurestore(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.UpdateFeaturestoreAsync(request);

// Poll until the returned long-running operation is complete
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceUpdateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Featurestore retrievedResult = retrievedResponse.Result;
}