Cloud AI Platform v1 API - Class FeatureOnlineStoreAdminServiceClient (3.5.0)

public abstract class FeatureOnlineStoreAdminServiceClient

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

FeatureOnlineStoreAdminService client wrapper, for convenient use.

Inheritance

object > FeatureOnlineStoreAdminServiceClient

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Remarks

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

Properties

CreateFeatureOnlineStoreOperationsClient

public virtual OperationsClient CreateFeatureOnlineStoreOperationsClient { get; }

The long-running operations client for CreateFeatureOnlineStore.

Property Value
Type Description
OperationsClient

CreateFeatureViewOperationsClient

public virtual OperationsClient CreateFeatureViewOperationsClient { get; }

The long-running operations client for CreateFeatureView.

Property Value
Type Description
OperationsClient

DefaultEndpoint

public static string DefaultEndpoint { get; }

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

Property Value
Type Description
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default FeatureOnlineStoreAdminService scopes.

Property Value
Type Description
IReadOnlyListstring
Remarks

The default FeatureOnlineStoreAdminService scopes are:

DeleteFeatureOnlineStoreOperationsClient

public virtual OperationsClient DeleteFeatureOnlineStoreOperationsClient { get; }

The long-running operations client for DeleteFeatureOnlineStore.

Property Value
Type Description
OperationsClient

DeleteFeatureViewOperationsClient

public virtual OperationsClient DeleteFeatureViewOperationsClient { get; }

The long-running operations client for DeleteFeatureView.

Property Value
Type Description
OperationsClient

GrpcClient

public virtual FeatureOnlineStoreAdminService.FeatureOnlineStoreAdminServiceClient GrpcClient { get; }

The underlying gRPC FeatureOnlineStoreAdminService client

Property Value
Type Description
FeatureOnlineStoreAdminServiceFeatureOnlineStoreAdminServiceClient

IAMPolicyClient

public virtual IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient

LocationsClient

public virtual LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
Type Description
ServiceMetadata

UpdateFeatureOnlineStoreOperationsClient

public virtual OperationsClient UpdateFeatureOnlineStoreOperationsClient { get; }

The long-running operations client for UpdateFeatureOnlineStore.

Property Value
Type Description
OperationsClient

UpdateFeatureViewOperationsClient

public virtual OperationsClient UpdateFeatureViewOperationsClient { get; }

The long-running operations client for UpdateFeatureView.

Property Value
Type Description
OperationsClient

Methods

Create()

public static FeatureOnlineStoreAdminServiceClient Create()

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

Returns
Type Description
FeatureOnlineStoreAdminServiceClient

The created FeatureOnlineStoreAdminServiceClient.

CreateAsync(CancellationToken)

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

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

Parameter
Name Description
cancellationToken CancellationToken

The CancellationToken to use while creating the client.

Returns
Type Description
TaskFeatureOnlineStoreAdminServiceClient

The task representing the created FeatureOnlineStoreAdminServiceClient.

CreateFeatureOnlineStore(LocationName, FeatureOnlineStore, string, CallSettings)

public virtual Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata> CreateFeatureOnlineStore(LocationName parent, FeatureOnlineStore featureOnlineStore, string featureOnlineStoreId, CallSettings callSettings = null)

Creates a new FeatureOnlineStore in a given project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the Location to create FeatureOnlineStores. Format: projects/{project}/locations/{location}

featureOnlineStore FeatureOnlineStore

Required. The FeatureOnlineStore to create.

featureOnlineStoreId string

Required. The ID to use for this FeatureOnlineStore, which will become the final component of the FeatureOnlineStore'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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationFeatureOnlineStoreCreateFeatureOnlineStoreOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
FeatureOnlineStore featureOnlineStore = new FeatureOnlineStore();
string featureOnlineStoreId = "";
// Make the request
Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata> response = featureOnlineStoreAdminServiceClient.CreateFeatureOnlineStore(parent, featureOnlineStore, featureOnlineStoreId);

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

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

CreateFeatureOnlineStore(CreateFeatureOnlineStoreRequest, CallSettings)

public virtual Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata> CreateFeatureOnlineStore(CreateFeatureOnlineStoreRequest request, CallSettings callSettings = null)

Creates a new FeatureOnlineStore in a given project and location.

Parameters
Name Description
request CreateFeatureOnlineStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationFeatureOnlineStoreCreateFeatureOnlineStoreOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
CreateFeatureOnlineStoreRequest request = new CreateFeatureOnlineStoreRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    FeatureOnlineStore = new FeatureOnlineStore(),
    FeatureOnlineStoreId = "",
};
// Make the request
Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata> response = featureOnlineStoreAdminServiceClient.CreateFeatureOnlineStore(request);

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

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

CreateFeatureOnlineStore(string, FeatureOnlineStore, string, CallSettings)

public virtual Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata> CreateFeatureOnlineStore(string parent, FeatureOnlineStore featureOnlineStore, string featureOnlineStoreId, CallSettings callSettings = null)

Creates a new FeatureOnlineStore in a given project and location.

Parameters
Name Description
parent string

Required. The resource name of the Location to create FeatureOnlineStores. Format: projects/{project}/locations/{location}

featureOnlineStore FeatureOnlineStore

Required. The FeatureOnlineStore to create.

featureOnlineStoreId string

Required. The ID to use for this FeatureOnlineStore, which will become the final component of the FeatureOnlineStore'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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationFeatureOnlineStoreCreateFeatureOnlineStoreOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
FeatureOnlineStore featureOnlineStore = new FeatureOnlineStore();
string featureOnlineStoreId = "";
// Make the request
Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata> response = featureOnlineStoreAdminServiceClient.CreateFeatureOnlineStore(parent, featureOnlineStore, featureOnlineStoreId);

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

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

CreateFeatureOnlineStoreAsync(LocationName, FeatureOnlineStore, string, CallSettings)

public virtual Task<Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata>> CreateFeatureOnlineStoreAsync(LocationName parent, FeatureOnlineStore featureOnlineStore, string featureOnlineStoreId, CallSettings callSettings = null)

Creates a new FeatureOnlineStore in a given project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the Location to create FeatureOnlineStores. Format: projects/{project}/locations/{location}

featureOnlineStore FeatureOnlineStore

Required. The FeatureOnlineStore to create.

featureOnlineStoreId string

Required. The ID to use for this FeatureOnlineStore, which will become the final component of the FeatureOnlineStore'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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationFeatureOnlineStoreCreateFeatureOnlineStoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
FeatureOnlineStore featureOnlineStore = new FeatureOnlineStore();
string featureOnlineStoreId = "";
// Make the request
Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata> response = await featureOnlineStoreAdminServiceClient.CreateFeatureOnlineStoreAsync(parent, featureOnlineStore, featureOnlineStoreId);

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

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

CreateFeatureOnlineStoreAsync(LocationName, FeatureOnlineStore, string, CancellationToken)

public virtual Task<Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata>> CreateFeatureOnlineStoreAsync(LocationName parent, FeatureOnlineStore featureOnlineStore, string featureOnlineStoreId, CancellationToken cancellationToken)

Creates a new FeatureOnlineStore in a given project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the Location to create FeatureOnlineStores. Format: projects/{project}/locations/{location}

featureOnlineStore FeatureOnlineStore

Required. The FeatureOnlineStore to create.

featureOnlineStoreId string

Required. The ID to use for this FeatureOnlineStore, which will become the final component of the FeatureOnlineStore'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.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationFeatureOnlineStoreCreateFeatureOnlineStoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
FeatureOnlineStore featureOnlineStore = new FeatureOnlineStore();
string featureOnlineStoreId = "";
// Make the request
Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata> response = await featureOnlineStoreAdminServiceClient.CreateFeatureOnlineStoreAsync(parent, featureOnlineStore, featureOnlineStoreId);

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

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

CreateFeatureOnlineStoreAsync(CreateFeatureOnlineStoreRequest, CallSettings)

public virtual Task<Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata>> CreateFeatureOnlineStoreAsync(CreateFeatureOnlineStoreRequest request, CallSettings callSettings = null)

Creates a new FeatureOnlineStore in a given project and location.

Parameters
Name Description
request CreateFeatureOnlineStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationFeatureOnlineStoreCreateFeatureOnlineStoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFeatureOnlineStoreRequest request = new CreateFeatureOnlineStoreRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    FeatureOnlineStore = new FeatureOnlineStore(),
    FeatureOnlineStoreId = "",
};
// Make the request
Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata> response = await featureOnlineStoreAdminServiceClient.CreateFeatureOnlineStoreAsync(request);

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

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

CreateFeatureOnlineStoreAsync(CreateFeatureOnlineStoreRequest, CancellationToken)

public virtual Task<Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata>> CreateFeatureOnlineStoreAsync(CreateFeatureOnlineStoreRequest request, CancellationToken cancellationToken)

Creates a new FeatureOnlineStore in a given project and location.

Parameters
Name Description
request CreateFeatureOnlineStoreRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationFeatureOnlineStoreCreateFeatureOnlineStoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFeatureOnlineStoreRequest request = new CreateFeatureOnlineStoreRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    FeatureOnlineStore = new FeatureOnlineStore(),
    FeatureOnlineStoreId = "",
};
// Make the request
Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata> response = await featureOnlineStoreAdminServiceClient.CreateFeatureOnlineStoreAsync(request);

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

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

CreateFeatureOnlineStoreAsync(string, FeatureOnlineStore, string, CallSettings)

public virtual Task<Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata>> CreateFeatureOnlineStoreAsync(string parent, FeatureOnlineStore featureOnlineStore, string featureOnlineStoreId, CallSettings callSettings = null)

Creates a new FeatureOnlineStore in a given project and location.

Parameters
Name Description
parent string

Required. The resource name of the Location to create FeatureOnlineStores. Format: projects/{project}/locations/{location}

featureOnlineStore FeatureOnlineStore

Required. The FeatureOnlineStore to create.

featureOnlineStoreId string

Required. The ID to use for this FeatureOnlineStore, which will become the final component of the FeatureOnlineStore'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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationFeatureOnlineStoreCreateFeatureOnlineStoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
FeatureOnlineStore featureOnlineStore = new FeatureOnlineStore();
string featureOnlineStoreId = "";
// Make the request
Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata> response = await featureOnlineStoreAdminServiceClient.CreateFeatureOnlineStoreAsync(parent, featureOnlineStore, featureOnlineStoreId);

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

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

CreateFeatureOnlineStoreAsync(string, FeatureOnlineStore, string, CancellationToken)

public virtual Task<Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata>> CreateFeatureOnlineStoreAsync(string parent, FeatureOnlineStore featureOnlineStore, string featureOnlineStoreId, CancellationToken cancellationToken)

Creates a new FeatureOnlineStore in a given project and location.

Parameters
Name Description
parent string

Required. The resource name of the Location to create FeatureOnlineStores. Format: projects/{project}/locations/{location}

featureOnlineStore FeatureOnlineStore

Required. The FeatureOnlineStore to create.

featureOnlineStoreId string

Required. The ID to use for this FeatureOnlineStore, which will become the final component of the FeatureOnlineStore'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.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationFeatureOnlineStoreCreateFeatureOnlineStoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
FeatureOnlineStore featureOnlineStore = new FeatureOnlineStore();
string featureOnlineStoreId = "";
// Make the request
Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata> response = await featureOnlineStoreAdminServiceClient.CreateFeatureOnlineStoreAsync(parent, featureOnlineStore, featureOnlineStoreId);

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

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

CreateFeatureView(CreateFeatureViewRequest, CallSettings)

public virtual Operation<FeatureView, CreateFeatureViewOperationMetadata> CreateFeatureView(CreateFeatureViewRequest request, CallSettings callSettings = null)

Creates a new FeatureView in a given FeatureOnlineStore.

Parameters
Name Description
request CreateFeatureViewRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationFeatureViewCreateFeatureViewOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
CreateFeatureViewRequest request = new CreateFeatureViewRequest
{
    ParentAsFeatureOnlineStoreName = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]"),
    FeatureView = new FeatureView(),
    FeatureViewId = "",
    RunSyncImmediately = false,
};
// Make the request
Operation<FeatureView, CreateFeatureViewOperationMetadata> response = featureOnlineStoreAdminServiceClient.CreateFeatureView(request);

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

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

CreateFeatureView(FeatureOnlineStoreName, FeatureView, string, CallSettings)

public virtual Operation<FeatureView, CreateFeatureViewOperationMetadata> CreateFeatureView(FeatureOnlineStoreName parent, FeatureView featureView, string featureViewId, CallSettings callSettings = null)

Creates a new FeatureView in a given FeatureOnlineStore.

Parameters
Name Description
parent FeatureOnlineStoreName

Required. The resource name of the FeatureOnlineStore to create FeatureViews. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

featureView FeatureView

Required. The FeatureView to create.

featureViewId string

Required. The ID to use for the FeatureView, which will become the final component of the FeatureView'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 FeatureOnlineStore.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationFeatureViewCreateFeatureViewOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
FeatureOnlineStoreName parent = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
FeatureView featureView = new FeatureView();
string featureViewId = "";
// Make the request
Operation<FeatureView, CreateFeatureViewOperationMetadata> response = featureOnlineStoreAdminServiceClient.CreateFeatureView(parent, featureView, featureViewId);

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

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

CreateFeatureView(string, FeatureView, string, CallSettings)

public virtual Operation<FeatureView, CreateFeatureViewOperationMetadata> CreateFeatureView(string parent, FeatureView featureView, string featureViewId, CallSettings callSettings = null)

Creates a new FeatureView in a given FeatureOnlineStore.

Parameters
Name Description
parent string

Required. The resource name of the FeatureOnlineStore to create FeatureViews. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

featureView FeatureView

Required. The FeatureView to create.

featureViewId string

Required. The ID to use for the FeatureView, which will become the final component of the FeatureView'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 FeatureOnlineStore.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationFeatureViewCreateFeatureViewOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]";
FeatureView featureView = new FeatureView();
string featureViewId = "";
// Make the request
Operation<FeatureView, CreateFeatureViewOperationMetadata> response = featureOnlineStoreAdminServiceClient.CreateFeatureView(parent, featureView, featureViewId);

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

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

CreateFeatureViewAsync(CreateFeatureViewRequest, CallSettings)

public virtual Task<Operation<FeatureView, CreateFeatureViewOperationMetadata>> CreateFeatureViewAsync(CreateFeatureViewRequest request, CallSettings callSettings = null)

Creates a new FeatureView in a given FeatureOnlineStore.

Parameters
Name Description
request CreateFeatureViewRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationFeatureViewCreateFeatureViewOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFeatureViewRequest request = new CreateFeatureViewRequest
{
    ParentAsFeatureOnlineStoreName = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]"),
    FeatureView = new FeatureView(),
    FeatureViewId = "",
    RunSyncImmediately = false,
};
// Make the request
Operation<FeatureView, CreateFeatureViewOperationMetadata> response = await featureOnlineStoreAdminServiceClient.CreateFeatureViewAsync(request);

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

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

CreateFeatureViewAsync(CreateFeatureViewRequest, CancellationToken)

public virtual Task<Operation<FeatureView, CreateFeatureViewOperationMetadata>> CreateFeatureViewAsync(CreateFeatureViewRequest request, CancellationToken cancellationToken)

Creates a new FeatureView in a given FeatureOnlineStore.

Parameters
Name Description
request CreateFeatureViewRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationFeatureViewCreateFeatureViewOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFeatureViewRequest request = new CreateFeatureViewRequest
{
    ParentAsFeatureOnlineStoreName = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]"),
    FeatureView = new FeatureView(),
    FeatureViewId = "",
    RunSyncImmediately = false,
};
// Make the request
Operation<FeatureView, CreateFeatureViewOperationMetadata> response = await featureOnlineStoreAdminServiceClient.CreateFeatureViewAsync(request);

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

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

CreateFeatureViewAsync(FeatureOnlineStoreName, FeatureView, string, CallSettings)

public virtual Task<Operation<FeatureView, CreateFeatureViewOperationMetadata>> CreateFeatureViewAsync(FeatureOnlineStoreName parent, FeatureView featureView, string featureViewId, CallSettings callSettings = null)

Creates a new FeatureView in a given FeatureOnlineStore.

Parameters
Name Description
parent FeatureOnlineStoreName

Required. The resource name of the FeatureOnlineStore to create FeatureViews. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

featureView FeatureView

Required. The FeatureView to create.

featureViewId string

Required. The ID to use for the FeatureView, which will become the final component of the FeatureView'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 FeatureOnlineStore.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationFeatureViewCreateFeatureViewOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureOnlineStoreName parent = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
FeatureView featureView = new FeatureView();
string featureViewId = "";
// Make the request
Operation<FeatureView, CreateFeatureViewOperationMetadata> response = await featureOnlineStoreAdminServiceClient.CreateFeatureViewAsync(parent, featureView, featureViewId);

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

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

CreateFeatureViewAsync(FeatureOnlineStoreName, FeatureView, string, CancellationToken)

public virtual Task<Operation<FeatureView, CreateFeatureViewOperationMetadata>> CreateFeatureViewAsync(FeatureOnlineStoreName parent, FeatureView featureView, string featureViewId, CancellationToken cancellationToken)

Creates a new FeatureView in a given FeatureOnlineStore.

Parameters
Name Description
parent FeatureOnlineStoreName

Required. The resource name of the FeatureOnlineStore to create FeatureViews. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

featureView FeatureView

Required. The FeatureView to create.

featureViewId string

Required. The ID to use for the FeatureView, which will become the final component of the FeatureView'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 FeatureOnlineStore.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationFeatureViewCreateFeatureViewOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureOnlineStoreName parent = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
FeatureView featureView = new FeatureView();
string featureViewId = "";
// Make the request
Operation<FeatureView, CreateFeatureViewOperationMetadata> response = await featureOnlineStoreAdminServiceClient.CreateFeatureViewAsync(parent, featureView, featureViewId);

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

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

CreateFeatureViewAsync(string, FeatureView, string, CallSettings)

public virtual Task<Operation<FeatureView, CreateFeatureViewOperationMetadata>> CreateFeatureViewAsync(string parent, FeatureView featureView, string featureViewId, CallSettings callSettings = null)

Creates a new FeatureView in a given FeatureOnlineStore.

Parameters
Name Description
parent string

Required. The resource name of the FeatureOnlineStore to create FeatureViews. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

featureView FeatureView

Required. The FeatureView to create.

featureViewId string

Required. The ID to use for the FeatureView, which will become the final component of the FeatureView'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 FeatureOnlineStore.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationFeatureViewCreateFeatureViewOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]";
FeatureView featureView = new FeatureView();
string featureViewId = "";
// Make the request
Operation<FeatureView, CreateFeatureViewOperationMetadata> response = await featureOnlineStoreAdminServiceClient.CreateFeatureViewAsync(parent, featureView, featureViewId);

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

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

CreateFeatureViewAsync(string, FeatureView, string, CancellationToken)

public virtual Task<Operation<FeatureView, CreateFeatureViewOperationMetadata>> CreateFeatureViewAsync(string parent, FeatureView featureView, string featureViewId, CancellationToken cancellationToken)

Creates a new FeatureView in a given FeatureOnlineStore.

Parameters
Name Description
parent string

Required. The resource name of the FeatureOnlineStore to create FeatureViews. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

featureView FeatureView

Required. The FeatureView to create.

featureViewId string

Required. The ID to use for the FeatureView, which will become the final component of the FeatureView'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 FeatureOnlineStore.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationFeatureViewCreateFeatureViewOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]";
FeatureView featureView = new FeatureView();
string featureViewId = "";
// Make the request
Operation<FeatureView, CreateFeatureViewOperationMetadata> response = await featureOnlineStoreAdminServiceClient.CreateFeatureViewAsync(parent, featureView, featureViewId);

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

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

DeleteFeatureOnlineStore(DeleteFeatureOnlineStoreRequest, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeatureOnlineStore(DeleteFeatureOnlineStoreRequest request, CallSettings callSettings = null)

Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.

Parameters
Name Description
request DeleteFeatureOnlineStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
DeleteFeatureOnlineStoreRequest request = new DeleteFeatureOnlineStoreRequest
{
    FeatureOnlineStoreName = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]"),
    Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featureOnlineStoreAdminServiceClient.DeleteFeatureOnlineStore(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 = featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureOnlineStore(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;
}

DeleteFeatureOnlineStore(FeatureOnlineStoreName, bool, CallSettings)

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

Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.

Parameters
Name Description
name FeatureOnlineStoreName

Required. The name of the FeatureOnlineStore to be deleted. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

force bool

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
FeatureOnlineStoreName name = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featureOnlineStoreAdminServiceClient.DeleteFeatureOnlineStore(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 = featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureOnlineStore(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;
}

DeleteFeatureOnlineStore(string, bool, CallSettings)

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

Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.

Parameters
Name Description
name string

Required. The name of the FeatureOnlineStore to be deleted. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

force bool

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featureOnlineStoreAdminServiceClient.DeleteFeatureOnlineStore(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 = featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureOnlineStore(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;
}

DeleteFeatureOnlineStoreAsync(DeleteFeatureOnlineStoreRequest, CallSettings)

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

Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.

Parameters
Name Description
request DeleteFeatureOnlineStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFeatureOnlineStoreRequest request = new DeleteFeatureOnlineStoreRequest
{
    FeatureOnlineStoreName = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]"),
    Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featureOnlineStoreAdminServiceClient.DeleteFeatureOnlineStoreAsync(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 featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureOnlineStoreAsync(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;
}

DeleteFeatureOnlineStoreAsync(DeleteFeatureOnlineStoreRequest, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureOnlineStoreAsync(DeleteFeatureOnlineStoreRequest request, CancellationToken cancellationToken)

Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.

Parameters
Name Description
request DeleteFeatureOnlineStoreRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFeatureOnlineStoreRequest request = new DeleteFeatureOnlineStoreRequest
{
    FeatureOnlineStoreName = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]"),
    Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featureOnlineStoreAdminServiceClient.DeleteFeatureOnlineStoreAsync(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 featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureOnlineStoreAsync(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;
}

DeleteFeatureOnlineStoreAsync(FeatureOnlineStoreName, bool, CallSettings)

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

Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.

Parameters
Name Description
name FeatureOnlineStoreName

Required. The name of the FeatureOnlineStore to be deleted. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

force bool

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureOnlineStoreName name = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featureOnlineStoreAdminServiceClient.DeleteFeatureOnlineStoreAsync(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 featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureOnlineStoreAsync(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;
}

DeleteFeatureOnlineStoreAsync(FeatureOnlineStoreName, bool, CancellationToken)

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

Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.

Parameters
Name Description
name FeatureOnlineStoreName

Required. The name of the FeatureOnlineStore to be deleted. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

force bool

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureOnlineStoreName name = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featureOnlineStoreAdminServiceClient.DeleteFeatureOnlineStoreAsync(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 featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureOnlineStoreAsync(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;
}

DeleteFeatureOnlineStoreAsync(string, bool, CallSettings)

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

Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.

Parameters
Name Description
name string

Required. The name of the FeatureOnlineStore to be deleted. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

force bool

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featureOnlineStoreAdminServiceClient.DeleteFeatureOnlineStoreAsync(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 featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureOnlineStoreAsync(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;
}

DeleteFeatureOnlineStoreAsync(string, bool, CancellationToken)

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

Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.

Parameters
Name Description
name string

Required. The name of the FeatureOnlineStore to be deleted. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

force bool

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featureOnlineStoreAdminServiceClient.DeleteFeatureOnlineStoreAsync(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 featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureOnlineStoreAsync(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;
}

DeleteFeatureView(DeleteFeatureViewRequest, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeatureView(DeleteFeatureViewRequest request, CallSettings callSettings = null)

Deletes a single FeatureView.

Parameters
Name Description
request DeleteFeatureViewRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
DeleteFeatureViewRequest request = new DeleteFeatureViewRequest
{
    FeatureViewName = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featureOnlineStoreAdminServiceClient.DeleteFeatureView(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 = featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureView(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;
}

DeleteFeatureView(FeatureViewName, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeatureView(FeatureViewName name, CallSettings callSettings = null)

Deletes a single FeatureView.

Parameters
Name Description
name FeatureViewName

Required. The name of the FeatureView to be deleted. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
FeatureViewName name = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featureOnlineStoreAdminServiceClient.DeleteFeatureView(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 = featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureView(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;
}

DeleteFeatureView(string, CallSettings)

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

Deletes a single FeatureView.

Parameters
Name Description
name string

Required. The name of the FeatureView to be deleted. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]/featureViews/[FEATURE_VIEW]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featureOnlineStoreAdminServiceClient.DeleteFeatureView(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 = featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureView(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;
}

DeleteFeatureViewAsync(DeleteFeatureViewRequest, CallSettings)

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

Deletes a single FeatureView.

Parameters
Name Description
request DeleteFeatureViewRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFeatureViewRequest request = new DeleteFeatureViewRequest
{
    FeatureViewName = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featureOnlineStoreAdminServiceClient.DeleteFeatureViewAsync(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 featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureViewAsync(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;
}

DeleteFeatureViewAsync(DeleteFeatureViewRequest, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureViewAsync(DeleteFeatureViewRequest request, CancellationToken cancellationToken)

Deletes a single FeatureView.

Parameters
Name Description
request DeleteFeatureViewRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFeatureViewRequest request = new DeleteFeatureViewRequest
{
    FeatureViewName = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featureOnlineStoreAdminServiceClient.DeleteFeatureViewAsync(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 featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureViewAsync(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;
}

DeleteFeatureViewAsync(FeatureViewName, CallSettings)

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

Deletes a single FeatureView.

Parameters
Name Description
name FeatureViewName

Required. The name of the FeatureView to be deleted. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureViewName name = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featureOnlineStoreAdminServiceClient.DeleteFeatureViewAsync(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 featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureViewAsync(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;
}

DeleteFeatureViewAsync(FeatureViewName, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureViewAsync(FeatureViewName name, CancellationToken cancellationToken)

Deletes a single FeatureView.

Parameters
Name Description
name FeatureViewName

Required. The name of the FeatureView to be deleted. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureViewName name = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featureOnlineStoreAdminServiceClient.DeleteFeatureViewAsync(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 featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureViewAsync(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;
}

DeleteFeatureViewAsync(string, CallSettings)

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

Deletes a single FeatureView.

Parameters
Name Description
name string

Required. The name of the FeatureView to be deleted. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]/featureViews/[FEATURE_VIEW]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featureOnlineStoreAdminServiceClient.DeleteFeatureViewAsync(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 featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureViewAsync(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;
}

DeleteFeatureViewAsync(string, CancellationToken)

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

Deletes a single FeatureView.

Parameters
Name Description
name string

Required. The name of the FeatureView to be deleted. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]/featureViews/[FEATURE_VIEW]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featureOnlineStoreAdminServiceClient.DeleteFeatureViewAsync(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 featureOnlineStoreAdminServiceClient.PollOnceDeleteFeatureViewAsync(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;
}

GetFeatureOnlineStore(FeatureOnlineStoreName, CallSettings)

public virtual FeatureOnlineStore GetFeatureOnlineStore(FeatureOnlineStoreName name, CallSettings callSettings = null)

Gets details of a single FeatureOnlineStore.

Parameters
Name Description
name FeatureOnlineStoreName

Required. The name of the FeatureOnlineStore resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FeatureOnlineStore

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
FeatureOnlineStoreName name = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
// Make the request
FeatureOnlineStore response = featureOnlineStoreAdminServiceClient.GetFeatureOnlineStore(name);

GetFeatureOnlineStore(GetFeatureOnlineStoreRequest, CallSettings)

public virtual FeatureOnlineStore GetFeatureOnlineStore(GetFeatureOnlineStoreRequest request, CallSettings callSettings = null)

Gets details of a single FeatureOnlineStore.

Parameters
Name Description
request GetFeatureOnlineStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FeatureOnlineStore

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
GetFeatureOnlineStoreRequest request = new GetFeatureOnlineStoreRequest
{
    FeatureOnlineStoreName = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]"),
};
// Make the request
FeatureOnlineStore response = featureOnlineStoreAdminServiceClient.GetFeatureOnlineStore(request);

GetFeatureOnlineStore(string, CallSettings)

public virtual FeatureOnlineStore GetFeatureOnlineStore(string name, CallSettings callSettings = null)

Gets details of a single FeatureOnlineStore.

Parameters
Name Description
name string

Required. The name of the FeatureOnlineStore resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FeatureOnlineStore

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]";
// Make the request
FeatureOnlineStore response = featureOnlineStoreAdminServiceClient.GetFeatureOnlineStore(name);

GetFeatureOnlineStoreAsync(FeatureOnlineStoreName, CallSettings)

public virtual Task<FeatureOnlineStore> GetFeatureOnlineStoreAsync(FeatureOnlineStoreName name, CallSettings callSettings = null)

Gets details of a single FeatureOnlineStore.

Parameters
Name Description
name FeatureOnlineStoreName

Required. The name of the FeatureOnlineStore resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeatureOnlineStore

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureOnlineStoreName name = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
// Make the request
FeatureOnlineStore response = await featureOnlineStoreAdminServiceClient.GetFeatureOnlineStoreAsync(name);

GetFeatureOnlineStoreAsync(FeatureOnlineStoreName, CancellationToken)

public virtual Task<FeatureOnlineStore> GetFeatureOnlineStoreAsync(FeatureOnlineStoreName name, CancellationToken cancellationToken)

Gets details of a single FeatureOnlineStore.

Parameters
Name Description
name FeatureOnlineStoreName

Required. The name of the FeatureOnlineStore resource.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskFeatureOnlineStore

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureOnlineStoreName name = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
// Make the request
FeatureOnlineStore response = await featureOnlineStoreAdminServiceClient.GetFeatureOnlineStoreAsync(name);

GetFeatureOnlineStoreAsync(GetFeatureOnlineStoreRequest, CallSettings)

public virtual Task<FeatureOnlineStore> GetFeatureOnlineStoreAsync(GetFeatureOnlineStoreRequest request, CallSettings callSettings = null)

Gets details of a single FeatureOnlineStore.

Parameters
Name Description
request GetFeatureOnlineStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeatureOnlineStore

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetFeatureOnlineStoreRequest request = new GetFeatureOnlineStoreRequest
{
    FeatureOnlineStoreName = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]"),
};
// Make the request
FeatureOnlineStore response = await featureOnlineStoreAdminServiceClient.GetFeatureOnlineStoreAsync(request);

GetFeatureOnlineStoreAsync(GetFeatureOnlineStoreRequest, CancellationToken)

public virtual Task<FeatureOnlineStore> GetFeatureOnlineStoreAsync(GetFeatureOnlineStoreRequest request, CancellationToken cancellationToken)

Gets details of a single FeatureOnlineStore.

Parameters
Name Description
request GetFeatureOnlineStoreRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskFeatureOnlineStore

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetFeatureOnlineStoreRequest request = new GetFeatureOnlineStoreRequest
{
    FeatureOnlineStoreName = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]"),
};
// Make the request
FeatureOnlineStore response = await featureOnlineStoreAdminServiceClient.GetFeatureOnlineStoreAsync(request);

GetFeatureOnlineStoreAsync(string, CallSettings)

public virtual Task<FeatureOnlineStore> GetFeatureOnlineStoreAsync(string name, CallSettings callSettings = null)

Gets details of a single FeatureOnlineStore.

Parameters
Name Description
name string

Required. The name of the FeatureOnlineStore resource.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeatureOnlineStore

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]";
// Make the request
FeatureOnlineStore response = await featureOnlineStoreAdminServiceClient.GetFeatureOnlineStoreAsync(name);

GetFeatureOnlineStoreAsync(string, CancellationToken)

public virtual Task<FeatureOnlineStore> GetFeatureOnlineStoreAsync(string name, CancellationToken cancellationToken)

Gets details of a single FeatureOnlineStore.

Parameters
Name Description
name string

Required. The name of the FeatureOnlineStore resource.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskFeatureOnlineStore

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]";
// Make the request
FeatureOnlineStore response = await featureOnlineStoreAdminServiceClient.GetFeatureOnlineStoreAsync(name);

GetFeatureView(FeatureViewName, CallSettings)

public virtual FeatureView GetFeatureView(FeatureViewName name, CallSettings callSettings = null)

Gets details of a single FeatureView.

Parameters
Name Description
name FeatureViewName

Required. The name of the FeatureView resource. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FeatureView

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
FeatureViewName name = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
// Make the request
FeatureView response = featureOnlineStoreAdminServiceClient.GetFeatureView(name);

GetFeatureView(GetFeatureViewRequest, CallSettings)

public virtual FeatureView GetFeatureView(GetFeatureViewRequest request, CallSettings callSettings = null)

Gets details of a single FeatureView.

Parameters
Name Description
request GetFeatureViewRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FeatureView

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
GetFeatureViewRequest request = new GetFeatureViewRequest
{
    FeatureViewName = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]"),
};
// Make the request
FeatureView response = featureOnlineStoreAdminServiceClient.GetFeatureView(request);

GetFeatureView(string, CallSettings)

public virtual FeatureView GetFeatureView(string name, CallSettings callSettings = null)

Gets details of a single FeatureView.

Parameters
Name Description
name string

Required. The name of the FeatureView resource. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FeatureView

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]/featureViews/[FEATURE_VIEW]";
// Make the request
FeatureView response = featureOnlineStoreAdminServiceClient.GetFeatureView(name);

GetFeatureViewAsync(FeatureViewName, CallSettings)

public virtual Task<FeatureView> GetFeatureViewAsync(FeatureViewName name, CallSettings callSettings = null)

Gets details of a single FeatureView.

Parameters
Name Description
name FeatureViewName

Required. The name of the FeatureView resource. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeatureView

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureViewName name = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
// Make the request
FeatureView response = await featureOnlineStoreAdminServiceClient.GetFeatureViewAsync(name);

GetFeatureViewAsync(FeatureViewName, CancellationToken)

public virtual Task<FeatureView> GetFeatureViewAsync(FeatureViewName name, CancellationToken cancellationToken)

Gets details of a single FeatureView.

Parameters
Name Description
name FeatureViewName

Required. The name of the FeatureView resource. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskFeatureView

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureViewName name = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
// Make the request
FeatureView response = await featureOnlineStoreAdminServiceClient.GetFeatureViewAsync(name);

GetFeatureViewAsync(GetFeatureViewRequest, CallSettings)

public virtual Task<FeatureView> GetFeatureViewAsync(GetFeatureViewRequest request, CallSettings callSettings = null)

Gets details of a single FeatureView.

Parameters
Name Description
request GetFeatureViewRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeatureView

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetFeatureViewRequest request = new GetFeatureViewRequest
{
    FeatureViewName = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]"),
};
// Make the request
FeatureView response = await featureOnlineStoreAdminServiceClient.GetFeatureViewAsync(request);

GetFeatureViewAsync(GetFeatureViewRequest, CancellationToken)

public virtual Task<FeatureView> GetFeatureViewAsync(GetFeatureViewRequest request, CancellationToken cancellationToken)

Gets details of a single FeatureView.

Parameters
Name Description
request GetFeatureViewRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskFeatureView

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetFeatureViewRequest request = new GetFeatureViewRequest
{
    FeatureViewName = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]"),
};
// Make the request
FeatureView response = await featureOnlineStoreAdminServiceClient.GetFeatureViewAsync(request);

GetFeatureViewAsync(string, CallSettings)

public virtual Task<FeatureView> GetFeatureViewAsync(string name, CallSettings callSettings = null)

Gets details of a single FeatureView.

Parameters
Name Description
name string

Required. The name of the FeatureView resource. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeatureView

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]/featureViews/[FEATURE_VIEW]";
// Make the request
FeatureView response = await featureOnlineStoreAdminServiceClient.GetFeatureViewAsync(name);

GetFeatureViewAsync(string, CancellationToken)

public virtual Task<FeatureView> GetFeatureViewAsync(string name, CancellationToken cancellationToken)

Gets details of a single FeatureView.

Parameters
Name Description
name string

Required. The name of the FeatureView resource. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskFeatureView

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]/featureViews/[FEATURE_VIEW]";
// Make the request
FeatureView response = await featureOnlineStoreAdminServiceClient.GetFeatureViewAsync(name);

GetFeatureViewSync(FeatureViewSyncName, CallSettings)

public virtual FeatureViewSync GetFeatureViewSync(FeatureViewSyncName name, CallSettings callSettings = null)

Gets details of a single FeatureViewSync.

Parameters
Name Description
name FeatureViewSyncName

Required. The name of the FeatureViewSync resource. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FeatureViewSync

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
FeatureViewSyncName name = FeatureViewSyncName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
// Make the request
FeatureViewSync response = featureOnlineStoreAdminServiceClient.GetFeatureViewSync(name);

GetFeatureViewSync(GetFeatureViewSyncRequest, CallSettings)

public virtual FeatureViewSync GetFeatureViewSync(GetFeatureViewSyncRequest request, CallSettings callSettings = null)

Gets details of a single FeatureViewSync.

Parameters
Name Description
request GetFeatureViewSyncRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FeatureViewSync

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
GetFeatureViewSyncRequest request = new GetFeatureViewSyncRequest
{
    FeatureViewSyncName = FeatureViewSyncName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]"),
};
// Make the request
FeatureViewSync response = featureOnlineStoreAdminServiceClient.GetFeatureViewSync(request);

GetFeatureViewSync(string, CallSettings)

public virtual FeatureViewSync GetFeatureViewSync(string name, CallSettings callSettings = null)

Gets details of a single FeatureViewSync.

Parameters
Name Description
name string

Required. The name of the FeatureViewSync resource. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FeatureViewSync

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]/featureViews/[FEATURE_VIEW]/featureViewSyncs/feature_view_sync";
// Make the request
FeatureViewSync response = featureOnlineStoreAdminServiceClient.GetFeatureViewSync(name);

GetFeatureViewSyncAsync(FeatureViewSyncName, CallSettings)

public virtual Task<FeatureViewSync> GetFeatureViewSyncAsync(FeatureViewSyncName name, CallSettings callSettings = null)

Gets details of a single FeatureViewSync.

Parameters
Name Description
name FeatureViewSyncName

Required. The name of the FeatureViewSync resource. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeatureViewSync

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureViewSyncName name = FeatureViewSyncName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
// Make the request
FeatureViewSync response = await featureOnlineStoreAdminServiceClient.GetFeatureViewSyncAsync(name);

GetFeatureViewSyncAsync(FeatureViewSyncName, CancellationToken)

public virtual Task<FeatureViewSync> GetFeatureViewSyncAsync(FeatureViewSyncName name, CancellationToken cancellationToken)

Gets details of a single FeatureViewSync.

Parameters
Name Description
name FeatureViewSyncName

Required. The name of the FeatureViewSync resource. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskFeatureViewSync

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureViewSyncName name = FeatureViewSyncName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
// Make the request
FeatureViewSync response = await featureOnlineStoreAdminServiceClient.GetFeatureViewSyncAsync(name);

GetFeatureViewSyncAsync(GetFeatureViewSyncRequest, CallSettings)

public virtual Task<FeatureViewSync> GetFeatureViewSyncAsync(GetFeatureViewSyncRequest request, CallSettings callSettings = null)

Gets details of a single FeatureViewSync.

Parameters
Name Description
request GetFeatureViewSyncRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeatureViewSync

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetFeatureViewSyncRequest request = new GetFeatureViewSyncRequest
{
    FeatureViewSyncName = FeatureViewSyncName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]"),
};
// Make the request
FeatureViewSync response = await featureOnlineStoreAdminServiceClient.GetFeatureViewSyncAsync(request);

GetFeatureViewSyncAsync(GetFeatureViewSyncRequest, CancellationToken)

public virtual Task<FeatureViewSync> GetFeatureViewSyncAsync(GetFeatureViewSyncRequest request, CancellationToken cancellationToken)

Gets details of a single FeatureViewSync.

Parameters
Name Description
request GetFeatureViewSyncRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskFeatureViewSync

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetFeatureViewSyncRequest request = new GetFeatureViewSyncRequest
{
    FeatureViewSyncName = FeatureViewSyncName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]"),
};
// Make the request
FeatureViewSync response = await featureOnlineStoreAdminServiceClient.GetFeatureViewSyncAsync(request);

GetFeatureViewSyncAsync(string, CallSettings)

public virtual Task<FeatureViewSync> GetFeatureViewSyncAsync(string name, CallSettings callSettings = null)

Gets details of a single FeatureViewSync.

Parameters
Name Description
name string

Required. The name of the FeatureViewSync resource. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFeatureViewSync

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]/featureViews/[FEATURE_VIEW]/featureViewSyncs/feature_view_sync";
// Make the request
FeatureViewSync response = await featureOnlineStoreAdminServiceClient.GetFeatureViewSyncAsync(name);

GetFeatureViewSyncAsync(string, CancellationToken)

public virtual Task<FeatureViewSync> GetFeatureViewSyncAsync(string name, CancellationToken cancellationToken)

Gets details of a single FeatureViewSync.

Parameters
Name Description
name string

Required. The name of the FeatureViewSync resource. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskFeatureViewSync

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]/featureViews/[FEATURE_VIEW]/featureViewSyncs/feature_view_sync";
// Make the request
FeatureViewSync response = await featureOnlineStoreAdminServiceClient.GetFeatureViewSyncAsync(name);

ListFeatureOnlineStores(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListFeatureOnlineStoresResponse, FeatureOnlineStore> ListFeatureOnlineStores(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists FeatureOnlineStores in a given project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the Location to list FeatureOnlineStores. Format: projects/{project}/locations/{location}

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListFeatureOnlineStoresResponseFeatureOnlineStore

A pageable sequence of FeatureOnlineStore resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListFeatureOnlineStoresResponse, FeatureOnlineStore> response = featureOnlineStoreAdminServiceClient.ListFeatureOnlineStores(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (FeatureOnlineStore 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 (ListFeatureOnlineStoresResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureOnlineStore 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<FeatureOnlineStore> 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 (FeatureOnlineStore 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;

ListFeatureOnlineStores(ListFeatureOnlineStoresRequest, CallSettings)

public virtual PagedEnumerable<ListFeatureOnlineStoresResponse, FeatureOnlineStore> ListFeatureOnlineStores(ListFeatureOnlineStoresRequest request, CallSettings callSettings = null)

Lists FeatureOnlineStores in a given project and location.

Parameters
Name Description
request ListFeatureOnlineStoresRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListFeatureOnlineStoresResponseFeatureOnlineStore

A pageable sequence of FeatureOnlineStore resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
ListFeatureOnlineStoresRequest request = new ListFeatureOnlineStoresRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListFeatureOnlineStoresResponse, FeatureOnlineStore> response = featureOnlineStoreAdminServiceClient.ListFeatureOnlineStores(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (FeatureOnlineStore 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 (ListFeatureOnlineStoresResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureOnlineStore 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<FeatureOnlineStore> 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 (FeatureOnlineStore 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;

ListFeatureOnlineStores(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListFeatureOnlineStoresResponse, FeatureOnlineStore> ListFeatureOnlineStores(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists FeatureOnlineStores in a given project and location.

Parameters
Name Description
parent string

Required. The resource name of the Location to list FeatureOnlineStores. Format: projects/{project}/locations/{location}

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListFeatureOnlineStoresResponseFeatureOnlineStore

A pageable sequence of FeatureOnlineStore resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListFeatureOnlineStoresResponse, FeatureOnlineStore> response = featureOnlineStoreAdminServiceClient.ListFeatureOnlineStores(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (FeatureOnlineStore 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 (ListFeatureOnlineStoresResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureOnlineStore 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<FeatureOnlineStore> 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 (FeatureOnlineStore 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;

ListFeatureOnlineStoresAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListFeatureOnlineStoresResponse, FeatureOnlineStore> ListFeatureOnlineStoresAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists FeatureOnlineStores in a given project and location.

Parameters
Name Description
parent LocationName

Required. The resource name of the Location to list FeatureOnlineStores. Format: projects/{project}/locations/{location}

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListFeatureOnlineStoresResponseFeatureOnlineStore

A pageable asynchronous sequence of FeatureOnlineStore resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListFeatureOnlineStoresResponse, FeatureOnlineStore> response = featureOnlineStoreAdminServiceClient.ListFeatureOnlineStoresAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeatureOnlineStore 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((ListFeatureOnlineStoresResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureOnlineStore 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<FeatureOnlineStore> 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 (FeatureOnlineStore 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;

ListFeatureOnlineStoresAsync(ListFeatureOnlineStoresRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListFeatureOnlineStoresResponse, FeatureOnlineStore> ListFeatureOnlineStoresAsync(ListFeatureOnlineStoresRequest request, CallSettings callSettings = null)

Lists FeatureOnlineStores in a given project and location.

Parameters
Name Description
request ListFeatureOnlineStoresRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListFeatureOnlineStoresResponseFeatureOnlineStore

A pageable asynchronous sequence of FeatureOnlineStore resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListFeatureOnlineStoresRequest request = new ListFeatureOnlineStoresRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListFeatureOnlineStoresResponse, FeatureOnlineStore> response = featureOnlineStoreAdminServiceClient.ListFeatureOnlineStoresAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeatureOnlineStore 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((ListFeatureOnlineStoresResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureOnlineStore 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<FeatureOnlineStore> 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 (FeatureOnlineStore 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;

ListFeatureOnlineStoresAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListFeatureOnlineStoresResponse, FeatureOnlineStore> ListFeatureOnlineStoresAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists FeatureOnlineStores in a given project and location.

Parameters
Name Description
parent string

Required. The resource name of the Location to list FeatureOnlineStores. Format: projects/{project}/locations/{location}

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListFeatureOnlineStoresResponseFeatureOnlineStore

A pageable asynchronous sequence of FeatureOnlineStore resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListFeatureOnlineStoresResponse, FeatureOnlineStore> response = featureOnlineStoreAdminServiceClient.ListFeatureOnlineStoresAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeatureOnlineStore 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((ListFeatureOnlineStoresResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureOnlineStore 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<FeatureOnlineStore> 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 (FeatureOnlineStore 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;

ListFeatureViewSyncs(FeatureViewName, string, int?, CallSettings)

public virtual PagedEnumerable<ListFeatureViewSyncsResponse, FeatureViewSync> ListFeatureViewSyncs(FeatureViewName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists FeatureViewSyncs in a given FeatureView.

Parameters
Name Description
parent FeatureViewName

Required. The resource name of the FeatureView to list FeatureViewSyncs. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListFeatureViewSyncsResponseFeatureViewSync

A pageable sequence of FeatureViewSync resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
FeatureViewName parent = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
// Make the request
PagedEnumerable<ListFeatureViewSyncsResponse, FeatureViewSync> response = featureOnlineStoreAdminServiceClient.ListFeatureViewSyncs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (FeatureViewSync 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 (ListFeatureViewSyncsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureViewSync 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<FeatureViewSync> 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 (FeatureViewSync 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;

ListFeatureViewSyncs(ListFeatureViewSyncsRequest, CallSettings)

public virtual PagedEnumerable<ListFeatureViewSyncsResponse, FeatureViewSync> ListFeatureViewSyncs(ListFeatureViewSyncsRequest request, CallSettings callSettings = null)

Lists FeatureViewSyncs in a given FeatureView.

Parameters
Name Description
request ListFeatureViewSyncsRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListFeatureViewSyncsResponseFeatureViewSync

A pageable sequence of FeatureViewSync resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
ListFeatureViewSyncsRequest request = new ListFeatureViewSyncsRequest
{
    ParentAsFeatureViewName = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListFeatureViewSyncsResponse, FeatureViewSync> response = featureOnlineStoreAdminServiceClient.ListFeatureViewSyncs(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (FeatureViewSync 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 (ListFeatureViewSyncsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureViewSync 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<FeatureViewSync> 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 (FeatureViewSync 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;

ListFeatureViewSyncs(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListFeatureViewSyncsResponse, FeatureViewSync> ListFeatureViewSyncs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists FeatureViewSyncs in a given FeatureView.

Parameters
Name Description
parent string

Required. The resource name of the FeatureView to list FeatureViewSyncs. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListFeatureViewSyncsResponseFeatureViewSync

A pageable sequence of FeatureViewSync resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]/featureViews/[FEATURE_VIEW]";
// Make the request
PagedEnumerable<ListFeatureViewSyncsResponse, FeatureViewSync> response = featureOnlineStoreAdminServiceClient.ListFeatureViewSyncs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (FeatureViewSync 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 (ListFeatureViewSyncsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureViewSync 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<FeatureViewSync> 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 (FeatureViewSync 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;

ListFeatureViewSyncsAsync(FeatureViewName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListFeatureViewSyncsResponse, FeatureViewSync> ListFeatureViewSyncsAsync(FeatureViewName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists FeatureViewSyncs in a given FeatureView.

Parameters
Name Description
parent FeatureViewName

Required. The resource name of the FeatureView to list FeatureViewSyncs. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListFeatureViewSyncsResponseFeatureViewSync

A pageable asynchronous sequence of FeatureViewSync resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureViewName parent = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
// Make the request
PagedAsyncEnumerable<ListFeatureViewSyncsResponse, FeatureViewSync> response = featureOnlineStoreAdminServiceClient.ListFeatureViewSyncsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeatureViewSync 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((ListFeatureViewSyncsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureViewSync 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<FeatureViewSync> 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 (FeatureViewSync 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;

ListFeatureViewSyncsAsync(ListFeatureViewSyncsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListFeatureViewSyncsResponse, FeatureViewSync> ListFeatureViewSyncsAsync(ListFeatureViewSyncsRequest request, CallSettings callSettings = null)

Lists FeatureViewSyncs in a given FeatureView.

Parameters
Name Description
request ListFeatureViewSyncsRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListFeatureViewSyncsResponseFeatureViewSync

A pageable asynchronous sequence of FeatureViewSync resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListFeatureViewSyncsRequest request = new ListFeatureViewSyncsRequest
{
    ParentAsFeatureViewName = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListFeatureViewSyncsResponse, FeatureViewSync> response = featureOnlineStoreAdminServiceClient.ListFeatureViewSyncsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeatureViewSync 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((ListFeatureViewSyncsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureViewSync 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<FeatureViewSync> 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 (FeatureViewSync 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;

ListFeatureViewSyncsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListFeatureViewSyncsResponse, FeatureViewSync> ListFeatureViewSyncsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists FeatureViewSyncs in a given FeatureView.

Parameters
Name Description
parent string

Required. The resource name of the FeatureView to list FeatureViewSyncs. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListFeatureViewSyncsResponseFeatureViewSync

A pageable asynchronous sequence of FeatureViewSync resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]/featureViews/[FEATURE_VIEW]";
// Make the request
PagedAsyncEnumerable<ListFeatureViewSyncsResponse, FeatureViewSync> response = featureOnlineStoreAdminServiceClient.ListFeatureViewSyncsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeatureViewSync 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((ListFeatureViewSyncsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureViewSync 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<FeatureViewSync> 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 (FeatureViewSync 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;

ListFeatureViews(FeatureOnlineStoreName, string, int?, CallSettings)

public virtual PagedEnumerable<ListFeatureViewsResponse, FeatureView> ListFeatureViews(FeatureOnlineStoreName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists FeatureViews in a given FeatureOnlineStore.

Parameters
Name Description
parent FeatureOnlineStoreName

Required. The resource name of the FeatureOnlineStore to list FeatureViews. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListFeatureViewsResponseFeatureView

A pageable sequence of FeatureView resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
FeatureOnlineStoreName parent = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
// Make the request
PagedEnumerable<ListFeatureViewsResponse, FeatureView> response = featureOnlineStoreAdminServiceClient.ListFeatureViews(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (FeatureView 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 (ListFeatureViewsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureView 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<FeatureView> 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 (FeatureView 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;

ListFeatureViews(ListFeatureViewsRequest, CallSettings)

public virtual PagedEnumerable<ListFeatureViewsResponse, FeatureView> ListFeatureViews(ListFeatureViewsRequest request, CallSettings callSettings = null)

Lists FeatureViews in a given FeatureOnlineStore.

Parameters
Name Description
request ListFeatureViewsRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListFeatureViewsResponseFeatureView

A pageable sequence of FeatureView resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
ListFeatureViewsRequest request = new ListFeatureViewsRequest
{
    ParentAsFeatureOnlineStoreName = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListFeatureViewsResponse, FeatureView> response = featureOnlineStoreAdminServiceClient.ListFeatureViews(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (FeatureView 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 (ListFeatureViewsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureView 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<FeatureView> 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 (FeatureView 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;

ListFeatureViews(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListFeatureViewsResponse, FeatureView> ListFeatureViews(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists FeatureViews in a given FeatureOnlineStore.

Parameters
Name Description
parent string

Required. The resource name of the FeatureOnlineStore to list FeatureViews. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListFeatureViewsResponseFeatureView

A pageable sequence of FeatureView resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]";
// Make the request
PagedEnumerable<ListFeatureViewsResponse, FeatureView> response = featureOnlineStoreAdminServiceClient.ListFeatureViews(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (FeatureView 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 (ListFeatureViewsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureView 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<FeatureView> 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 (FeatureView 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;

ListFeatureViewsAsync(FeatureOnlineStoreName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListFeatureViewsResponse, FeatureView> ListFeatureViewsAsync(FeatureOnlineStoreName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists FeatureViews in a given FeatureOnlineStore.

Parameters
Name Description
parent FeatureOnlineStoreName

Required. The resource name of the FeatureOnlineStore to list FeatureViews. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListFeatureViewsResponseFeatureView

A pageable asynchronous sequence of FeatureView resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureOnlineStoreName parent = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]");
// Make the request
PagedAsyncEnumerable<ListFeatureViewsResponse, FeatureView> response = featureOnlineStoreAdminServiceClient.ListFeatureViewsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeatureView 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((ListFeatureViewsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureView 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<FeatureView> 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 (FeatureView 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;

ListFeatureViewsAsync(ListFeatureViewsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListFeatureViewsResponse, FeatureView> ListFeatureViewsAsync(ListFeatureViewsRequest request, CallSettings callSettings = null)

Lists FeatureViews in a given FeatureOnlineStore.

Parameters
Name Description
request ListFeatureViewsRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListFeatureViewsResponseFeatureView

A pageable asynchronous sequence of FeatureView resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListFeatureViewsRequest request = new ListFeatureViewsRequest
{
    ParentAsFeatureOnlineStoreName = FeatureOnlineStoreName.FromProjectLocationFeatureOnlineStore("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListFeatureViewsResponse, FeatureView> response = featureOnlineStoreAdminServiceClient.ListFeatureViewsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeatureView 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((ListFeatureViewsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureView 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<FeatureView> 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 (FeatureView 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;

ListFeatureViewsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListFeatureViewsResponse, FeatureView> ListFeatureViewsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists FeatureViews in a given FeatureOnlineStore.

Parameters
Name Description
parent string

Required. The resource name of the FeatureOnlineStore to list FeatureViews. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListFeatureViewsResponseFeatureView

A pageable asynchronous sequence of FeatureView resources.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]";
// Make the request
PagedAsyncEnumerable<ListFeatureViewsResponse, FeatureView> response = featureOnlineStoreAdminServiceClient.ListFeatureViewsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FeatureView 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((ListFeatureViewsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (FeatureView 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<FeatureView> 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 (FeatureView 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;

PollOnceCreateFeatureOnlineStore(string, CallSettings)

public virtual Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata> PollOnceCreateFeatureOnlineStore(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateFeatureOnlineStore.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationFeatureOnlineStoreCreateFeatureOnlineStoreOperationMetadata

The result of polling the operation.

PollOnceCreateFeatureOnlineStoreAsync(string, CallSettings)

public virtual Task<Operation<FeatureOnlineStore, CreateFeatureOnlineStoreOperationMetadata>> PollOnceCreateFeatureOnlineStoreAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateFeatureOnlineStore.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationFeatureOnlineStoreCreateFeatureOnlineStoreOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateFeatureView(string, CallSettings)

public virtual Operation<FeatureView, CreateFeatureViewOperationMetadata> PollOnceCreateFeatureView(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateFeatureView .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationFeatureViewCreateFeatureViewOperationMetadata

The result of polling the operation.

PollOnceCreateFeatureViewAsync(string, CallSettings)

public virtual Task<Operation<FeatureView, CreateFeatureViewOperationMetadata>> PollOnceCreateFeatureViewAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateFeatureView.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationFeatureViewCreateFeatureViewOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteFeatureOnlineStore(string, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> PollOnceDeleteFeatureOnlineStore(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteFeatureOnlineStore.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The result of polling the operation.

PollOnceDeleteFeatureOnlineStoreAsync(string, CallSettings)

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

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteFeatureOnlineStore.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteFeatureView(string, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> PollOnceDeleteFeatureView(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteFeatureView .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The result of polling the operation.

PollOnceDeleteFeatureViewAsync(string, CallSettings)

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

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteFeatureView.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateFeatureOnlineStore(string, CallSettings)

public virtual Operation<FeatureOnlineStore, UpdateFeatureOnlineStoreOperationMetadata> PollOnceUpdateFeatureOnlineStore(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateFeatureOnlineStore.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationFeatureOnlineStoreUpdateFeatureOnlineStoreOperationMetadata

The result of polling the operation.

PollOnceUpdateFeatureOnlineStoreAsync(string, CallSettings)

public virtual Task<Operation<FeatureOnlineStore, UpdateFeatureOnlineStoreOperationMetadata>> PollOnceUpdateFeatureOnlineStoreAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateFeatureOnlineStore.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationFeatureOnlineStoreUpdateFeatureOnlineStoreOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateFeatureView(string, CallSettings)

public virtual Operation<FeatureView, UpdateFeatureViewOperationMetadata> PollOnceUpdateFeatureView(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateFeatureView .

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationFeatureViewUpdateFeatureViewOperationMetadata

The result of polling the operation.

PollOnceUpdateFeatureViewAsync(string, CallSettings)

public virtual Task<Operation<FeatureView, UpdateFeatureViewOperationMetadata>> PollOnceUpdateFeatureViewAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateFeatureView.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationFeatureViewUpdateFeatureViewOperationMetadata

A task representing the result of polling the operation.

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
Type Description
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.

SyncFeatureView(FeatureViewName, CallSettings)

public virtual SyncFeatureViewResponse SyncFeatureView(FeatureViewName featureView, CallSettings callSettings = null)

Triggers on-demand sync for the FeatureView.

Parameters
Name Description
featureView FeatureViewName

Required. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
SyncFeatureViewResponse

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
FeatureViewName featureView = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
// Make the request
SyncFeatureViewResponse response = featureOnlineStoreAdminServiceClient.SyncFeatureView(featureView);

SyncFeatureView(SyncFeatureViewRequest, CallSettings)

public virtual SyncFeatureViewResponse SyncFeatureView(SyncFeatureViewRequest request, CallSettings callSettings = null)

Triggers on-demand sync for the FeatureView.

Parameters
Name Description
request SyncFeatureViewRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
SyncFeatureViewResponse

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
SyncFeatureViewRequest request = new SyncFeatureViewRequest
{
    FeatureViewAsFeatureViewName = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]"),
};
// Make the request
SyncFeatureViewResponse response = featureOnlineStoreAdminServiceClient.SyncFeatureView(request);

SyncFeatureView(string, CallSettings)

public virtual SyncFeatureViewResponse SyncFeatureView(string featureView, CallSettings callSettings = null)

Triggers on-demand sync for the FeatureView.

Parameters
Name Description
featureView string

Required. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
SyncFeatureViewResponse

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
string featureView = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]/featureViews/[FEATURE_VIEW]";
// Make the request
SyncFeatureViewResponse response = featureOnlineStoreAdminServiceClient.SyncFeatureView(featureView);

SyncFeatureViewAsync(FeatureViewName, CallSettings)

public virtual Task<SyncFeatureViewResponse> SyncFeatureViewAsync(FeatureViewName featureView, CallSettings callSettings = null)

Triggers on-demand sync for the FeatureView.

Parameters
Name Description
featureView FeatureViewName

Required. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSyncFeatureViewResponse

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureViewName featureView = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
// Make the request
SyncFeatureViewResponse response = await featureOnlineStoreAdminServiceClient.SyncFeatureViewAsync(featureView);

SyncFeatureViewAsync(FeatureViewName, CancellationToken)

public virtual Task<SyncFeatureViewResponse> SyncFeatureViewAsync(FeatureViewName featureView, CancellationToken cancellationToken)

Triggers on-demand sync for the FeatureView.

Parameters
Name Description
featureView FeatureViewName

Required. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskSyncFeatureViewResponse

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureViewName featureView = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]");
// Make the request
SyncFeatureViewResponse response = await featureOnlineStoreAdminServiceClient.SyncFeatureViewAsync(featureView);

SyncFeatureViewAsync(SyncFeatureViewRequest, CallSettings)

public virtual Task<SyncFeatureViewResponse> SyncFeatureViewAsync(SyncFeatureViewRequest request, CallSettings callSettings = null)

Triggers on-demand sync for the FeatureView.

Parameters
Name Description
request SyncFeatureViewRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSyncFeatureViewResponse

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SyncFeatureViewRequest request = new SyncFeatureViewRequest
{
    FeatureViewAsFeatureViewName = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]"),
};
// Make the request
SyncFeatureViewResponse response = await featureOnlineStoreAdminServiceClient.SyncFeatureViewAsync(request);

SyncFeatureViewAsync(SyncFeatureViewRequest, CancellationToken)

public virtual Task<SyncFeatureViewResponse> SyncFeatureViewAsync(SyncFeatureViewRequest request, CancellationToken cancellationToken)

Triggers on-demand sync for the FeatureView.

Parameters
Name Description
request SyncFeatureViewRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskSyncFeatureViewResponse

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SyncFeatureViewRequest request = new SyncFeatureViewRequest
{
    FeatureViewAsFeatureViewName = FeatureViewName.FromProjectLocationFeatureOnlineStoreFeatureView("[PROJECT]", "[LOCATION]", "[FEATURE_ONLINE_STORE]", "[FEATURE_VIEW]"),
};
// Make the request
SyncFeatureViewResponse response = await featureOnlineStoreAdminServiceClient.SyncFeatureViewAsync(request);

SyncFeatureViewAsync(string, CallSettings)

public virtual Task<SyncFeatureViewResponse> SyncFeatureViewAsync(string featureView, CallSettings callSettings = null)

Triggers on-demand sync for the FeatureView.

Parameters
Name Description
featureView string

Required. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSyncFeatureViewResponse

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string featureView = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]/featureViews/[FEATURE_VIEW]";
// Make the request
SyncFeatureViewResponse response = await featureOnlineStoreAdminServiceClient.SyncFeatureViewAsync(featureView);

SyncFeatureViewAsync(string, CancellationToken)

public virtual Task<SyncFeatureViewResponse> SyncFeatureViewAsync(string featureView, CancellationToken cancellationToken)

Triggers on-demand sync for the FeatureView.

Parameters
Name Description
featureView string

Required. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskSyncFeatureViewResponse

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string featureView = "projects/[PROJECT]/locations/[LOCATION]/featureOnlineStores/[FEATURE_ONLINE_STORE]/featureViews/[FEATURE_VIEW]";
// Make the request
SyncFeatureViewResponse response = await featureOnlineStoreAdminServiceClient.SyncFeatureViewAsync(featureView);

UpdateFeatureOnlineStore(FeatureOnlineStore, FieldMask, CallSettings)

public virtual Operation<FeatureOnlineStore, UpdateFeatureOnlineStoreOperationMetadata> UpdateFeatureOnlineStore(FeatureOnlineStore featureOnlineStore, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single FeatureOnlineStore.

Parameters
Name Description
featureOnlineStore FeatureOnlineStore

Required. The FeatureOnlineStore's name field is used to identify the FeatureOnlineStore to be updated. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

updateMask FieldMask

Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore 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
  • description
  • bigtable
  • bigtable.auto_scaling
  • bigtable.enable_multi_region_replica
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationFeatureOnlineStoreUpdateFeatureOnlineStoreOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
FeatureOnlineStore featureOnlineStore = new FeatureOnlineStore();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<FeatureOnlineStore, UpdateFeatureOnlineStoreOperationMetadata> response = featureOnlineStoreAdminServiceClient.UpdateFeatureOnlineStore(featureOnlineStore, updateMask);

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

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

UpdateFeatureOnlineStore(UpdateFeatureOnlineStoreRequest, CallSettings)

public virtual Operation<FeatureOnlineStore, UpdateFeatureOnlineStoreOperationMetadata> UpdateFeatureOnlineStore(UpdateFeatureOnlineStoreRequest request, CallSettings callSettings = null)

Updates the parameters of a single FeatureOnlineStore.

Parameters
Name Description
request UpdateFeatureOnlineStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationFeatureOnlineStoreUpdateFeatureOnlineStoreOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
UpdateFeatureOnlineStoreRequest request = new UpdateFeatureOnlineStoreRequest
{
    FeatureOnlineStore = new FeatureOnlineStore(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<FeatureOnlineStore, UpdateFeatureOnlineStoreOperationMetadata> response = featureOnlineStoreAdminServiceClient.UpdateFeatureOnlineStore(request);

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

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

UpdateFeatureOnlineStoreAsync(FeatureOnlineStore, FieldMask, CallSettings)

public virtual Task<Operation<FeatureOnlineStore, UpdateFeatureOnlineStoreOperationMetadata>> UpdateFeatureOnlineStoreAsync(FeatureOnlineStore featureOnlineStore, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single FeatureOnlineStore.

Parameters
Name Description
featureOnlineStore FeatureOnlineStore

Required. The FeatureOnlineStore's name field is used to identify the FeatureOnlineStore to be updated. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

updateMask FieldMask

Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore 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
  • description
  • bigtable
  • bigtable.auto_scaling
  • bigtable.enable_multi_region_replica
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationFeatureOnlineStoreUpdateFeatureOnlineStoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureOnlineStore featureOnlineStore = new FeatureOnlineStore();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<FeatureOnlineStore, UpdateFeatureOnlineStoreOperationMetadata> response = await featureOnlineStoreAdminServiceClient.UpdateFeatureOnlineStoreAsync(featureOnlineStore, updateMask);

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

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

UpdateFeatureOnlineStoreAsync(FeatureOnlineStore, FieldMask, CancellationToken)

public virtual Task<Operation<FeatureOnlineStore, UpdateFeatureOnlineStoreOperationMetadata>> UpdateFeatureOnlineStoreAsync(FeatureOnlineStore featureOnlineStore, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single FeatureOnlineStore.

Parameters
Name Description
featureOnlineStore FeatureOnlineStore

Required. The FeatureOnlineStore's name field is used to identify the FeatureOnlineStore to be updated. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

updateMask FieldMask

Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore 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
  • description
  • bigtable
  • bigtable.auto_scaling
  • bigtable.enable_multi_region_replica
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationFeatureOnlineStoreUpdateFeatureOnlineStoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureOnlineStore featureOnlineStore = new FeatureOnlineStore();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<FeatureOnlineStore, UpdateFeatureOnlineStoreOperationMetadata> response = await featureOnlineStoreAdminServiceClient.UpdateFeatureOnlineStoreAsync(featureOnlineStore, updateMask);

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

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

UpdateFeatureOnlineStoreAsync(UpdateFeatureOnlineStoreRequest, CallSettings)

public virtual Task<Operation<FeatureOnlineStore, UpdateFeatureOnlineStoreOperationMetadata>> UpdateFeatureOnlineStoreAsync(UpdateFeatureOnlineStoreRequest request, CallSettings callSettings = null)

Updates the parameters of a single FeatureOnlineStore.

Parameters
Name Description
request UpdateFeatureOnlineStoreRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationFeatureOnlineStoreUpdateFeatureOnlineStoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFeatureOnlineStoreRequest request = new UpdateFeatureOnlineStoreRequest
{
    FeatureOnlineStore = new FeatureOnlineStore(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<FeatureOnlineStore, UpdateFeatureOnlineStoreOperationMetadata> response = await featureOnlineStoreAdminServiceClient.UpdateFeatureOnlineStoreAsync(request);

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

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

UpdateFeatureOnlineStoreAsync(UpdateFeatureOnlineStoreRequest, CancellationToken)

public virtual Task<Operation<FeatureOnlineStore, UpdateFeatureOnlineStoreOperationMetadata>> UpdateFeatureOnlineStoreAsync(UpdateFeatureOnlineStoreRequest request, CancellationToken cancellationToken)

Updates the parameters of a single FeatureOnlineStore.

Parameters
Name Description
request UpdateFeatureOnlineStoreRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationFeatureOnlineStoreUpdateFeatureOnlineStoreOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFeatureOnlineStoreRequest request = new UpdateFeatureOnlineStoreRequest
{
    FeatureOnlineStore = new FeatureOnlineStore(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<FeatureOnlineStore, UpdateFeatureOnlineStoreOperationMetadata> response = await featureOnlineStoreAdminServiceClient.UpdateFeatureOnlineStoreAsync(request);

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

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

UpdateFeatureView(FeatureView, FieldMask, CallSettings)

public virtual Operation<FeatureView, UpdateFeatureViewOperationMetadata> UpdateFeatureView(FeatureView featureView, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single FeatureView.

Parameters
Name Description
featureView FeatureView

Required. The FeatureView's name field is used to identify the FeatureView to be updated. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

updateMask FieldMask

Field mask is used to specify the fields to be overwritten in the FeatureView 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
  • service_agent_type
  • big_query_source
  • big_query_source.uri
  • big_query_source.entity_id_columns
  • feature_registry_source
  • feature_registry_source.feature_groups
  • sync_config
  • sync_config.cron
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationFeatureViewUpdateFeatureViewOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
FeatureView featureView = new FeatureView();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<FeatureView, UpdateFeatureViewOperationMetadata> response = featureOnlineStoreAdminServiceClient.UpdateFeatureView(featureView, updateMask);

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

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

UpdateFeatureView(UpdateFeatureViewRequest, CallSettings)

public virtual Operation<FeatureView, UpdateFeatureViewOperationMetadata> UpdateFeatureView(UpdateFeatureViewRequest request, CallSettings callSettings = null)

Updates the parameters of a single FeatureView.

Parameters
Name Description
request UpdateFeatureViewRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationFeatureViewUpdateFeatureViewOperationMetadata

The RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = FeatureOnlineStoreAdminServiceClient.Create();
// Initialize request argument(s)
UpdateFeatureViewRequest request = new UpdateFeatureViewRequest
{
    FeatureView = new FeatureView(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<FeatureView, UpdateFeatureViewOperationMetadata> response = featureOnlineStoreAdminServiceClient.UpdateFeatureView(request);

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

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

UpdateFeatureViewAsync(FeatureView, FieldMask, CallSettings)

public virtual Task<Operation<FeatureView, UpdateFeatureViewOperationMetadata>> UpdateFeatureViewAsync(FeatureView featureView, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single FeatureView.

Parameters
Name Description
featureView FeatureView

Required. The FeatureView's name field is used to identify the FeatureView to be updated. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

updateMask FieldMask

Field mask is used to specify the fields to be overwritten in the FeatureView 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
  • service_agent_type
  • big_query_source
  • big_query_source.uri
  • big_query_source.entity_id_columns
  • feature_registry_source
  • feature_registry_source.feature_groups
  • sync_config
  • sync_config.cron
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationFeatureViewUpdateFeatureViewOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureView featureView = new FeatureView();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<FeatureView, UpdateFeatureViewOperationMetadata> response = await featureOnlineStoreAdminServiceClient.UpdateFeatureViewAsync(featureView, updateMask);

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

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

UpdateFeatureViewAsync(FeatureView, FieldMask, CancellationToken)

public virtual Task<Operation<FeatureView, UpdateFeatureViewOperationMetadata>> UpdateFeatureViewAsync(FeatureView featureView, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single FeatureView.

Parameters
Name Description
featureView FeatureView

Required. The FeatureView's name field is used to identify the FeatureView to be updated. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}

updateMask FieldMask

Field mask is used to specify the fields to be overwritten in the FeatureView 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
  • service_agent_type
  • big_query_source
  • big_query_source.uri
  • big_query_source.entity_id_columns
  • feature_registry_source
  • feature_registry_source.feature_groups
  • sync_config
  • sync_config.cron
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationFeatureViewUpdateFeatureViewOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureView featureView = new FeatureView();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<FeatureView, UpdateFeatureViewOperationMetadata> response = await featureOnlineStoreAdminServiceClient.UpdateFeatureViewAsync(featureView, updateMask);

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

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

UpdateFeatureViewAsync(UpdateFeatureViewRequest, CallSettings)

public virtual Task<Operation<FeatureView, UpdateFeatureViewOperationMetadata>> UpdateFeatureViewAsync(UpdateFeatureViewRequest request, CallSettings callSettings = null)

Updates the parameters of a single FeatureView.

Parameters
Name Description
request UpdateFeatureViewRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationFeatureViewUpdateFeatureViewOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFeatureViewRequest request = new UpdateFeatureViewRequest
{
    FeatureView = new FeatureView(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<FeatureView, UpdateFeatureViewOperationMetadata> response = await featureOnlineStoreAdminServiceClient.UpdateFeatureViewAsync(request);

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

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

UpdateFeatureViewAsync(UpdateFeatureViewRequest, CancellationToken)

public virtual Task<Operation<FeatureView, UpdateFeatureViewOperationMetadata>> UpdateFeatureViewAsync(UpdateFeatureViewRequest request, CancellationToken cancellationToken)

Updates the parameters of a single FeatureView.

Parameters
Name Description
request UpdateFeatureViewRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationFeatureViewUpdateFeatureViewOperationMetadata

A Task containing the RPC response.

Example
// Create client
FeatureOnlineStoreAdminServiceClient featureOnlineStoreAdminServiceClient = await FeatureOnlineStoreAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFeatureViewRequest request = new UpdateFeatureViewRequest
{
    FeatureView = new FeatureView(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<FeatureView, UpdateFeatureViewOperationMetadata> response = await featureOnlineStoreAdminServiceClient.UpdateFeatureViewAsync(request);

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

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