Class FeaturestoreServiceClient (1.3.0)

public abstract class FeaturestoreServiceClient

FeaturestoreService client wrapper, for convenient use.

Inheritance

Object > FeaturestoreServiceClient

Namespace

Google.Cloud.AIPlatform.V1

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
IReadOnlyList<String>
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

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
FeaturestoreService.FeaturestoreServiceClient

ImportFeatureValuesOperationsClient

public virtual OperationsClient ImportFeatureValuesOperationsClient { get; }

The long-running operations client for ImportFeatureValues.

Property Value
TypeDescription
OperationsClient

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
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>

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}

requestsIEnumerable<CreateFeatureRequest>

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
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>

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}

requestsIEnumerable<CreateFeatureRequest>

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
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>

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
Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>>

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
Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>>

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}

requestsIEnumerable<CreateFeatureRequest>

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
Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>>

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}

requestsIEnumerable<CreateFeatureRequest>

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
Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>>

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}

requestsIEnumerable<CreateFeatureRequest>

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
Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>>

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}

requestsIEnumerable<CreateFeatureRequest>

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
Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>>

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
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>

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(),
    },
};
// 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
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>

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
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>

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
Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>>

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(),
    },
};
// 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
Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>>

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(),
    },
};
// 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
Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>>

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
Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>>

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
Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>>

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
Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>>

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(CancellationToken))

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
Task<FeaturestoreServiceClient>

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
Operation<EntityType, CreateEntityTypeOperationMetadata>

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
Operation<EntityType, CreateEntityTypeOperationMetadata>

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
Operation<EntityType, CreateEntityTypeOperationMetadata>

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
Operation<EntityType, CreateEntityTypeOperationMetadata>

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
Operation<EntityType, CreateEntityTypeOperationMetadata>

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
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>>

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
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>>

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
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>>

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
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>>

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
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>>

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
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>>

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
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>>

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
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>>

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
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>>

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
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>>

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
Operation<Feature, CreateFeatureOperationMetadata>

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
Operation<Feature, CreateFeatureOperationMetadata>

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 60 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
Operation<Feature, CreateFeatureOperationMetadata>

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
Operation<Feature, CreateFeatureOperationMetadata>

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 60 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
Operation<Feature, CreateFeatureOperationMetadata>

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
Task<Operation<Feature, CreateFeatureOperationMetadata>>

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
Task<Operation<Feature, CreateFeatureOperationMetadata>>

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
Task<Operation<Feature, CreateFeatureOperationMetadata>>

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 60 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
Task<Operation<Feature, CreateFeatureOperationMetadata>>

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 60 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
Task<Operation<Feature, CreateFeatureOperationMetadata>>

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
Task<Operation<Feature, CreateFeatureOperationMetadata>>

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
Task<Operation<Feature, CreateFeatureOperationMetadata>>

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 60 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
Task<Operation<Feature, CreateFeatureOperationMetadata>>

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 60 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
Task<Operation<Feature, CreateFeatureOperationMetadata>>

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
Task<Operation<Feature, CreateFeatureOperationMetadata>>

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
Operation<Featurestore, CreateFeaturestoreOperationMetadata>

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
Operation<Featurestore, CreateFeaturestoreOperationMetadata>

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
Operation<Featurestore, CreateFeaturestoreOperationMetadata>

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
Operation<Featurestore, CreateFeaturestoreOperationMetadata>

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
Operation<Featurestore, CreateFeaturestoreOperationMetadata>

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
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>>

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
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>>

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
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>>

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
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>>

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
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>>

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
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>>

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
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>>

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
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>>

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
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>>

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
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>>

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
Operation<Empty, DeleteOperationMetadata>

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
Operation<Empty, DeleteOperationMetadata>

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, Boolean, 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}

forceBoolean

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
Operation<Empty, DeleteOperationMetadata>

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
Operation<Empty, DeleteOperationMetadata>

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, Boolean, 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}

forceBoolean

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
Operation<Empty, DeleteOperationMetadata>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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, Boolean, 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}

forceBoolean

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
Task<Operation<Empty, DeleteOperationMetadata>>

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, Boolean, 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}

forceBoolean

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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, Boolean, 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}

forceBoolean

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
Task<Operation<Empty, DeleteOperationMetadata>>

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, Boolean, 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}

forceBoolean

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Operation<Empty, DeleteOperationMetadata>

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
Operation<Empty, DeleteOperationMetadata>

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
Operation<Empty, DeleteOperationMetadata>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Operation<Empty, DeleteOperationMetadata>

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
Operation<Empty, DeleteOperationMetadata>

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, Boolean, 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}

forceBoolean

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
Operation<Empty, DeleteOperationMetadata>

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
Operation<Empty, DeleteOperationMetadata>

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, Boolean, 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}

forceBoolean

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
Operation<Empty, DeleteOperationMetadata>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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, Boolean, 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}

forceBoolean

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
Task<Operation<Empty, DeleteOperationMetadata>>

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, Boolean, 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}

forceBoolean

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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, Boolean, 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}

forceBoolean

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
Task<Operation<Empty, DeleteOperationMetadata>>

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, Boolean, 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}

forceBoolean

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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;
}

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
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>

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
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>

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
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>

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
Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>>

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
Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>>

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
Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>>

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
Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>>

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
Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>>

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
Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>>

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
Task<EntityType>

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
Task<EntityType>

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
Task<EntityType>

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
Task<EntityType>

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
Task<EntityType>

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
Task<EntityType>

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
Task<Feature>

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
Task<Feature>

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
Task<Feature>

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
Task<Feature>

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
Task<Feature>

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
Task<Feature>

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
Task<Featurestore>

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
Task<Featurestore>

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
Task<Featurestore>

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
Task<Featurestore>

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
Task<Featurestore>

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
Task<Featurestore>

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
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>

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
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>

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,
};
// 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
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>

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
Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>>

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
Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>>

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
Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>>

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,
};
// 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
Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>>

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,
};
// 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
Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>>

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
Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>>

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, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypes(FeaturestoreName parent, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedEnumerable<ListEntityTypesResponse, EntityType>

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
PagedEnumerable<ListEntityTypesResponse, EntityType>

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, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypes(string parent, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedEnumerable<ListEntityTypesResponse, EntityType>

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, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypesAsync(FeaturestoreName parent, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedAsyncEnumerable<ListEntityTypesResponse, EntityType>

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
PagedAsyncEnumerable<ListEntityTypesResponse, EntityType>

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, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypesAsync(string parent, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedAsyncEnumerable<ListEntityTypesResponse, EntityType>

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, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListFeaturesResponse, Feature> ListFeatures(EntityTypeName parent, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedEnumerable<ListFeaturesResponse, Feature>

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
PagedEnumerable<ListFeaturesResponse, Feature>

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, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListFeaturesResponse, Feature> ListFeatures(string parent, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedEnumerable<ListFeaturesResponse, Feature>

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, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListFeaturesResponse, Feature> ListFeaturesAsync(EntityTypeName parent, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedAsyncEnumerable<ListFeaturesResponse, Feature>

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
PagedAsyncEnumerable<ListFeaturesResponse, Feature>

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, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListFeaturesResponse, Feature> ListFeaturesAsync(string parent, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedAsyncEnumerable<ListFeaturesResponse, Feature>

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, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestores(LocationName parent, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedEnumerable<ListFeaturestoresResponse, Featurestore>

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
PagedEnumerable<ListFeaturestoresResponse, Featurestore>

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, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestores(string parent, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedEnumerable<ListFeaturestoresResponse, Featurestore>

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, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestoresAsync(LocationName parent, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore>

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
PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore>

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, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestoresAsync(string parent, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore>

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
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>

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
Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>>

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
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>

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
Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>>

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
Operation<EntityType, CreateEntityTypeOperationMetadata>

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
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>>

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
Operation<Feature, CreateFeatureOperationMetadata>

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
Task<Operation<Feature, CreateFeatureOperationMetadata>>

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
Operation<Featurestore, CreateFeaturestoreOperationMetadata>

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
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>>

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
Operation<Empty, DeleteOperationMetadata>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Operation<Empty, DeleteOperationMetadata>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Operation<Empty, DeleteOperationMetadata>

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
Task<Operation<Empty, DeleteOperationMetadata>>

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
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>

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
Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>>

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
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>

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
Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>>

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
Operation<Featurestore, UpdateFeaturestoreOperationMetadata>

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
Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>>

A task representing the result of polling the operation.

SearchFeatures(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<SearchFeaturesResponse, Feature> SearchFeatures(LocationName location, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedEnumerable<SearchFeaturesResponse, Feature>

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, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<SearchFeaturesResponse, Feature> SearchFeatures(LocationName location, string query, string pageToken = null, int? pageSize = default(int? ), 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 --&gt; Matches a Feature with ID containing the substring foo (eg. foo, foofeature, barfoo).
  • feature_id: foo*feature --&gt; Matches a Feature with ID containing the substring foo*feature (eg. foobarfeature).
  • feature_id: foo AND description: bar --&gt; 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; --&gt; Any Feature with description exactly equal to foo bar
  • value_type = DOUBLE --&gt; Features whose type is DOUBLE.
  • labels.active = yes AND labels.env = prod --&gt; Features having both (active: yes) and (env: prod) labels.
  • labels.env: * --&gt; 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.

pageSizeNullable<Int32>

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
PagedEnumerable<SearchFeaturesResponse, Feature>

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
PagedEnumerable<SearchFeaturesResponse, Feature>

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, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<SearchFeaturesResponse, Feature> SearchFeatures(string location, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedEnumerable<SearchFeaturesResponse, Feature>

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, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<SearchFeaturesResponse, Feature> SearchFeatures(string location, string query, string pageToken = null, int? pageSize = default(int? ), 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 --&gt; Matches a Feature with ID containing the substring foo (eg. foo, foofeature, barfoo).
  • feature_id: foo*feature --&gt; Matches a Feature with ID containing the substring foo*feature (eg. foobarfeature).
  • feature_id: foo AND description: bar --&gt; 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; --&gt; Any Feature with description exactly equal to foo bar
  • value_type = DOUBLE --&gt; Features whose type is DOUBLE.
  • labels.active = yes AND labels.env = prod --&gt; Features having both (active: yes) and (env: prod) labels.
  • labels.env: * --&gt; 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.

pageSizeNullable<Int32>

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
PagedEnumerable<SearchFeaturesResponse, Feature>

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, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<SearchFeaturesResponse, Feature> SearchFeaturesAsync(LocationName location, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedAsyncEnumerable<SearchFeaturesResponse, Feature>

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, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<SearchFeaturesResponse, Feature> SearchFeaturesAsync(LocationName location, string query, string pageToken = null, int? pageSize = default(int? ), 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 --&gt; Matches a Feature with ID containing the substring foo (eg. foo, foofeature, barfoo).
  • feature_id: foo*feature --&gt; Matches a Feature with ID containing the substring foo*feature (eg. foobarfeature).
  • feature_id: foo AND description: bar --&gt; 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; --&gt; Any Feature with description exactly equal to foo bar
  • value_type = DOUBLE --&gt; Features whose type is DOUBLE.
  • labels.active = yes AND labels.env = prod --&gt; Features having both (active: yes) and (env: prod) labels.
  • labels.env: * --&gt; 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.

pageSizeNullable<Int32>

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
PagedAsyncEnumerable<SearchFeaturesResponse, Feature>

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
PagedAsyncEnumerable<SearchFeaturesResponse, Feature>

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, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<SearchFeaturesResponse, Feature> SearchFeaturesAsync(string location, string pageToken = null, int? pageSize = default(int? ), 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.

pageSizeNullable<Int32>

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
PagedAsyncEnumerable<SearchFeaturesResponse, Feature>

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, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<SearchFeaturesResponse, Feature> SearchFeaturesAsync(string location, string query, string pageToken = null, int? pageSize = default(int? ), 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 --&gt; Matches a Feature with ID containing the substring foo (eg. foo, foofeature, barfoo).
  • feature_id: foo*feature --&gt; Matches a Feature with ID containing the substring foo*feature (eg. foobarfeature).
  • feature_id: foo AND description: bar --&gt; 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; --&gt; Any Feature with description exactly equal to foo bar
  • value_type = DOUBLE --&gt; Features whose type is DOUBLE.
  • labels.active = yes AND labels.env = prod --&gt; Features having both (active: yes) and (env: prod) labels.
  • labels.env: * --&gt; 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.

pageSizeNullable<Int32>

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
PagedAsyncEnumerable<SearchFeaturesResponse, Feature>

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
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
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<EntityType>

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
cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<EntityType>

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
Task<EntityType>

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
Task<EntityType>

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
  • monitoring_config.snapshot_analysis.disabled
  • monitoring_config.snapshot_analysis.monitoring_interval
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
  • monitoring_config.snapshot_analysis.disabled
  • monitoring_config.snapshot_analysis.monitoring_interval
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Feature>

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
  • monitoring_config.snapshot_analysis.disabled
  • monitoring_config.snapshot_analysis.monitoring_interval
cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Feature>

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
Task<Feature>

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
Task<Feature>

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
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Featurestore, UpdateFeaturestoreOperationMetadata>

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
Operation<Featurestore, UpdateFeaturestoreOperationMetadata>

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
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>>

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
cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>>

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
Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>>

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
Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>>

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;
}