- 3.10.0 (latest)
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
public abstract class FeaturestoreServiceClient
FeaturestoreService client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Remarks
The service that handles CRUD and List for resources for Featurestore.
Properties
BatchCreateFeaturesOperationsClient
public virtual OperationsClient BatchCreateFeaturesOperationsClient { get; }
The long-running operations client for BatchCreateFeatures
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
BatchReadFeatureValuesOperationsClient
public virtual OperationsClient BatchReadFeatureValuesOperationsClient { get; }
The long-running operations client for BatchReadFeatureValues
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateEntityTypeOperationsClient
public virtual OperationsClient CreateEntityTypeOperationsClient { get; }
The long-running operations client for CreateEntityType
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateFeatureOperationsClient
public virtual OperationsClient CreateFeatureOperationsClient { get; }
The long-running operations client for CreateFeature
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateFeaturestoreOperationsClient
public virtual OperationsClient CreateFeaturestoreOperationsClient { get; }
The long-running operations client for CreateFeaturestore
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DefaultEndpoint
public static string DefaultEndpoint { get; }
The default endpoint for the FeaturestoreService service, which is a host of "aiplatform.googleapis.com" and a port of 443.
Property Value | |
---|---|
Type | Description |
String |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default FeaturestoreService scopes.
Property Value | |
---|---|
Type | Description |
IReadOnlyList<String> |
The default FeaturestoreService scopes are:
DeleteEntityTypeOperationsClient
public virtual OperationsClient DeleteEntityTypeOperationsClient { get; }
The long-running operations client for DeleteEntityType
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteFeatureOperationsClient
public virtual OperationsClient DeleteFeatureOperationsClient { get; }
The long-running operations client for DeleteFeature
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteFeaturestoreOperationsClient
public virtual OperationsClient DeleteFeaturestoreOperationsClient { get; }
The long-running operations client for DeleteFeaturestore
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
ExportFeatureValuesOperationsClient
public virtual OperationsClient ExportFeatureValuesOperationsClient { get; }
The long-running operations client for ExportFeatureValues
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public virtual FeaturestoreService.FeaturestoreServiceClient GrpcClient { get; }
The underlying gRPC FeaturestoreService client
Property Value | |
---|---|
Type | Description |
FeaturestoreService.FeaturestoreServiceClient |
ImportFeatureValuesOperationsClient
public virtual OperationsClient ImportFeatureValuesOperationsClient { get; }
The long-running operations client for ImportFeatureValues
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateFeaturestoreOperationsClient
public virtual OperationsClient UpdateFeaturestoreOperationsClient { get; }
The long-running operations client for UpdateFeaturestore
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
BatchCreateFeatures(BatchCreateFeaturesRequest, CallSettings)
public virtual Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> BatchCreateFeatures(BatchCreateFeaturesRequest request, CallSettings callSettings = null)
Creates a batch of Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
request | BatchCreateFeaturesRequest 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 |
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
BatchCreateFeaturesRequest request = new BatchCreateFeaturesRequest
{
ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
Requests =
{
new CreateFeatureRequest(),
},
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = featurestoreServiceClient.BatchCreateFeatures(request);
// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceBatchCreateFeatures(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}
BatchCreateFeatures(EntityTypeName, IEnumerable<CreateFeatureRequest>, CallSettings)
public virtual Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> BatchCreateFeatures(EntityTypeName parent, IEnumerable<CreateFeatureRequest> requests, CallSettings callSettings = null)
Creates a batch of Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | EntityTypeName Required. The resource name of the EntityType to create the batch of Features under.
Format:
|
requests | IEnumerable<CreateFeatureRequest> Required. The request message specifying the Features to create. All Features must be
created under the same parent EntityType. The |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
IEnumerable<CreateFeatureRequest> requests = new CreateFeatureRequest[]
{
new CreateFeatureRequest(),
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = featurestoreServiceClient.BatchCreateFeatures(parent, requests);
// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceBatchCreateFeatures(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}
BatchCreateFeatures(String, IEnumerable<CreateFeatureRequest>, CallSettings)
public virtual Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> BatchCreateFeatures(string parent, IEnumerable<CreateFeatureRequest> requests, CallSettings callSettings = null)
Creates a batch of Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the EntityType to create the batch of Features under.
Format:
|
requests | IEnumerable<CreateFeatureRequest> Required. The request message specifying the Features to create. All Features must be
created under the same parent EntityType. The |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
IEnumerable<CreateFeatureRequest> requests = new CreateFeatureRequest[]
{
new CreateFeatureRequest(),
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = featurestoreServiceClient.BatchCreateFeatures(parent, requests);
// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceBatchCreateFeatures(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}
BatchCreateFeaturesAsync(BatchCreateFeaturesRequest, CallSettings)
public virtual Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> BatchCreateFeaturesAsync(BatchCreateFeaturesRequest request, CallSettings callSettings = null)
Creates a batch of Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
request | BatchCreateFeaturesRequest 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 |
Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
BatchCreateFeaturesRequest request = new BatchCreateFeaturesRequest
{
ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
Requests =
{
new CreateFeatureRequest(),
},
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = await featurestoreServiceClient.BatchCreateFeaturesAsync(request);
// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchCreateFeaturesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}
BatchCreateFeaturesAsync(BatchCreateFeaturesRequest, CancellationToken)
public virtual Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> BatchCreateFeaturesAsync(BatchCreateFeaturesRequest request, CancellationToken cancellationToken)
Creates a batch of Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
request | BatchCreateFeaturesRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
BatchCreateFeaturesRequest request = new BatchCreateFeaturesRequest
{
ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
Requests =
{
new CreateFeatureRequest(),
},
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = await featurestoreServiceClient.BatchCreateFeaturesAsync(request);
// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchCreateFeaturesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}
BatchCreateFeaturesAsync(EntityTypeName, IEnumerable<CreateFeatureRequest>, CallSettings)
public virtual Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> BatchCreateFeaturesAsync(EntityTypeName parent, IEnumerable<CreateFeatureRequest> requests, CallSettings callSettings = null)
Creates a batch of Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | EntityTypeName Required. The resource name of the EntityType to create the batch of Features under.
Format:
|
requests | IEnumerable<CreateFeatureRequest> Required. The request message specifying the Features to create. All Features must be
created under the same parent EntityType. The |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
IEnumerable<CreateFeatureRequest> requests = new CreateFeatureRequest[]
{
new CreateFeatureRequest(),
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = await featurestoreServiceClient.BatchCreateFeaturesAsync(parent, requests);
// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchCreateFeaturesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}
BatchCreateFeaturesAsync(EntityTypeName, IEnumerable<CreateFeatureRequest>, CancellationToken)
public virtual Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> BatchCreateFeaturesAsync(EntityTypeName parent, IEnumerable<CreateFeatureRequest> requests, CancellationToken cancellationToken)
Creates a batch of Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | EntityTypeName Required. The resource name of the EntityType to create the batch of Features under.
Format:
|
requests | IEnumerable<CreateFeatureRequest> Required. The request message specifying the Features to create. All Features must be
created under the same parent EntityType. The |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
IEnumerable<CreateFeatureRequest> requests = new CreateFeatureRequest[]
{
new CreateFeatureRequest(),
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = await featurestoreServiceClient.BatchCreateFeaturesAsync(parent, requests);
// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchCreateFeaturesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}
BatchCreateFeaturesAsync(String, IEnumerable<CreateFeatureRequest>, CallSettings)
public virtual Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> BatchCreateFeaturesAsync(string parent, IEnumerable<CreateFeatureRequest> requests, CallSettings callSettings = null)
Creates a batch of Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the EntityType to create the batch of Features under.
Format:
|
requests | IEnumerable<CreateFeatureRequest> Required. The request message specifying the Features to create. All Features must be
created under the same parent EntityType. The |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
IEnumerable<CreateFeatureRequest> requests = new CreateFeatureRequest[]
{
new CreateFeatureRequest(),
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = await featurestoreServiceClient.BatchCreateFeaturesAsync(parent, requests);
// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchCreateFeaturesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}
BatchCreateFeaturesAsync(String, IEnumerable<CreateFeatureRequest>, CancellationToken)
public virtual Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> BatchCreateFeaturesAsync(string parent, IEnumerable<CreateFeatureRequest> requests, CancellationToken cancellationToken)
Creates a batch of Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the EntityType to create the batch of Features under.
Format:
|
requests | IEnumerable<CreateFeatureRequest> Required. The request message specifying the Features to create. All Features must be
created under the same parent EntityType. The |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
IEnumerable<CreateFeatureRequest> requests = new CreateFeatureRequest[]
{
new CreateFeatureRequest(),
};
// Make the request
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> response = await featurestoreServiceClient.BatchCreateFeaturesAsync(parent, requests);
// Poll until the returned long-running operation is complete
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchCreateFeaturesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchCreateFeaturesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchCreateFeaturesResponse retrievedResult = retrievedResponse.Result;
}
BatchReadFeatureValues(BatchReadFeatureValuesRequest, CallSettings)
public virtual Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> BatchReadFeatureValues(BatchReadFeatureValuesRequest request, CallSettings callSettings = null)
Batch reads Feature values from a Featurestore.
This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.
Parameters | |
---|---|
Name | Description |
request | BatchReadFeatureValuesRequest 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 |
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
BatchReadFeatureValuesRequest request = new BatchReadFeatureValuesRequest
{
FeaturestoreAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
CsvReadInstances = new CsvSource(),
Destination = new FeatureValueDestination(),
EntityTypeSpecs =
{
new BatchReadFeatureValuesRequest.Types.EntityTypeSpec(),
},
PassThroughFields =
{
new BatchReadFeatureValuesRequest.Types.PassThroughField(),
},
};
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = featurestoreServiceClient.BatchReadFeatureValues(request);
// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceBatchReadFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
BatchReadFeatureValues(FeaturestoreName, CallSettings)
public virtual Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> BatchReadFeatureValues(FeaturestoreName featurestore, CallSettings callSettings = null)
Batch reads Feature values from a Featurestore.
This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.
Parameters | |
---|---|
Name | Description |
featurestore | FeaturestoreName Required. The resource name of the Featurestore from which to query Feature values.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeaturestoreName featurestore = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = featurestoreServiceClient.BatchReadFeatureValues(featurestore);
// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceBatchReadFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
BatchReadFeatureValues(String, CallSettings)
public virtual Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> BatchReadFeatureValues(string featurestore, CallSettings callSettings = null)
Batch reads Feature values from a Featurestore.
This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.
Parameters | |
---|---|
Name | Description |
featurestore | String Required. The resource name of the Featurestore from which to query Feature values.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string featurestore = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = featurestoreServiceClient.BatchReadFeatureValues(featurestore);
// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceBatchReadFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
BatchReadFeatureValuesAsync(BatchReadFeatureValuesRequest, CallSettings)
public virtual Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> BatchReadFeatureValuesAsync(BatchReadFeatureValuesRequest request, CallSettings callSettings = null)
Batch reads Feature values from a Featurestore.
This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.
Parameters | |
---|---|
Name | Description |
request | BatchReadFeatureValuesRequest 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 |
Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
BatchReadFeatureValuesRequest request = new BatchReadFeatureValuesRequest
{
FeaturestoreAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
CsvReadInstances = new CsvSource(),
Destination = new FeatureValueDestination(),
EntityTypeSpecs =
{
new BatchReadFeatureValuesRequest.Types.EntityTypeSpec(),
},
PassThroughFields =
{
new BatchReadFeatureValuesRequest.Types.PassThroughField(),
},
};
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = await featurestoreServiceClient.BatchReadFeatureValuesAsync(request);
// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchReadFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
BatchReadFeatureValuesAsync(BatchReadFeatureValuesRequest, CancellationToken)
public virtual Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> BatchReadFeatureValuesAsync(BatchReadFeatureValuesRequest request, CancellationToken cancellationToken)
Batch reads Feature values from a Featurestore.
This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.
Parameters | |
---|---|
Name | Description |
request | BatchReadFeatureValuesRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
BatchReadFeatureValuesRequest request = new BatchReadFeatureValuesRequest
{
FeaturestoreAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
CsvReadInstances = new CsvSource(),
Destination = new FeatureValueDestination(),
EntityTypeSpecs =
{
new BatchReadFeatureValuesRequest.Types.EntityTypeSpec(),
},
PassThroughFields =
{
new BatchReadFeatureValuesRequest.Types.PassThroughField(),
},
};
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = await featurestoreServiceClient.BatchReadFeatureValuesAsync(request);
// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchReadFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
BatchReadFeatureValuesAsync(FeaturestoreName, CallSettings)
public virtual Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> BatchReadFeatureValuesAsync(FeaturestoreName featurestore, CallSettings callSettings = null)
Batch reads Feature values from a Featurestore.
This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.
Parameters | |
---|---|
Name | Description |
featurestore | FeaturestoreName Required. The resource name of the Featurestore from which to query Feature values.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName featurestore = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = await featurestoreServiceClient.BatchReadFeatureValuesAsync(featurestore);
// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchReadFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
BatchReadFeatureValuesAsync(FeaturestoreName, CancellationToken)
public virtual Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> BatchReadFeatureValuesAsync(FeaturestoreName featurestore, CancellationToken cancellationToken)
Batch reads Feature values from a Featurestore.
This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.
Parameters | |
---|---|
Name | Description |
featurestore | FeaturestoreName Required. The resource name of the Featurestore from which to query Feature values.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName featurestore = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = await featurestoreServiceClient.BatchReadFeatureValuesAsync(featurestore);
// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchReadFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
BatchReadFeatureValuesAsync(String, CallSettings)
public virtual Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> BatchReadFeatureValuesAsync(string featurestore, CallSettings callSettings = null)
Batch reads Feature values from a Featurestore.
This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.
Parameters | |
---|---|
Name | Description |
featurestore | String Required. The resource name of the Featurestore from which to query Feature values.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string featurestore = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = await featurestoreServiceClient.BatchReadFeatureValuesAsync(featurestore);
// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchReadFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
BatchReadFeatureValuesAsync(String, CancellationToken)
public virtual Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> BatchReadFeatureValuesAsync(string featurestore, CancellationToken cancellationToken)
Batch reads Feature values from a Featurestore.
This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.
Parameters | |
---|---|
Name | Description |
featurestore | String Required. The resource name of the Featurestore from which to query Feature values.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string featurestore = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> response = await featurestoreServiceClient.BatchReadFeatureValuesAsync(featurestore);
// Poll until the returned long-running operation is complete
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
BatchReadFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceBatchReadFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
BatchReadFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
Create()
public static FeaturestoreServiceClient Create()
Synchronously creates a FeaturestoreServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use FeaturestoreServiceClientBuilder.
Returns | |
---|---|
Type | Description |
FeaturestoreServiceClient | The created FeaturestoreServiceClient. |
CreateAsync(CancellationToken)
public static Task<FeaturestoreServiceClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))
Asynchronously creates a FeaturestoreServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use FeaturestoreServiceClientBuilder.
Parameter | |
---|---|
Name | Description |
cancellationToken | CancellationToken The CancellationToken to use while creating the client. |
Returns | |
---|---|
Type | Description |
Task<FeaturestoreServiceClient> | The task representing the created FeaturestoreServiceClient. |
CreateEntityType(CreateEntityTypeRequest, CallSettings)
public virtual Operation<EntityType, CreateEntityTypeOperationMetadata> CreateEntityType(CreateEntityTypeRequest request, CallSettings callSettings = null)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
request | CreateEntityTypeRequest 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 |
Operation<EntityType, CreateEntityTypeOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
CreateEntityTypeRequest request = new CreateEntityTypeRequest
{
ParentAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
EntityType = new EntityType(),
EntityTypeId = "",
};
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = featurestoreServiceClient.CreateEntityType(request);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateEntityType(FeaturestoreName, EntityType, CallSettings)
public virtual Operation<EntityType, CreateEntityTypeOperationMetadata> CreateEntityType(FeaturestoreName parent, EntityType entityType, CallSettings callSettings = null)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | FeaturestoreName Required. The resource name of the Featurestore to create EntityTypes.
Format:
|
entityType | EntityType The EntityType to create. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<EntityType, CreateEntityTypeOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
EntityType entityType = new EntityType();
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = featurestoreServiceClient.CreateEntityType(parent, entityType);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateEntityType(FeaturestoreName, EntityType, String, CallSettings)
public virtual Operation<EntityType, CreateEntityTypeOperationMetadata> CreateEntityType(FeaturestoreName parent, EntityType entityType, string entityTypeId, CallSettings callSettings = null)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | FeaturestoreName Required. The resource name of the Featurestore to create EntityTypes.
Format:
|
entityType | EntityType The EntityType to create. |
entityTypeId | String Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within a featurestore. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<EntityType, CreateEntityTypeOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
EntityType entityType = new EntityType();
string entityTypeId = "";
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = featurestoreServiceClient.CreateEntityType(parent, entityType, entityTypeId);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateEntityType(String, EntityType, CallSettings)
public virtual Operation<EntityType, CreateEntityTypeOperationMetadata> CreateEntityType(string parent, EntityType entityType, CallSettings callSettings = null)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Featurestore to create EntityTypes.
Format:
|
entityType | EntityType The EntityType to create. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<EntityType, CreateEntityTypeOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
EntityType entityType = new EntityType();
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = featurestoreServiceClient.CreateEntityType(parent, entityType);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateEntityType(String, EntityType, String, CallSettings)
public virtual Operation<EntityType, CreateEntityTypeOperationMetadata> CreateEntityType(string parent, EntityType entityType, string entityTypeId, CallSettings callSettings = null)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Featurestore to create EntityTypes.
Format:
|
entityType | EntityType The EntityType to create. |
entityTypeId | String Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within a featurestore. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<EntityType, CreateEntityTypeOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
EntityType entityType = new EntityType();
string entityTypeId = "";
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = featurestoreServiceClient.CreateEntityType(parent, entityType, entityTypeId);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateEntityTypeAsync(CreateEntityTypeRequest, CallSettings)
public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(CreateEntityTypeRequest request, CallSettings callSettings = null)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
request | CreateEntityTypeRequest 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 |
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
CreateEntityTypeRequest request = new CreateEntityTypeRequest
{
ParentAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
EntityType = new EntityType(),
EntityTypeId = "",
};
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateEntityTypeAsync(CreateEntityTypeRequest, CancellationToken)
public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(CreateEntityTypeRequest request, CancellationToken cancellationToken)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
request | CreateEntityTypeRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
CreateEntityTypeRequest request = new CreateEntityTypeRequest
{
ParentAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
EntityType = new EntityType(),
EntityTypeId = "",
};
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateEntityTypeAsync(FeaturestoreName, EntityType, CallSettings)
public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(FeaturestoreName parent, EntityType entityType, CallSettings callSettings = null)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | FeaturestoreName Required. The resource name of the Featurestore to create EntityTypes.
Format:
|
entityType | EntityType The EntityType to create. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
EntityType entityType = new EntityType();
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateEntityTypeAsync(FeaturestoreName, EntityType, String, CallSettings)
public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(FeaturestoreName parent, EntityType entityType, string entityTypeId, CallSettings callSettings = null)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | FeaturestoreName Required. The resource name of the Featurestore to create EntityTypes.
Format:
|
entityType | EntityType The EntityType to create. |
entityTypeId | String Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within a featurestore. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
EntityType entityType = new EntityType();
string entityTypeId = "";
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType, entityTypeId);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateEntityTypeAsync(FeaturestoreName, EntityType, String, CancellationToken)
public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(FeaturestoreName parent, EntityType entityType, string entityTypeId, CancellationToken cancellationToken)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | FeaturestoreName Required. The resource name of the Featurestore to create EntityTypes.
Format:
|
entityType | EntityType The EntityType to create. |
entityTypeId | String Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within a featurestore. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
EntityType entityType = new EntityType();
string entityTypeId = "";
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType, entityTypeId);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateEntityTypeAsync(FeaturestoreName, EntityType, CancellationToken)
public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(FeaturestoreName parent, EntityType entityType, CancellationToken cancellationToken)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | FeaturestoreName Required. The resource name of the Featurestore to create EntityTypes.
Format:
|
entityType | EntityType The EntityType to create. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
EntityType entityType = new EntityType();
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateEntityTypeAsync(String, EntityType, CallSettings)
public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(string parent, EntityType entityType, CallSettings callSettings = null)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Featurestore to create EntityTypes.
Format:
|
entityType | EntityType The EntityType to create. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
EntityType entityType = new EntityType();
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateEntityTypeAsync(String, EntityType, String, CallSettings)
public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(string parent, EntityType entityType, string entityTypeId, CallSettings callSettings = null)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Featurestore to create EntityTypes.
Format:
|
entityType | EntityType The EntityType to create. |
entityTypeId | String Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within a featurestore. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
EntityType entityType = new EntityType();
string entityTypeId = "";
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType, entityTypeId);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateEntityTypeAsync(String, EntityType, String, CancellationToken)
public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(string parent, EntityType entityType, string entityTypeId, CancellationToken cancellationToken)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Featurestore to create EntityTypes.
Format:
|
entityType | EntityType The EntityType to create. |
entityTypeId | String Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within a featurestore. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
EntityType entityType = new EntityType();
string entityTypeId = "";
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType, entityTypeId);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateEntityTypeAsync(String, EntityType, CancellationToken)
public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> CreateEntityTypeAsync(string parent, EntityType entityType, CancellationToken cancellationToken)
Creates a new EntityType in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Featurestore to create EntityTypes.
Format:
|
entityType | EntityType The EntityType to create. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
EntityType entityType = new EntityType();
// Make the request
Operation<EntityType, CreateEntityTypeOperationMetadata> response = await featurestoreServiceClient.CreateEntityTypeAsync(parent, entityType);
// Poll until the returned long-running operation is complete
Operation<EntityType, CreateEntityTypeOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
EntityType result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<EntityType, CreateEntityTypeOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
EntityType retrievedResult = retrievedResponse.Result;
}
CreateFeature(CreateFeatureRequest, CallSettings)
public virtual Operation<Feature, CreateFeatureOperationMetadata> CreateFeature(CreateFeatureRequest request, CallSettings callSettings = null)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
request | CreateFeatureRequest 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 |
Operation<Feature, CreateFeatureOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
CreateFeatureRequest request = new CreateFeatureRequest
{
ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
Feature = new Feature(),
FeatureId = "",
};
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = featurestoreServiceClient.CreateFeature(request);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeature(EntityTypeName, Feature, CallSettings)
public virtual Operation<Feature, CreateFeatureOperationMetadata> CreateFeature(EntityTypeName parent, Feature feature, CallSettings callSettings = null)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | EntityTypeName Required. The resource name of the EntityType to create a Feature.
Format:
|
feature | Feature Required. The Feature to create. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Feature, CreateFeatureOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
Feature feature = new Feature();
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = featurestoreServiceClient.CreateFeature(parent, feature);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeature(EntityTypeName, Feature, String, CallSettings)
public virtual Operation<Feature, CreateFeatureOperationMetadata> CreateFeature(EntityTypeName parent, Feature feature, string featureId, CallSettings callSettings = null)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | EntityTypeName Required. The resource name of the EntityType to create a Feature.
Format:
|
feature | Feature Required. The Feature to create. |
featureId | String Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within an EntityType. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Feature, CreateFeatureOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
Feature feature = new Feature();
string featureId = "";
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = featurestoreServiceClient.CreateFeature(parent, feature, featureId);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeature(String, Feature, CallSettings)
public virtual Operation<Feature, CreateFeatureOperationMetadata> CreateFeature(string parent, Feature feature, CallSettings callSettings = null)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the EntityType to create a Feature.
Format:
|
feature | Feature Required. The Feature to create. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Feature, CreateFeatureOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
Feature feature = new Feature();
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = featurestoreServiceClient.CreateFeature(parent, feature);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeature(String, Feature, String, CallSettings)
public virtual Operation<Feature, CreateFeatureOperationMetadata> CreateFeature(string parent, Feature feature, string featureId, CallSettings callSettings = null)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the EntityType to create a Feature.
Format:
|
feature | Feature Required. The Feature to create. |
featureId | String Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within an EntityType. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Feature, CreateFeatureOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
Feature feature = new Feature();
string featureId = "";
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = featurestoreServiceClient.CreateFeature(parent, feature, featureId);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeatureAsync(CreateFeatureRequest, CallSettings)
public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(CreateFeatureRequest request, CallSettings callSettings = null)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
request | CreateFeatureRequest 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 |
Task<Operation<Feature, CreateFeatureOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFeatureRequest request = new CreateFeatureRequest
{
ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
Feature = new Feature(),
FeatureId = "",
};
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(request);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeatureAsync(CreateFeatureRequest, CancellationToken)
public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(CreateFeatureRequest request, CancellationToken cancellationToken)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
request | CreateFeatureRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Feature, CreateFeatureOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFeatureRequest request = new CreateFeatureRequest
{
ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
Feature = new Feature(),
FeatureId = "",
};
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(request);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeatureAsync(EntityTypeName, Feature, CallSettings)
public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(EntityTypeName parent, Feature feature, CallSettings callSettings = null)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | EntityTypeName Required. The resource name of the EntityType to create a Feature.
Format:
|
feature | Feature Required. The Feature to create. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Feature, CreateFeatureOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
Feature feature = new Feature();
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeatureAsync(EntityTypeName, Feature, String, CallSettings)
public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(EntityTypeName parent, Feature feature, string featureId, CallSettings callSettings = null)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | EntityTypeName Required. The resource name of the EntityType to create a Feature.
Format:
|
feature | Feature Required. The Feature to create. |
featureId | String Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within an EntityType. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Feature, CreateFeatureOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
Feature feature = new Feature();
string featureId = "";
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature, featureId);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeatureAsync(EntityTypeName, Feature, String, CancellationToken)
public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(EntityTypeName parent, Feature feature, string featureId, CancellationToken cancellationToken)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | EntityTypeName Required. The resource name of the EntityType to create a Feature.
Format:
|
feature | Feature Required. The Feature to create. |
featureId | String Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within an EntityType. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Feature, CreateFeatureOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
Feature feature = new Feature();
string featureId = "";
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature, featureId);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeatureAsync(EntityTypeName, Feature, CancellationToken)
public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(EntityTypeName parent, Feature feature, CancellationToken cancellationToken)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | EntityTypeName Required. The resource name of the EntityType to create a Feature.
Format:
|
feature | Feature Required. The Feature to create. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Feature, CreateFeatureOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
Feature feature = new Feature();
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeatureAsync(String, Feature, CallSettings)
public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(string parent, Feature feature, CallSettings callSettings = null)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the EntityType to create a Feature.
Format:
|
feature | Feature Required. The Feature to create. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Feature, CreateFeatureOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
Feature feature = new Feature();
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeatureAsync(String, Feature, String, CallSettings)
public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(string parent, Feature feature, string featureId, CallSettings callSettings = null)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the EntityType to create a Feature.
Format:
|
feature | Feature Required. The Feature to create. |
featureId | String Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within an EntityType. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Feature, CreateFeatureOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
Feature feature = new Feature();
string featureId = "";
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature, featureId);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeatureAsync(String, Feature, String, CancellationToken)
public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(string parent, Feature feature, string featureId, CancellationToken cancellationToken)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the EntityType to create a Feature.
Format:
|
feature | Feature Required. The Feature to create. |
featureId | String Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within an EntityType. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Feature, CreateFeatureOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
Feature feature = new Feature();
string featureId = "";
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature, featureId);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeatureAsync(String, Feature, CancellationToken)
public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> CreateFeatureAsync(string parent, Feature feature, CancellationToken cancellationToken)
Creates a new Feature in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the EntityType to create a Feature.
Format:
|
feature | Feature Required. The Feature to create. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Feature, CreateFeatureOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
Feature feature = new Feature();
// Make the request
Operation<Feature, CreateFeatureOperationMetadata> response = await featurestoreServiceClient.CreateFeatureAsync(parent, feature);
// Poll until the returned long-running operation is complete
Operation<Feature, CreateFeatureOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Feature result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Feature, CreateFeatureOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Feature retrievedResult = retrievedResponse.Result;
}
CreateFeaturestore(LocationName, Featurestore, CallSettings)
public virtual Operation<Featurestore, CreateFeaturestoreOperationMetadata> CreateFeaturestore(LocationName parent, Featurestore featurestore, CallSettings callSettings = null)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The resource name of the Location to create Featurestores.
Format:
|
featurestore | Featurestore Required. The Featurestore to create. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Featurestore, CreateFeaturestoreOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Featurestore featurestore = new Featurestore();
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = featurestoreServiceClient.CreateFeaturestore(parent, featurestore);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
CreateFeaturestore(LocationName, Featurestore, String, CallSettings)
public virtual Operation<Featurestore, CreateFeaturestoreOperationMetadata> CreateFeaturestore(LocationName parent, Featurestore featurestore, string featurestoreId, CallSettings callSettings = null)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The resource name of the Location to create Featurestores.
Format:
|
featurestore | Featurestore Required. The Featurestore to create. |
featurestoreId | String Required. The ID to use for this Featurestore, which will become the final component of the Featurestore's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within the project and location. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Featurestore, CreateFeaturestoreOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Featurestore featurestore = new Featurestore();
string featurestoreId = "";
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = featurestoreServiceClient.CreateFeaturestore(parent, featurestore, featurestoreId);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
CreateFeaturestore(CreateFeaturestoreRequest, CallSettings)
public virtual Operation<Featurestore, CreateFeaturestoreOperationMetadata> CreateFeaturestore(CreateFeaturestoreRequest request, CallSettings callSettings = null)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateFeaturestoreRequest 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 |
Operation<Featurestore, CreateFeaturestoreOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
CreateFeaturestoreRequest request = new CreateFeaturestoreRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Featurestore = new Featurestore(),
FeaturestoreId = "",
};
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = featurestoreServiceClient.CreateFeaturestore(request);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
CreateFeaturestore(String, Featurestore, CallSettings)
public virtual Operation<Featurestore, CreateFeaturestoreOperationMetadata> CreateFeaturestore(string parent, Featurestore featurestore, CallSettings callSettings = null)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Location to create Featurestores.
Format:
|
featurestore | Featurestore Required. The Featurestore to create. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Featurestore, CreateFeaturestoreOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Featurestore featurestore = new Featurestore();
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = featurestoreServiceClient.CreateFeaturestore(parent, featurestore);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
CreateFeaturestore(String, Featurestore, String, CallSettings)
public virtual Operation<Featurestore, CreateFeaturestoreOperationMetadata> CreateFeaturestore(string parent, Featurestore featurestore, string featurestoreId, CallSettings callSettings = null)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Location to create Featurestores.
Format:
|
featurestore | Featurestore Required. The Featurestore to create. |
featurestoreId | String Required. The ID to use for this Featurestore, which will become the final component of the Featurestore's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within the project and location. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Featurestore, CreateFeaturestoreOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Featurestore featurestore = new Featurestore();
string featurestoreId = "";
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = featurestoreServiceClient.CreateFeaturestore(parent, featurestore, featurestoreId);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceCreateFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
CreateFeaturestoreAsync(LocationName, Featurestore, CallSettings)
public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(LocationName parent, Featurestore featurestore, CallSettings callSettings = null)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The resource name of the Location to create Featurestores.
Format:
|
featurestore | Featurestore Required. The Featurestore to create. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Featurestore featurestore = new Featurestore();
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
CreateFeaturestoreAsync(LocationName, Featurestore, String, CallSettings)
public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(LocationName parent, Featurestore featurestore, string featurestoreId, CallSettings callSettings = null)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The resource name of the Location to create Featurestores.
Format:
|
featurestore | Featurestore Required. The Featurestore to create. |
featurestoreId | String Required. The ID to use for this Featurestore, which will become the final component of the Featurestore's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within the project and location. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Featurestore featurestore = new Featurestore();
string featurestoreId = "";
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore, featurestoreId);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
CreateFeaturestoreAsync(LocationName, Featurestore, String, CancellationToken)
public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(LocationName parent, Featurestore featurestore, string featurestoreId, CancellationToken cancellationToken)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The resource name of the Location to create Featurestores.
Format:
|
featurestore | Featurestore Required. The Featurestore to create. |
featurestoreId | String Required. The ID to use for this Featurestore, which will become the final component of the Featurestore's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within the project and location. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Featurestore featurestore = new Featurestore();
string featurestoreId = "";
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore, featurestoreId);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
CreateFeaturestoreAsync(LocationName, Featurestore, CancellationToken)
public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(LocationName parent, Featurestore featurestore, CancellationToken cancellationToken)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The resource name of the Location to create Featurestores.
Format:
|
featurestore | Featurestore Required. The Featurestore to create. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Featurestore featurestore = new Featurestore();
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
CreateFeaturestoreAsync(CreateFeaturestoreRequest, CallSettings)
public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(CreateFeaturestoreRequest request, CallSettings callSettings = null)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateFeaturestoreRequest 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 |
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFeaturestoreRequest request = new CreateFeaturestoreRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Featurestore = new Featurestore(),
FeaturestoreId = "",
};
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(request);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
CreateFeaturestoreAsync(CreateFeaturestoreRequest, CancellationToken)
public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(CreateFeaturestoreRequest request, CancellationToken cancellationToken)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateFeaturestoreRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFeaturestoreRequest request = new CreateFeaturestoreRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Featurestore = new Featurestore(),
FeaturestoreId = "",
};
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(request);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
CreateFeaturestoreAsync(String, Featurestore, CallSettings)
public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(string parent, Featurestore featurestore, CallSettings callSettings = null)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Location to create Featurestores.
Format:
|
featurestore | Featurestore Required. The Featurestore to create. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Featurestore featurestore = new Featurestore();
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
CreateFeaturestoreAsync(String, Featurestore, String, CallSettings)
public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(string parent, Featurestore featurestore, string featurestoreId, CallSettings callSettings = null)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Location to create Featurestores.
Format:
|
featurestore | Featurestore Required. The Featurestore to create. |
featurestoreId | String Required. The ID to use for this Featurestore, which will become the final component of the Featurestore's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within the project and location. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Featurestore featurestore = new Featurestore();
string featurestoreId = "";
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore, featurestoreId);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
CreateFeaturestoreAsync(String, Featurestore, String, CancellationToken)
public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(string parent, Featurestore featurestore, string featurestoreId, CancellationToken cancellationToken)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Location to create Featurestores.
Format:
|
featurestore | Featurestore Required. The Featurestore to create. |
featurestoreId | String Required. The ID to use for this Featurestore, which will become the final component of the Featurestore's resource name. This value may be up to 60 characters, and valid characters are
The value must be unique within the project and location. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Featurestore featurestore = new Featurestore();
string featurestoreId = "";
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore, featurestoreId);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
CreateFeaturestoreAsync(String, Featurestore, CancellationToken)
public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> CreateFeaturestoreAsync(string parent, Featurestore featurestore, CancellationToken cancellationToken)
Creates a new Featurestore in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Location to create Featurestores.
Format:
|
featurestore | Featurestore Required. The Featurestore to create. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Featurestore featurestore = new Featurestore();
// Make the request
Operation<Featurestore, CreateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.CreateFeaturestoreAsync(parent, featurestore);
// Poll until the returned long-running operation is complete
Operation<Featurestore, CreateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, CreateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceCreateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
DeleteEntityType(DeleteEntityTypeRequest, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> DeleteEntityType(DeleteEntityTypeRequest request, CallSettings callSettings = null)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
request | DeleteEntityTypeRequest 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 |
Operation<Empty, DeleteOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
DeleteEntityTypeRequest request = new DeleteEntityTypeRequest
{
EntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteEntityType(request);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntityType(EntityTypeName, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> DeleteEntityType(EntityTypeName name, CallSettings callSettings = null)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | EntityTypeName Required. The name of the EntityType to be deleted.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeleteOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteEntityType(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntityType(EntityTypeName, Boolean, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> DeleteEntityType(EntityTypeName name, bool force, CallSettings callSettings = null)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | EntityTypeName Required. The name of the EntityType to be deleted.
Format:
|
force | Boolean If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.) |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeleteOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteEntityType(name, force);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntityType(String, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> DeleteEntityType(string name, CallSettings callSettings = null)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the EntityType to be deleted.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeleteOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteEntityType(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntityType(String, Boolean, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> DeleteEntityType(string name, bool force, CallSettings callSettings = null)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the EntityType to be deleted.
Format:
|
force | Boolean If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.) |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeleteOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteEntityType(name, force);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteEntityType(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntityTypeAsync(DeleteEntityTypeRequest, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(DeleteEntityTypeRequest request, CallSettings callSettings = null)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
request | DeleteEntityTypeRequest 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 |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteEntityTypeRequest request = new DeleteEntityTypeRequest
{
EntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntityTypeAsync(DeleteEntityTypeRequest, CancellationToken)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(DeleteEntityTypeRequest request, CancellationToken cancellationToken)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
request | DeleteEntityTypeRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteEntityTypeRequest request = new DeleteEntityTypeRequest
{
EntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntityTypeAsync(EntityTypeName, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(EntityTypeName name, CallSettings callSettings = null)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | EntityTypeName Required. The name of the EntityType to be deleted.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntityTypeAsync(EntityTypeName, Boolean, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(EntityTypeName name, bool force, CallSettings callSettings = null)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | EntityTypeName Required. The name of the EntityType to be deleted.
Format:
|
force | Boolean If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.) |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name, force);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntityTypeAsync(EntityTypeName, Boolean, CancellationToken)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(EntityTypeName name, bool force, CancellationToken cancellationToken)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | EntityTypeName Required. The name of the EntityType to be deleted.
Format:
|
force | Boolean If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.) |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name, force);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntityTypeAsync(EntityTypeName, CancellationToken)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(EntityTypeName name, CancellationToken cancellationToken)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | EntityTypeName Required. The name of the EntityType to be deleted.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntityTypeAsync(String, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(string name, CallSettings callSettings = null)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the EntityType to be deleted.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntityTypeAsync(String, Boolean, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(string name, bool force, CallSettings callSettings = null)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the EntityType to be deleted.
Format:
|
force | Boolean If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.) |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name, force);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntityTypeAsync(String, Boolean, CancellationToken)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(string name, bool force, CancellationToken cancellationToken)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the EntityType to be deleted.
Format:
|
force | Boolean If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.) |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name, force);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteEntityTypeAsync(String, CancellationToken)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteEntityTypeAsync(string name, CancellationToken cancellationToken)
Deletes a single EntityType. The EntityType must not have any Features
or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the EntityType to be deleted.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteEntityTypeAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteEntityTypeAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeature(DeleteFeatureRequest, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeature(DeleteFeatureRequest request, CallSettings callSettings = null)
Deletes a single Feature.
Parameters | |
---|---|
Name | Description |
request | DeleteFeatureRequest 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 |
Operation<Empty, DeleteOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
DeleteFeatureRequest request = new DeleteFeatureRequest
{
FeatureName = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeature(request);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeature(FeatureName, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeature(FeatureName name, CallSettings callSettings = null)
Deletes a single Feature.
Parameters | |
---|---|
Name | Description |
name | FeatureName Required. The name of the Features to be deleted.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeleteOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeatureName name = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeature(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeature(String, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeature(string name, CallSettings callSettings = null)
Deletes a single Feature.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Features to be deleted.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeleteOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]/features/[FEATURE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeature(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeature(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeatureAsync(DeleteFeatureRequest, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureAsync(DeleteFeatureRequest request, CallSettings callSettings = null)
Deletes a single Feature.
Parameters | |
---|---|
Name | Description |
request | DeleteFeatureRequest 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 |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFeatureRequest request = new DeleteFeatureRequest
{
FeatureName = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeatureAsync(DeleteFeatureRequest, CancellationToken)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureAsync(DeleteFeatureRequest request, CancellationToken cancellationToken)
Deletes a single Feature.
Parameters | |
---|---|
Name | Description |
request | DeleteFeatureRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFeatureRequest request = new DeleteFeatureRequest
{
FeatureName = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeatureAsync(FeatureName, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureAsync(FeatureName name, CallSettings callSettings = null)
Deletes a single Feature.
Parameters | |
---|---|
Name | Description |
name | FeatureName Required. The name of the Features to be deleted.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureName name = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeatureAsync(FeatureName, CancellationToken)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureAsync(FeatureName name, CancellationToken cancellationToken)
Deletes a single Feature.
Parameters | |
---|---|
Name | Description |
name | FeatureName Required. The name of the Features to be deleted.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureName name = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeatureAsync(String, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureAsync(string name, CallSettings callSettings = null)
Deletes a single Feature.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Features to be deleted.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]/features/[FEATURE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeatureAsync(String, CancellationToken)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeatureAsync(string name, CancellationToken cancellationToken)
Deletes a single Feature.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Features to be deleted.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]/features/[FEATURE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeatureAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeatureAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestore(DeleteFeaturestoreRequest, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeaturestore(DeleteFeaturestoreRequest request, CallSettings callSettings = null)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
request | DeleteFeaturestoreRequest 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 |
Operation<Empty, DeleteOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
DeleteFeaturestoreRequest request = new DeleteFeaturestoreRequest
{
FeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeaturestore(request);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestore(FeaturestoreName, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeaturestore(FeaturestoreName name, CallSettings callSettings = null)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | FeaturestoreName Required. The name of the Featurestore to be deleted.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeleteOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeaturestore(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestore(FeaturestoreName, Boolean, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeaturestore(FeaturestoreName name, bool force, CallSettings callSettings = null)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | FeaturestoreName Required. The name of the Featurestore to be deleted.
Format:
|
force | Boolean If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.) |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeleteOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeaturestore(name, force);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestore(String, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeaturestore(string name, CallSettings callSettings = null)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Featurestore to be deleted.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeleteOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeaturestore(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestore(String, Boolean, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> DeleteFeaturestore(string name, bool force, CallSettings callSettings = null)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Featurestore to be deleted.
Format:
|
force | Boolean If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.) |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeleteOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = featurestoreServiceClient.DeleteFeaturestore(name, force);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceDeleteFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestoreAsync(DeleteFeaturestoreRequest, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(DeleteFeaturestoreRequest request, CallSettings callSettings = null)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
request | DeleteFeaturestoreRequest 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 |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFeaturestoreRequest request = new DeleteFeaturestoreRequest
{
FeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestoreAsync(DeleteFeaturestoreRequest, CancellationToken)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(DeleteFeaturestoreRequest request, CancellationToken cancellationToken)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
request | DeleteFeaturestoreRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFeaturestoreRequest request = new DeleteFeaturestoreRequest
{
FeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestoreAsync(FeaturestoreName, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(FeaturestoreName name, CallSettings callSettings = null)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | FeaturestoreName Required. The name of the Featurestore to be deleted.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestoreAsync(FeaturestoreName, Boolean, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(FeaturestoreName name, bool force, CallSettings callSettings = null)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | FeaturestoreName Required. The name of the Featurestore to be deleted.
Format:
|
force | Boolean If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.) |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name, force);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestoreAsync(FeaturestoreName, Boolean, CancellationToken)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(FeaturestoreName name, bool force, CancellationToken cancellationToken)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | FeaturestoreName Required. The name of the Featurestore to be deleted.
Format:
|
force | Boolean If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.) |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name, force);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestoreAsync(FeaturestoreName, CancellationToken)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(FeaturestoreName name, CancellationToken cancellationToken)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | FeaturestoreName Required. The name of the Featurestore to be deleted.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestoreAsync(String, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(string name, CallSettings callSettings = null)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Featurestore to be deleted.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestoreAsync(String, Boolean, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(string name, bool force, CallSettings callSettings = null)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Featurestore to be deleted.
Format:
|
force | Boolean If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.) |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name, force);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestoreAsync(String, Boolean, CancellationToken)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(string name, bool force, CancellationToken cancellationToken)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Featurestore to be deleted.
Format:
|
force | Boolean If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.) |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
bool force = false;
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name, force);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteFeaturestoreAsync(String, CancellationToken)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteFeaturestoreAsync(string name, CancellationToken cancellationToken)
Deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force
must be set to true for the request to succeed.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Featurestore to be deleted.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await featurestoreServiceClient.DeleteFeaturestoreAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceDeleteFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
ExportFeatureValues(EntityTypeName, CallSettings)
public virtual Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> ExportFeatureValues(EntityTypeName entityType, CallSettings callSettings = null)
Exports Feature values from all the entities of a target EntityType.
Parameters | |
---|---|
Name | Description |
entityType | EntityTypeName Required. The resource name of the EntityType from which to export Feature values.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = featurestoreServiceClient.ExportFeatureValues(entityType);
// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceExportFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ExportFeatureValues(ExportFeatureValuesRequest, CallSettings)
public virtual Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> ExportFeatureValues(ExportFeatureValuesRequest request, CallSettings callSettings = null)
Exports Feature values from all the entities of a target EntityType.
Parameters | |
---|---|
Name | Description |
request | ExportFeatureValuesRequest 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 |
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
ExportFeatureValuesRequest request = new ExportFeatureValuesRequest
{
EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
SnapshotExport = new ExportFeatureValuesRequest.Types.SnapshotExport(),
Destination = new FeatureValueDestination(),
FeatureSelector = new FeatureSelector(),
Settings =
{
new DestinationFeatureSetting(),
},
};
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = featurestoreServiceClient.ExportFeatureValues(request);
// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceExportFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ExportFeatureValues(String, CallSettings)
public virtual Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> ExportFeatureValues(string entityType, CallSettings callSettings = null)
Exports Feature values from all the entities of a target EntityType.
Parameters | |
---|---|
Name | Description |
entityType | String Required. The resource name of the EntityType from which to export Feature values.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = featurestoreServiceClient.ExportFeatureValues(entityType);
// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceExportFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ExportFeatureValuesAsync(EntityTypeName, CallSettings)
public virtual Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> ExportFeatureValuesAsync(EntityTypeName entityType, CallSettings callSettings = null)
Exports Feature values from all the entities of a target EntityType.
Parameters | |
---|---|
Name | Description |
entityType | EntityTypeName Required. The resource name of the EntityType from which to export Feature values.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ExportFeatureValuesAsync(entityType);
// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceExportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ExportFeatureValuesAsync(EntityTypeName, CancellationToken)
public virtual Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> ExportFeatureValuesAsync(EntityTypeName entityType, CancellationToken cancellationToken)
Exports Feature values from all the entities of a target EntityType.
Parameters | |
---|---|
Name | Description |
entityType | EntityTypeName Required. The resource name of the EntityType from which to export Feature values.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ExportFeatureValuesAsync(entityType);
// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceExportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ExportFeatureValuesAsync(ExportFeatureValuesRequest, CallSettings)
public virtual Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> ExportFeatureValuesAsync(ExportFeatureValuesRequest request, CallSettings callSettings = null)
Exports Feature values from all the entities of a target EntityType.
Parameters | |
---|---|
Name | Description |
request | ExportFeatureValuesRequest 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 |
Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
ExportFeatureValuesRequest request = new ExportFeatureValuesRequest
{
EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
SnapshotExport = new ExportFeatureValuesRequest.Types.SnapshotExport(),
Destination = new FeatureValueDestination(),
FeatureSelector = new FeatureSelector(),
Settings =
{
new DestinationFeatureSetting(),
},
};
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ExportFeatureValuesAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceExportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ExportFeatureValuesAsync(ExportFeatureValuesRequest, CancellationToken)
public virtual Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> ExportFeatureValuesAsync(ExportFeatureValuesRequest request, CancellationToken cancellationToken)
Exports Feature values from all the entities of a target EntityType.
Parameters | |
---|---|
Name | Description |
request | ExportFeatureValuesRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
ExportFeatureValuesRequest request = new ExportFeatureValuesRequest
{
EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
SnapshotExport = new ExportFeatureValuesRequest.Types.SnapshotExport(),
Destination = new FeatureValueDestination(),
FeatureSelector = new FeatureSelector(),
Settings =
{
new DestinationFeatureSetting(),
},
};
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ExportFeatureValuesAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceExportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ExportFeatureValuesAsync(String, CallSettings)
public virtual Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> ExportFeatureValuesAsync(string entityType, CallSettings callSettings = null)
Exports Feature values from all the entities of a target EntityType.
Parameters | |
---|---|
Name | Description |
entityType | String Required. The resource name of the EntityType from which to export Feature values.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ExportFeatureValuesAsync(entityType);
// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceExportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ExportFeatureValuesAsync(String, CancellationToken)
public virtual Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> ExportFeatureValuesAsync(string entityType, CancellationToken cancellationToken)
Exports Feature values from all the entities of a target EntityType.
Parameters | |
---|---|
Name | Description |
entityType | String Required. The resource name of the EntityType from which to export Feature values.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ExportFeatureValuesAsync(entityType);
// Poll until the returned long-running operation is complete
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceExportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
GetEntityType(EntityTypeName, CallSettings)
public virtual EntityType GetEntityType(EntityTypeName name, CallSettings callSettings = null)
Gets details of a single EntityType.
Parameters | |
---|---|
Name | Description |
name | EntityTypeName Required. The name of the EntityType resource.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
EntityType | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
EntityType response = featurestoreServiceClient.GetEntityType(name);
GetEntityType(GetEntityTypeRequest, CallSettings)
public virtual EntityType GetEntityType(GetEntityTypeRequest request, CallSettings callSettings = null)
Gets details of a single EntityType.
Parameters | |
---|---|
Name | Description |
request | GetEntityTypeRequest 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 |
EntityType | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
GetEntityTypeRequest request = new GetEntityTypeRequest
{
EntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
};
// Make the request
EntityType response = featurestoreServiceClient.GetEntityType(request);
GetEntityType(String, CallSettings)
public virtual EntityType GetEntityType(string name, CallSettings callSettings = null)
Gets details of a single EntityType.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the EntityType resource.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
EntityType | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
EntityType response = featurestoreServiceClient.GetEntityType(name);
GetEntityTypeAsync(EntityTypeName, CallSettings)
public virtual Task<EntityType> GetEntityTypeAsync(EntityTypeName name, CallSettings callSettings = null)
Gets details of a single EntityType.
Parameters | |
---|---|
Name | Description |
name | EntityTypeName Required. The name of the EntityType resource.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<EntityType> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
EntityType response = await featurestoreServiceClient.GetEntityTypeAsync(name);
GetEntityTypeAsync(EntityTypeName, CancellationToken)
public virtual Task<EntityType> GetEntityTypeAsync(EntityTypeName name, CancellationToken cancellationToken)
Gets details of a single EntityType.
Parameters | |
---|---|
Name | Description |
name | EntityTypeName Required. The name of the EntityType resource.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<EntityType> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName name = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
EntityType response = await featurestoreServiceClient.GetEntityTypeAsync(name);
GetEntityTypeAsync(GetEntityTypeRequest, CallSettings)
public virtual Task<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, CallSettings callSettings = null)
Gets details of a single EntityType.
Parameters | |
---|---|
Name | Description |
request | GetEntityTypeRequest 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 |
Task<EntityType> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
GetEntityTypeRequest request = new GetEntityTypeRequest
{
EntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
};
// Make the request
EntityType response = await featurestoreServiceClient.GetEntityTypeAsync(request);
GetEntityTypeAsync(GetEntityTypeRequest, CancellationToken)
public virtual Task<EntityType> GetEntityTypeAsync(GetEntityTypeRequest request, CancellationToken cancellationToken)
Gets details of a single EntityType.
Parameters | |
---|---|
Name | Description |
request | GetEntityTypeRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<EntityType> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
GetEntityTypeRequest request = new GetEntityTypeRequest
{
EntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
};
// Make the request
EntityType response = await featurestoreServiceClient.GetEntityTypeAsync(request);
GetEntityTypeAsync(String, CallSettings)
public virtual Task<EntityType> GetEntityTypeAsync(string name, CallSettings callSettings = null)
Gets details of a single EntityType.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the EntityType resource.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<EntityType> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
EntityType response = await featurestoreServiceClient.GetEntityTypeAsync(name);
GetEntityTypeAsync(String, CancellationToken)
public virtual Task<EntityType> GetEntityTypeAsync(string name, CancellationToken cancellationToken)
Gets details of a single EntityType.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the EntityType resource.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<EntityType> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
EntityType response = await featurestoreServiceClient.GetEntityTypeAsync(name);
GetFeature(FeatureName, CallSettings)
public virtual Feature GetFeature(FeatureName name, CallSettings callSettings = null)
Gets details of a single Feature.
Parameters | |
---|---|
Name | Description |
name | FeatureName Required. The name of the Feature resource.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Feature | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeatureName name = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
// Make the request
Feature response = featurestoreServiceClient.GetFeature(name);
GetFeature(GetFeatureRequest, CallSettings)
public virtual Feature GetFeature(GetFeatureRequest request, CallSettings callSettings = null)
Gets details of a single Feature.
Parameters | |
---|---|
Name | Description |
request | GetFeatureRequest 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 |
Feature | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
GetFeatureRequest request = new GetFeatureRequest
{
FeatureName = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]"),
};
// Make the request
Feature response = featurestoreServiceClient.GetFeature(request);
GetFeature(String, CallSettings)
public virtual Feature GetFeature(string name, CallSettings callSettings = null)
Gets details of a single Feature.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Feature resource.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Feature | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]/features/[FEATURE]";
// Make the request
Feature response = featurestoreServiceClient.GetFeature(name);
GetFeatureAsync(FeatureName, CallSettings)
public virtual Task<Feature> GetFeatureAsync(FeatureName name, CallSettings callSettings = null)
Gets details of a single Feature.
Parameters | |
---|---|
Name | Description |
name | FeatureName Required. The name of the Feature resource.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Feature> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureName name = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
// Make the request
Feature response = await featurestoreServiceClient.GetFeatureAsync(name);
GetFeatureAsync(FeatureName, CancellationToken)
public virtual Task<Feature> GetFeatureAsync(FeatureName name, CancellationToken cancellationToken)
Gets details of a single Feature.
Parameters | |
---|---|
Name | Description |
name | FeatureName Required. The name of the Feature resource.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Feature> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeatureName name = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
// Make the request
Feature response = await featurestoreServiceClient.GetFeatureAsync(name);
GetFeatureAsync(GetFeatureRequest, CallSettings)
public virtual Task<Feature> GetFeatureAsync(GetFeatureRequest request, CallSettings callSettings = null)
Gets details of a single Feature.
Parameters | |
---|---|
Name | Description |
request | GetFeatureRequest 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 |
Task<Feature> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
GetFeatureRequest request = new GetFeatureRequest
{
FeatureName = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]"),
};
// Make the request
Feature response = await featurestoreServiceClient.GetFeatureAsync(request);
GetFeatureAsync(GetFeatureRequest, CancellationToken)
public virtual Task<Feature> GetFeatureAsync(GetFeatureRequest request, CancellationToken cancellationToken)
Gets details of a single Feature.
Parameters | |
---|---|
Name | Description |
request | GetFeatureRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Feature> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
GetFeatureRequest request = new GetFeatureRequest
{
FeatureName = FeatureName.FromProjectLocationFeaturestoreEntityTypeFeature("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]"),
};
// Make the request
Feature response = await featurestoreServiceClient.GetFeatureAsync(request);
GetFeatureAsync(String, CallSettings)
public virtual Task<Feature> GetFeatureAsync(string name, CallSettings callSettings = null)
Gets details of a single Feature.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Feature resource.
Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Feature> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]/features/[FEATURE]";
// Make the request
Feature response = await featurestoreServiceClient.GetFeatureAsync(name);
GetFeatureAsync(String, CancellationToken)
public virtual Task<Feature> GetFeatureAsync(string name, CancellationToken cancellationToken)
Gets details of a single Feature.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Feature resource.
Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Feature> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]/features/[FEATURE]";
// Make the request
Feature response = await featurestoreServiceClient.GetFeatureAsync(name);
GetFeaturestore(FeaturestoreName, CallSettings)
public virtual Featurestore GetFeaturestore(FeaturestoreName name, CallSettings callSettings = null)
Gets details of a single Featurestore.
Parameters | |
---|---|
Name | Description |
name | FeaturestoreName Required. The name of the Featurestore resource. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Featurestore | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Featurestore response = featurestoreServiceClient.GetFeaturestore(name);
GetFeaturestore(GetFeaturestoreRequest, CallSettings)
public virtual Featurestore GetFeaturestore(GetFeaturestoreRequest request, CallSettings callSettings = null)
Gets details of a single Featurestore.
Parameters | |
---|---|
Name | Description |
request | GetFeaturestoreRequest 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 |
Featurestore | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
GetFeaturestoreRequest request = new GetFeaturestoreRequest
{
FeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
};
// Make the request
Featurestore response = featurestoreServiceClient.GetFeaturestore(request);
GetFeaturestore(String, CallSettings)
public virtual Featurestore GetFeaturestore(string name, CallSettings callSettings = null)
Gets details of a single Featurestore.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Featurestore resource. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Featurestore | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Featurestore response = featurestoreServiceClient.GetFeaturestore(name);
GetFeaturestoreAsync(FeaturestoreName, CallSettings)
public virtual Task<Featurestore> GetFeaturestoreAsync(FeaturestoreName name, CallSettings callSettings = null)
Gets details of a single Featurestore.
Parameters | |
---|---|
Name | Description |
name | FeaturestoreName Required. The name of the Featurestore resource. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Featurestore> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Featurestore response = await featurestoreServiceClient.GetFeaturestoreAsync(name);
GetFeaturestoreAsync(FeaturestoreName, CancellationToken)
public virtual Task<Featurestore> GetFeaturestoreAsync(FeaturestoreName name, CancellationToken cancellationToken)
Gets details of a single Featurestore.
Parameters | |
---|---|
Name | Description |
name | FeaturestoreName Required. The name of the Featurestore resource. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Featurestore> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName name = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
Featurestore response = await featurestoreServiceClient.GetFeaturestoreAsync(name);
GetFeaturestoreAsync(GetFeaturestoreRequest, CallSettings)
public virtual Task<Featurestore> GetFeaturestoreAsync(GetFeaturestoreRequest request, CallSettings callSettings = null)
Gets details of a single Featurestore.
Parameters | |
---|---|
Name | Description |
request | GetFeaturestoreRequest 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 |
Task<Featurestore> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
GetFeaturestoreRequest request = new GetFeaturestoreRequest
{
FeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
};
// Make the request
Featurestore response = await featurestoreServiceClient.GetFeaturestoreAsync(request);
GetFeaturestoreAsync(GetFeaturestoreRequest, CancellationToken)
public virtual Task<Featurestore> GetFeaturestoreAsync(GetFeaturestoreRequest request, CancellationToken cancellationToken)
Gets details of a single Featurestore.
Parameters | |
---|---|
Name | Description |
request | GetFeaturestoreRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Featurestore> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
GetFeaturestoreRequest request = new GetFeaturestoreRequest
{
FeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
};
// Make the request
Featurestore response = await featurestoreServiceClient.GetFeaturestoreAsync(request);
GetFeaturestoreAsync(String, CallSettings)
public virtual Task<Featurestore> GetFeaturestoreAsync(string name, CallSettings callSettings = null)
Gets details of a single Featurestore.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Featurestore resource. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Featurestore> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Featurestore response = await featurestoreServiceClient.GetFeaturestoreAsync(name);
GetFeaturestoreAsync(String, CancellationToken)
public virtual Task<Featurestore> GetFeaturestoreAsync(string name, CancellationToken cancellationToken)
Gets details of a single Featurestore.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the Featurestore resource. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Featurestore> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
Featurestore response = await featurestoreServiceClient.GetFeaturestoreAsync(name);
ImportFeatureValues(EntityTypeName, CallSettings)
public virtual Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> ImportFeatureValues(EntityTypeName entityType, CallSettings callSettings = null)
Imports Feature values into the Featurestore from a source storage.
The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.
If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.
There are also scenarios where the caller can cause inconsistency.
- Source data for import contains multiple distinct Feature values for the same entity ID and timestamp.
- Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy.
- Online serving cluster is under-provisioned.
Parameters | |
---|---|
Name | Description |
entityType | EntityTypeName Required. The resource name of the EntityType grouping the Features for which values
are being imported. Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = featurestoreServiceClient.ImportFeatureValues(entityType);
// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceImportFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ImportFeatureValues(ImportFeatureValuesRequest, CallSettings)
public virtual Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> ImportFeatureValues(ImportFeatureValuesRequest request, CallSettings callSettings = null)
Imports Feature values into the Featurestore from a source storage.
The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.
If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.
There are also scenarios where the caller can cause inconsistency.
- Source data for import contains multiple distinct Feature values for the same entity ID and timestamp.
- Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy.
- Online serving cluster is under-provisioned.
Parameters | |
---|---|
Name | Description |
request | ImportFeatureValuesRequest 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 |
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
ImportFeatureValuesRequest request = new ImportFeatureValuesRequest
{
EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
AvroSource = new AvroSource(),
EntityIdField = "",
FeatureTimeField = "",
FeatureSpecs =
{
new ImportFeatureValuesRequest.Types.FeatureSpec(),
},
DisableOnlineServing = false,
WorkerCount = 0,
DisableIngestionAnalysis = false,
};
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = featurestoreServiceClient.ImportFeatureValues(request);
// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceImportFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ImportFeatureValues(String, CallSettings)
public virtual Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> ImportFeatureValues(string entityType, CallSettings callSettings = null)
Imports Feature values into the Featurestore from a source storage.
The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.
If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.
There are also scenarios where the caller can cause inconsistency.
- Source data for import contains multiple distinct Feature values for the same entity ID and timestamp.
- Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy.
- Online serving cluster is under-provisioned.
Parameters | |
---|---|
Name | Description |
entityType | String Required. The resource name of the EntityType grouping the Features for which values
are being imported. Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = featurestoreServiceClient.ImportFeatureValues(entityType);
// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceImportFeatureValues(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ImportFeatureValuesAsync(EntityTypeName, CallSettings)
public virtual Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> ImportFeatureValuesAsync(EntityTypeName entityType, CallSettings callSettings = null)
Imports Feature values into the Featurestore from a source storage.
The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.
If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.
There are also scenarios where the caller can cause inconsistency.
- Source data for import contains multiple distinct Feature values for the same entity ID and timestamp.
- Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy.
- Online serving cluster is under-provisioned.
Parameters | |
---|---|
Name | Description |
entityType | EntityTypeName Required. The resource name of the EntityType grouping the Features for which values
are being imported. Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ImportFeatureValuesAsync(entityType);
// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceImportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ImportFeatureValuesAsync(EntityTypeName, CancellationToken)
public virtual Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> ImportFeatureValuesAsync(EntityTypeName entityType, CancellationToken cancellationToken)
Imports Feature values into the Featurestore from a source storage.
The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.
If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.
There are also scenarios where the caller can cause inconsistency.
- Source data for import contains multiple distinct Feature values for the same entity ID and timestamp.
- Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy.
- Online serving cluster is under-provisioned.
Parameters | |
---|---|
Name | Description |
entityType | EntityTypeName Required. The resource name of the EntityType grouping the Features for which values
are being imported. Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName entityType = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ImportFeatureValuesAsync(entityType);
// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceImportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ImportFeatureValuesAsync(ImportFeatureValuesRequest, CallSettings)
public virtual Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> ImportFeatureValuesAsync(ImportFeatureValuesRequest request, CallSettings callSettings = null)
Imports Feature values into the Featurestore from a source storage.
The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.
If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.
There are also scenarios where the caller can cause inconsistency.
- Source data for import contains multiple distinct Feature values for the same entity ID and timestamp.
- Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy.
- Online serving cluster is under-provisioned.
Parameters | |
---|---|
Name | Description |
request | ImportFeatureValuesRequest 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 |
Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
ImportFeatureValuesRequest request = new ImportFeatureValuesRequest
{
EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
AvroSource = new AvroSource(),
EntityIdField = "",
FeatureTimeField = "",
FeatureSpecs =
{
new ImportFeatureValuesRequest.Types.FeatureSpec(),
},
DisableOnlineServing = false,
WorkerCount = 0,
DisableIngestionAnalysis = false,
};
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ImportFeatureValuesAsync(request);
// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceImportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ImportFeatureValuesAsync(ImportFeatureValuesRequest, CancellationToken)
public virtual Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> ImportFeatureValuesAsync(ImportFeatureValuesRequest request, CancellationToken cancellationToken)
Imports Feature values into the Featurestore from a source storage.
The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.
If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.
There are also scenarios where the caller can cause inconsistency.
- Source data for import contains multiple distinct Feature values for the same entity ID and timestamp.
- Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy.
- Online serving cluster is under-provisioned.
Parameters | |
---|---|
Name | Description |
request | ImportFeatureValuesRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
ImportFeatureValuesRequest request = new ImportFeatureValuesRequest
{
EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
AvroSource = new AvroSource(),
EntityIdField = "",
FeatureTimeField = "",
FeatureSpecs =
{
new ImportFeatureValuesRequest.Types.FeatureSpec(),
},
DisableOnlineServing = false,
WorkerCount = 0,
DisableIngestionAnalysis = false,
};
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ImportFeatureValuesAsync(request);
// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceImportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ImportFeatureValuesAsync(String, CallSettings)
public virtual Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> ImportFeatureValuesAsync(string entityType, CallSettings callSettings = null)
Imports Feature values into the Featurestore from a source storage.
The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.
If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.
There are also scenarios where the caller can cause inconsistency.
- Source data for import contains multiple distinct Feature values for the same entity ID and timestamp.
- Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy.
- Online serving cluster is under-provisioned.
Parameters | |
---|---|
Name | Description |
entityType | String Required. The resource name of the EntityType grouping the Features for which values
are being imported. Format:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ImportFeatureValuesAsync(entityType);
// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceImportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ImportFeatureValuesAsync(String, CancellationToken)
public virtual Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> ImportFeatureValuesAsync(string entityType, CancellationToken cancellationToken)
Imports Feature values into the Featurestore from a source storage.
The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done.
If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done.
There are also scenarios where the caller can cause inconsistency.
- Source data for import contains multiple distinct Feature values for the same entity ID and timestamp.
- Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy.
- Online serving cluster is under-provisioned.
Parameters | |
---|---|
Name | Description |
entityType | String Required. The resource name of the EntityType grouping the Features for which values
are being imported. Format:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string entityType = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> response = await featurestoreServiceClient.ImportFeatureValuesAsync(entityType);
// Poll until the returned long-running operation is complete
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ImportFeatureValuesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceImportFeatureValuesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ImportFeatureValuesResponse retrievedResult = retrievedResponse.Result;
}
ListEntityTypes(FeaturestoreName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypes(FeaturestoreName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists EntityTypes in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | FeaturestoreName Required. The resource name of the Featurestore to list EntityTypes.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListEntityTypesResponse, EntityType> | A pageable sequence of EntityType resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
PagedEnumerable<ListEntityTypesResponse, EntityType> response = featurestoreServiceClient.ListEntityTypes(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (EntityType item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEntityTypesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EntityType item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntityType> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntityType item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntityTypes(ListEntityTypesRequest, CallSettings)
public virtual PagedEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypes(ListEntityTypesRequest request, CallSettings callSettings = null)
Lists EntityTypes in a given Featurestore.
Parameters | |
---|---|
Name | Description |
request | ListEntityTypesRequest 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 |
PagedEnumerable<ListEntityTypesResponse, EntityType> | A pageable sequence of EntityType resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
ListEntityTypesRequest request = new ListEntityTypesRequest
{
ParentAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
Filter = "",
OrderBy = "",
ReadMask = new FieldMask(),
};
// Make the request
PagedEnumerable<ListEntityTypesResponse, EntityType> response = featurestoreServiceClient.ListEntityTypes(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (EntityType item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEntityTypesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EntityType item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntityType> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntityType item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntityTypes(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypes(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists EntityTypes in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Featurestore to list EntityTypes.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListEntityTypesResponse, EntityType> | A pageable sequence of EntityType resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
PagedEnumerable<ListEntityTypesResponse, EntityType> response = featurestoreServiceClient.ListEntityTypes(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (EntityType item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEntityTypesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EntityType item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntityType> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntityType item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntityTypesAsync(FeaturestoreName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypesAsync(FeaturestoreName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists EntityTypes in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | FeaturestoreName Required. The resource name of the Featurestore to list EntityTypes.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> | A pageable asynchronous sequence of EntityType resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
FeaturestoreName parent = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
// Make the request
PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> response = featurestoreServiceClient.ListEntityTypesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EntityType item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntityTypesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EntityType item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntityType> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntityType item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntityTypesAsync(ListEntityTypesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypesAsync(ListEntityTypesRequest request, CallSettings callSettings = null)
Lists EntityTypes in a given Featurestore.
Parameters | |
---|---|
Name | Description |
request | ListEntityTypesRequest 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 |
PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> | A pageable asynchronous sequence of EntityType resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
ListEntityTypesRequest request = new ListEntityTypesRequest
{
ParentAsFeaturestoreName = FeaturestoreName.FromProjectLocationFeaturestore("[PROJECT]", "[LOCATION]", "[FEATURESTORE]"),
Filter = "",
OrderBy = "",
ReadMask = new FieldMask(),
};
// Make the request
PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> response = featurestoreServiceClient.ListEntityTypesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EntityType item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntityTypesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EntityType item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntityType> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntityType item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEntityTypesAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> ListEntityTypesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists EntityTypes in a given Featurestore.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Featurestore to list EntityTypes.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> | A pageable asynchronous sequence of EntityType resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]";
// Make the request
PagedAsyncEnumerable<ListEntityTypesResponse, EntityType> response = featurestoreServiceClient.ListEntityTypesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EntityType item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntityTypesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EntityType item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EntityType> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EntityType item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFeatures(EntityTypeName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListFeaturesResponse, Feature> ListFeatures(EntityTypeName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | EntityTypeName Required. The resource name of the Location to list Features.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListFeaturesResponse, Feature> | A pageable sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
PagedEnumerable<ListFeaturesResponse, Feature> response = featurestoreServiceClient.ListFeatures(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFeaturesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFeatures(ListFeaturesRequest, CallSettings)
public virtual PagedEnumerable<ListFeaturesResponse, Feature> ListFeatures(ListFeaturesRequest request, CallSettings callSettings = null)
Lists Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
request | ListFeaturesRequest 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 |
PagedEnumerable<ListFeaturesResponse, Feature> | A pageable sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
ListFeaturesRequest request = new ListFeaturesRequest
{
ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
Filter = "",
OrderBy = "",
ReadMask = new FieldMask(),
LatestStatsCount = 0,
};
// Make the request
PagedEnumerable<ListFeaturesResponse, Feature> response = featurestoreServiceClient.ListFeatures(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFeaturesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFeatures(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListFeaturesResponse, Feature> ListFeatures(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Location to list Features.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListFeaturesResponse, Feature> | A pageable sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
PagedEnumerable<ListFeaturesResponse, Feature> response = featurestoreServiceClient.ListFeatures(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFeaturesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFeaturesAsync(EntityTypeName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListFeaturesResponse, Feature> ListFeaturesAsync(EntityTypeName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | EntityTypeName Required. The resource name of the Location to list Features.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListFeaturesResponse, Feature> | A pageable asynchronous sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityTypeName parent = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
// Make the request
PagedAsyncEnumerable<ListFeaturesResponse, Feature> response = featurestoreServiceClient.ListFeaturesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFeaturesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFeaturesAsync(ListFeaturesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListFeaturesResponse, Feature> ListFeaturesAsync(ListFeaturesRequest request, CallSettings callSettings = null)
Lists Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
request | ListFeaturesRequest 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 |
PagedAsyncEnumerable<ListFeaturesResponse, Feature> | A pageable asynchronous sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
ListFeaturesRequest request = new ListFeaturesRequest
{
ParentAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"),
Filter = "",
OrderBy = "",
ReadMask = new FieldMask(),
LatestStatsCount = 0,
};
// Make the request
PagedAsyncEnumerable<ListFeaturesResponse, Feature> response = featurestoreServiceClient.ListFeaturesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFeaturesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFeaturesAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListFeaturesResponse, Feature> ListFeaturesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Features in a given EntityType.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Location to list Features.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListFeaturesResponse, Feature> | A pageable asynchronous sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/featurestores/[FEATURESTORE]/entityTypes/[ENTITY_TYPE]";
// Make the request
PagedAsyncEnumerable<ListFeaturesResponse, Feature> response = featurestoreServiceClient.ListFeaturesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFeaturesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFeaturestores(LocationName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestores(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Featurestores in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The resource name of the Location to list Featurestores.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListFeaturestoresResponse, Featurestore> | A pageable sequence of Featurestore resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListFeaturestoresResponse, Featurestore> response = featurestoreServiceClient.ListFeaturestores(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Featurestore item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFeaturestoresResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Featurestore item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Featurestore> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Featurestore item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFeaturestores(ListFeaturestoresRequest, CallSettings)
public virtual PagedEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestores(ListFeaturestoresRequest request, CallSettings callSettings = null)
Lists Featurestores in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListFeaturestoresRequest 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 |
PagedEnumerable<ListFeaturestoresResponse, Featurestore> | A pageable sequence of Featurestore resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
ListFeaturestoresRequest request = new ListFeaturestoresRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
ReadMask = new FieldMask(),
};
// Make the request
PagedEnumerable<ListFeaturestoresResponse, Featurestore> response = featurestoreServiceClient.ListFeaturestores(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Featurestore item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFeaturestoresResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Featurestore item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Featurestore> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Featurestore item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFeaturestores(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestores(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Featurestores in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Location to list Featurestores.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListFeaturestoresResponse, Featurestore> | A pageable sequence of Featurestore resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListFeaturestoresResponse, Featurestore> response = featurestoreServiceClient.ListFeaturestores(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Featurestore item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFeaturestoresResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Featurestore item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Featurestore> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Featurestore item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFeaturestoresAsync(LocationName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestoresAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Featurestores in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The resource name of the Location to list Featurestores.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> | A pageable asynchronous sequence of Featurestore resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> response = featurestoreServiceClient.ListFeaturestoresAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Featurestore item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFeaturestoresResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Featurestore item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Featurestore> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Featurestore item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFeaturestoresAsync(ListFeaturestoresRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestoresAsync(ListFeaturestoresRequest request, CallSettings callSettings = null)
Lists Featurestores in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListFeaturestoresRequest 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 |
PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> | A pageable asynchronous sequence of Featurestore resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
ListFeaturestoresRequest request = new ListFeaturestoresRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
ReadMask = new FieldMask(),
};
// Make the request
PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> response = featurestoreServiceClient.ListFeaturestoresAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Featurestore item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFeaturestoresResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Featurestore item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Featurestore> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Featurestore item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFeaturestoresAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> ListFeaturestoresAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Featurestores in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource name of the Location to list Featurestores.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> | A pageable asynchronous sequence of Featurestore resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListFeaturestoresResponse, Featurestore> response = featurestoreServiceClient.ListFeaturestoresAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Featurestore item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFeaturestoresResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Featurestore item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Featurestore> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Featurestore item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
PollOnceBatchCreateFeatures(String, CallSettings)
public virtual Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> PollOnceBatchCreateFeatures(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of BatchCreateFeatures
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata> | The result of polling the operation. |
PollOnceBatchCreateFeaturesAsync(String, CallSettings)
public virtual Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> PollOnceBatchCreateFeaturesAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
BatchCreateFeatures
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<BatchCreateFeaturesResponse, BatchCreateFeaturesOperationMetadata>> | A task representing the result of polling the operation. |
PollOnceBatchReadFeatureValues(String, CallSettings)
public virtual Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> PollOnceBatchReadFeatureValues(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
BatchReadFeatureValues
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata> | The result of polling the operation. |
PollOnceBatchReadFeatureValuesAsync(String, CallSettings)
public virtual Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> PollOnceBatchReadFeatureValuesAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
BatchReadFeatureValues
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<BatchReadFeatureValuesResponse, BatchReadFeatureValuesOperationMetadata>> | A task representing the result of polling the operation. |
PollOnceCreateEntityType(String, CallSettings)
public virtual Operation<EntityType, CreateEntityTypeOperationMetadata> PollOnceCreateEntityType(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of CreateEntityType
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<EntityType, CreateEntityTypeOperationMetadata> | The result of polling the operation. |
PollOnceCreateEntityTypeAsync(String, CallSettings)
public virtual Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> PollOnceCreateEntityTypeAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateEntityType
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<EntityType, CreateEntityTypeOperationMetadata>> | A task representing the result of polling the operation. |
PollOnceCreateFeature(String, CallSettings)
public virtual Operation<Feature, CreateFeatureOperationMetadata> PollOnceCreateFeature(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of CreateFeature
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Feature, CreateFeatureOperationMetadata> | The result of polling the operation. |
PollOnceCreateFeatureAsync(String, CallSettings)
public virtual Task<Operation<Feature, CreateFeatureOperationMetadata>> PollOnceCreateFeatureAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateFeature
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Feature, CreateFeatureOperationMetadata>> | A task representing the result of polling the operation. |
PollOnceCreateFeaturestore(String, CallSettings)
public virtual Operation<Featurestore, CreateFeaturestoreOperationMetadata> PollOnceCreateFeaturestore(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of CreateFeaturestore
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Featurestore, CreateFeaturestoreOperationMetadata> | The result of polling the operation. |
PollOnceCreateFeaturestoreAsync(String, CallSettings)
public virtual Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> PollOnceCreateFeaturestoreAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateFeaturestore
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Featurestore, CreateFeaturestoreOperationMetadata>> | A task representing the result of polling the operation. |
PollOnceDeleteEntityType(String, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> PollOnceDeleteEntityType(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of DeleteEntityType
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeleteOperationMetadata> | The result of polling the operation. |
PollOnceDeleteEntityTypeAsync(String, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> PollOnceDeleteEntityTypeAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteEntityType
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A task representing the result of polling the operation. |
PollOnceDeleteFeature(String, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> PollOnceDeleteFeature(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of DeleteFeature
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeleteOperationMetadata> | The result of polling the operation. |
PollOnceDeleteFeatureAsync(String, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> PollOnceDeleteFeatureAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteFeature
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A task representing the result of polling the operation. |
PollOnceDeleteFeaturestore(String, CallSettings)
public virtual Operation<Empty, DeleteOperationMetadata> PollOnceDeleteFeaturestore(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of DeleteFeaturestore
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeleteOperationMetadata> | The result of polling the operation. |
PollOnceDeleteFeaturestoreAsync(String, CallSettings)
public virtual Task<Operation<Empty, DeleteOperationMetadata>> PollOnceDeleteFeaturestoreAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteFeaturestore
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, DeleteOperationMetadata>> | A task representing the result of polling the operation. |
PollOnceExportFeatureValues(String, CallSettings)
public virtual Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> PollOnceExportFeatureValues(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of ExportFeatureValues
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata> | The result of polling the operation. |
PollOnceExportFeatureValuesAsync(String, CallSettings)
public virtual Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> PollOnceExportFeatureValuesAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
ExportFeatureValues
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<ExportFeatureValuesResponse, ExportFeatureValuesOperationMetadata>> | A task representing the result of polling the operation. |
PollOnceImportFeatureValues(String, CallSettings)
public virtual Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> PollOnceImportFeatureValues(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of ImportFeatureValues
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata> | The result of polling the operation. |
PollOnceImportFeatureValuesAsync(String, CallSettings)
public virtual Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> PollOnceImportFeatureValuesAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
ImportFeatureValues
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<ImportFeatureValuesResponse, ImportFeatureValuesOperationMetadata>> | A task representing the result of polling the operation. |
PollOnceUpdateFeaturestore(String, CallSettings)
public virtual Operation<Featurestore, UpdateFeaturestoreOperationMetadata> PollOnceUpdateFeaturestore(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of UpdateFeaturestore
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> | The result of polling the operation. |
PollOnceUpdateFeaturestoreAsync(String, CallSettings)
public virtual Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> PollOnceUpdateFeaturestoreAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
UpdateFeaturestore
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> | A task representing the result of polling the operation. |
SearchFeatures(LocationName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<SearchFeaturesResponse, Feature> SearchFeatures(LocationName location, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches Features matching a query in a given project.
Parameters | |
---|---|
Name | Description |
location | LocationName Required. The resource name of the Location to search Features.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<SearchFeaturesResponse, Feature> | A pageable sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeatures(location);
// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchFeaturesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchFeatures(LocationName, String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<SearchFeaturesResponse, Feature> SearchFeatures(LocationName location, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches Features matching a query in a given project.
Parameters | |
---|---|
Name | Description |
location | LocationName Required. The resource name of the Location to search Features.
Format:
|
query | String Query string that is a conjunction of field-restricted queries and/or
field-restricted filters. Field-restricted queries and filters can be
combined using A field query is in the form FIELD:QUERY. This implicitly checks if QUERY exists as a substring within Feature's FIELD. The QUERY and the FIELD are converted to a sequence of words (i.e. tokens) for comparison. This is done by:
A QUERY must be either a singular token or a phrase. A phrase is one or multiple words enclosed in double quotation marks ("). With phrases, the order of the words is important. Words in the phrase must be matching in order and consecutively. Supported FIELDs for field-restricted queries:
Examples:
Besides field queries, the following exact-match filters are supported. The exact-match filters do not support wildcards. Unlike field-restricted queries, exact-match filters are case-sensitive.
Examples:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<SearchFeaturesResponse, Feature> | A pageable sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string query = "";
// Make the request
PagedEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeatures(location, query: query);
// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchFeaturesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchFeatures(SearchFeaturesRequest, CallSettings)
public virtual PagedEnumerable<SearchFeaturesResponse, Feature> SearchFeatures(SearchFeaturesRequest request, CallSettings callSettings = null)
Searches Features matching a query in a given project.
Parameters | |
---|---|
Name | Description |
request | SearchFeaturesRequest 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 |
PagedEnumerable<SearchFeaturesResponse, Feature> | A pageable sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
SearchFeaturesRequest request = new SearchFeaturesRequest
{
LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Query = "",
};
// Make the request
PagedEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeatures(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchFeaturesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchFeatures(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<SearchFeaturesResponse, Feature> SearchFeatures(string location, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches Features matching a query in a given project.
Parameters | |
---|---|
Name | Description |
location | String Required. The resource name of the Location to search Features.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<SearchFeaturesResponse, Feature> | A pageable sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string location = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeatures(location);
// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchFeaturesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchFeatures(String, String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<SearchFeaturesResponse, Feature> SearchFeatures(string location, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches Features matching a query in a given project.
Parameters | |
---|---|
Name | Description |
location | String Required. The resource name of the Location to search Features.
Format:
|
query | String Query string that is a conjunction of field-restricted queries and/or
field-restricted filters. Field-restricted queries and filters can be
combined using A field query is in the form FIELD:QUERY. This implicitly checks if QUERY exists as a substring within Feature's FIELD. The QUERY and the FIELD are converted to a sequence of words (i.e. tokens) for comparison. This is done by:
A QUERY must be either a singular token or a phrase. A phrase is one or multiple words enclosed in double quotation marks ("). With phrases, the order of the words is important. Words in the phrase must be matching in order and consecutively. Supported FIELDs for field-restricted queries:
Examples:
Besides field queries, the following exact-match filters are supported. The exact-match filters do not support wildcards. Unlike field-restricted queries, exact-match filters are case-sensitive.
Examples:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<SearchFeaturesResponse, Feature> | A pageable sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
string location = "projects/[PROJECT]/locations/[LOCATION]";
string query = "";
// Make the request
PagedEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeatures(location, query: query);
// Iterate over all response items, lazily performing RPCs as required
foreach (Feature item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchFeaturesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchFeaturesAsync(LocationName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<SearchFeaturesResponse, Feature> SearchFeaturesAsync(LocationName location, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches Features matching a query in a given project.
Parameters | |
---|---|
Name | Description |
location | LocationName Required. The resource name of the Location to search Features.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> | A pageable asynchronous sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeaturesAsync(location);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchFeaturesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchFeaturesAsync(LocationName, String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<SearchFeaturesResponse, Feature> SearchFeaturesAsync(LocationName location, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches Features matching a query in a given project.
Parameters | |
---|---|
Name | Description |
location | LocationName Required. The resource name of the Location to search Features.
Format:
|
query | String Query string that is a conjunction of field-restricted queries and/or
field-restricted filters. Field-restricted queries and filters can be
combined using A field query is in the form FIELD:QUERY. This implicitly checks if QUERY exists as a substring within Feature's FIELD. The QUERY and the FIELD are converted to a sequence of words (i.e. tokens) for comparison. This is done by:
A QUERY must be either a singular token or a phrase. A phrase is one or multiple words enclosed in double quotation marks ("). With phrases, the order of the words is important. Words in the phrase must be matching in order and consecutively. Supported FIELDs for field-restricted queries:
Examples:
Besides field queries, the following exact-match filters are supported. The exact-match filters do not support wildcards. Unlike field-restricted queries, exact-match filters are case-sensitive.
Examples:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> | A pageable asynchronous sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string query = "";
// Make the request
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeaturesAsync(location, query: query);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchFeaturesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchFeaturesAsync(SearchFeaturesRequest, CallSettings)
public virtual PagedAsyncEnumerable<SearchFeaturesResponse, Feature> SearchFeaturesAsync(SearchFeaturesRequest request, CallSettings callSettings = null)
Searches Features matching a query in a given project.
Parameters | |
---|---|
Name | Description |
request | SearchFeaturesRequest 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 |
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> | A pageable asynchronous sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
SearchFeaturesRequest request = new SearchFeaturesRequest
{
LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Query = "",
};
// Make the request
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeaturesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchFeaturesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchFeaturesAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<SearchFeaturesResponse, Feature> SearchFeaturesAsync(string location, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches Features matching a query in a given project.
Parameters | |
---|---|
Name | Description |
location | String Required. The resource name of the Location to search Features.
Format:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> | A pageable asynchronous sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string location = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeaturesAsync(location);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchFeaturesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchFeaturesAsync(String, String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<SearchFeaturesResponse, Feature> SearchFeaturesAsync(string location, string query, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Searches Features matching a query in a given project.
Parameters | |
---|---|
Name | Description |
location | String Required. The resource name of the Location to search Features.
Format:
|
query | String Query string that is a conjunction of field-restricted queries and/or
field-restricted filters. Field-restricted queries and filters can be
combined using A field query is in the form FIELD:QUERY. This implicitly checks if QUERY exists as a substring within Feature's FIELD. The QUERY and the FIELD are converted to a sequence of words (i.e. tokens) for comparison. This is done by:
A QUERY must be either a singular token or a phrase. A phrase is one or multiple words enclosed in double quotation marks ("). With phrases, the order of the words is important. Words in the phrase must be matching in order and consecutively. Supported FIELDs for field-restricted queries:
Examples:
Besides field queries, the following exact-match filters are supported. The exact-match filters do not support wildcards. Unlike field-restricted queries, exact-match filters are case-sensitive.
Examples:
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> | A pageable asynchronous sequence of Feature resources. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
string location = "projects/[PROJECT]/locations/[LOCATION]";
string query = "";
// Make the request
PagedAsyncEnumerable<SearchFeaturesResponse, Feature> response = featurestoreServiceClient.SearchFeaturesAsync(location, query: query);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Feature item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchFeaturesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Feature item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Feature> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Feature item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()
Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
Returns | |
---|---|
Type | Description |
Task | A task representing the asynchronous shutdown operation. |
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
UpdateEntityType(EntityType, FieldMask, CallSettings)
public virtual EntityType UpdateEntityType(EntityType entityType, FieldMask updateMask, CallSettings callSettings = null)
Updates the parameters of a single EntityType.
Parameters | |
---|---|
Name | Description |
entityType | EntityType Required. The EntityType's |
updateMask | FieldMask Field mask is used to specify the fields to be overwritten in the
EntityType resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then only the non-empty fields present in the
request will be overwritten. Set the update_mask to Updatable fields:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
EntityType | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
EntityType entityType = new EntityType();
FieldMask updateMask = new FieldMask();
// Make the request
EntityType response = featurestoreServiceClient.UpdateEntityType(entityType, updateMask);
UpdateEntityType(UpdateEntityTypeRequest, CallSettings)
public virtual EntityType UpdateEntityType(UpdateEntityTypeRequest request, CallSettings callSettings = null)
Updates the parameters of a single EntityType.
Parameters | |
---|---|
Name | Description |
request | UpdateEntityTypeRequest 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 |
EntityType | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
UpdateEntityTypeRequest request = new UpdateEntityTypeRequest
{
EntityType = new EntityType(),
UpdateMask = new FieldMask(),
};
// Make the request
EntityType response = featurestoreServiceClient.UpdateEntityType(request);
UpdateEntityTypeAsync(EntityType, FieldMask, CallSettings)
public virtual Task<EntityType> UpdateEntityTypeAsync(EntityType entityType, FieldMask updateMask, CallSettings callSettings = null)
Updates the parameters of a single EntityType.
Parameters | |
---|---|
Name | Description |
entityType | EntityType Required. The EntityType's |
updateMask | FieldMask Field mask is used to specify the fields to be overwritten in the
EntityType resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then only the non-empty fields present in the
request will be overwritten. Set the update_mask to Updatable fields:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<EntityType> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityType entityType = new EntityType();
FieldMask updateMask = new FieldMask();
// Make the request
EntityType response = await featurestoreServiceClient.UpdateEntityTypeAsync(entityType, updateMask);
UpdateEntityTypeAsync(EntityType, FieldMask, CancellationToken)
public virtual Task<EntityType> UpdateEntityTypeAsync(EntityType entityType, FieldMask updateMask, CancellationToken cancellationToken)
Updates the parameters of a single EntityType.
Parameters | |
---|---|
Name | Description |
entityType | EntityType Required. The EntityType's |
updateMask | FieldMask Field mask is used to specify the fields to be overwritten in the
EntityType resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then only the non-empty fields present in the
request will be overwritten. Set the update_mask to Updatable fields:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<EntityType> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
EntityType entityType = new EntityType();
FieldMask updateMask = new FieldMask();
// Make the request
EntityType response = await featurestoreServiceClient.UpdateEntityTypeAsync(entityType, updateMask);
UpdateEntityTypeAsync(UpdateEntityTypeRequest, CallSettings)
public virtual Task<EntityType> UpdateEntityTypeAsync(UpdateEntityTypeRequest request, CallSettings callSettings = null)
Updates the parameters of a single EntityType.
Parameters | |
---|---|
Name | Description |
request | UpdateEntityTypeRequest 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 |
Task<EntityType> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateEntityTypeRequest request = new UpdateEntityTypeRequest
{
EntityType = new EntityType(),
UpdateMask = new FieldMask(),
};
// Make the request
EntityType response = await featurestoreServiceClient.UpdateEntityTypeAsync(request);
UpdateEntityTypeAsync(UpdateEntityTypeRequest, CancellationToken)
public virtual Task<EntityType> UpdateEntityTypeAsync(UpdateEntityTypeRequest request, CancellationToken cancellationToken)
Updates the parameters of a single EntityType.
Parameters | |
---|---|
Name | Description |
request | UpdateEntityTypeRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<EntityType> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateEntityTypeRequest request = new UpdateEntityTypeRequest
{
EntityType = new EntityType(),
UpdateMask = new FieldMask(),
};
// Make the request
EntityType response = await featurestoreServiceClient.UpdateEntityTypeAsync(request);
UpdateFeature(Feature, FieldMask, CallSettings)
public virtual Feature UpdateFeature(Feature feature, FieldMask updateMask, CallSettings callSettings = null)
Updates the parameters of a single Feature.
Parameters | |
---|---|
Name | Description |
feature | Feature Required. The Feature's |
updateMask | FieldMask Field mask is used to specify the fields to be overwritten in the
Features resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then only the non-empty fields present in the
request will be overwritten. Set the update_mask to Updatable fields:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Feature | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
Feature feature = new Feature();
FieldMask updateMask = new FieldMask();
// Make the request
Feature response = featurestoreServiceClient.UpdateFeature(feature, updateMask);
UpdateFeature(UpdateFeatureRequest, CallSettings)
public virtual Feature UpdateFeature(UpdateFeatureRequest request, CallSettings callSettings = null)
Updates the parameters of a single Feature.
Parameters | |
---|---|
Name | Description |
request | UpdateFeatureRequest 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 |
Feature | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
UpdateFeatureRequest request = new UpdateFeatureRequest
{
Feature = new Feature(),
UpdateMask = new FieldMask(),
};
// Make the request
Feature response = featurestoreServiceClient.UpdateFeature(request);
UpdateFeatureAsync(Feature, FieldMask, CallSettings)
public virtual Task<Feature> UpdateFeatureAsync(Feature feature, FieldMask updateMask, CallSettings callSettings = null)
Updates the parameters of a single Feature.
Parameters | |
---|---|
Name | Description |
feature | Feature Required. The Feature's |
updateMask | FieldMask Field mask is used to specify the fields to be overwritten in the
Features resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then only the non-empty fields present in the
request will be overwritten. Set the update_mask to Updatable fields:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Feature> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
Feature feature = new Feature();
FieldMask updateMask = new FieldMask();
// Make the request
Feature response = await featurestoreServiceClient.UpdateFeatureAsync(feature, updateMask);
UpdateFeatureAsync(Feature, FieldMask, CancellationToken)
public virtual Task<Feature> UpdateFeatureAsync(Feature feature, FieldMask updateMask, CancellationToken cancellationToken)
Updates the parameters of a single Feature.
Parameters | |
---|---|
Name | Description |
feature | Feature Required. The Feature's |
updateMask | FieldMask Field mask is used to specify the fields to be overwritten in the
Features resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then only the non-empty fields present in the
request will be overwritten. Set the update_mask to Updatable fields:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Feature> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
Feature feature = new Feature();
FieldMask updateMask = new FieldMask();
// Make the request
Feature response = await featurestoreServiceClient.UpdateFeatureAsync(feature, updateMask);
UpdateFeatureAsync(UpdateFeatureRequest, CallSettings)
public virtual Task<Feature> UpdateFeatureAsync(UpdateFeatureRequest request, CallSettings callSettings = null)
Updates the parameters of a single Feature.
Parameters | |
---|---|
Name | Description |
request | UpdateFeatureRequest 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 |
Task<Feature> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFeatureRequest request = new UpdateFeatureRequest
{
Feature = new Feature(),
UpdateMask = new FieldMask(),
};
// Make the request
Feature response = await featurestoreServiceClient.UpdateFeatureAsync(request);
UpdateFeatureAsync(UpdateFeatureRequest, CancellationToken)
public virtual Task<Feature> UpdateFeatureAsync(UpdateFeatureRequest request, CancellationToken cancellationToken)
Updates the parameters of a single Feature.
Parameters | |
---|---|
Name | Description |
request | UpdateFeatureRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Feature> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFeatureRequest request = new UpdateFeatureRequest
{
Feature = new Feature(),
UpdateMask = new FieldMask(),
};
// Make the request
Feature response = await featurestoreServiceClient.UpdateFeatureAsync(request);
UpdateFeaturestore(Featurestore, FieldMask, CallSettings)
public virtual Operation<Featurestore, UpdateFeaturestoreOperationMetadata> UpdateFeaturestore(Featurestore featurestore, FieldMask updateMask, CallSettings callSettings = null)
Updates the parameters of a single Featurestore.
Parameters | |
---|---|
Name | Description |
featurestore | Featurestore Required. The Featurestore's |
updateMask | FieldMask Field mask is used to specify the fields to be overwritten in the
Featurestore resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then only the non-empty fields present in the
request will be overwritten. Set the update_mask to Updatable fields:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
Featurestore featurestore = new Featurestore();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> response = featurestoreServiceClient.UpdateFeaturestore(featurestore, updateMask);
// Poll until the returned long-running operation is complete
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceUpdateFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
UpdateFeaturestore(UpdateFeaturestoreRequest, CallSettings)
public virtual Operation<Featurestore, UpdateFeaturestoreOperationMetadata> UpdateFeaturestore(UpdateFeaturestoreRequest request, CallSettings callSettings = null)
Updates the parameters of a single Featurestore.
Parameters | |
---|---|
Name | Description |
request | UpdateFeaturestoreRequest 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 |
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> | The RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.Create();
// Initialize request argument(s)
UpdateFeaturestoreRequest request = new UpdateFeaturestoreRequest
{
Featurestore = new Featurestore(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> response = featurestoreServiceClient.UpdateFeaturestore(request);
// Poll until the returned long-running operation is complete
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> retrievedResponse = featurestoreServiceClient.PollOnceUpdateFeaturestore(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
UpdateFeaturestoreAsync(Featurestore, FieldMask, CallSettings)
public virtual Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> UpdateFeaturestoreAsync(Featurestore featurestore, FieldMask updateMask, CallSettings callSettings = null)
Updates the parameters of a single Featurestore.
Parameters | |
---|---|
Name | Description |
featurestore | Featurestore Required. The Featurestore's |
updateMask | FieldMask Field mask is used to specify the fields to be overwritten in the
Featurestore resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then only the non-empty fields present in the
request will be overwritten. Set the update_mask to Updatable fields:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
Featurestore featurestore = new Featurestore();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.UpdateFeaturestoreAsync(featurestore, updateMask);
// Poll until the returned long-running operation is complete
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceUpdateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
UpdateFeaturestoreAsync(Featurestore, FieldMask, CancellationToken)
public virtual Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> UpdateFeaturestoreAsync(Featurestore featurestore, FieldMask updateMask, CancellationToken cancellationToken)
Updates the parameters of a single Featurestore.
Parameters | |
---|---|
Name | Description |
featurestore | Featurestore Required. The Featurestore's |
updateMask | FieldMask Field mask is used to specify the fields to be overwritten in the
Featurestore resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then only the non-empty fields present in the
request will be overwritten. Set the update_mask to Updatable fields:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
Featurestore featurestore = new Featurestore();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.UpdateFeaturestoreAsync(featurestore, updateMask);
// Poll until the returned long-running operation is complete
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceUpdateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
UpdateFeaturestoreAsync(UpdateFeaturestoreRequest, CallSettings)
public virtual Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> UpdateFeaturestoreAsync(UpdateFeaturestoreRequest request, CallSettings callSettings = null)
Updates the parameters of a single Featurestore.
Parameters | |
---|---|
Name | Description |
request | UpdateFeaturestoreRequest 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 |
Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFeaturestoreRequest request = new UpdateFeaturestoreRequest
{
Featurestore = new Featurestore(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.UpdateFeaturestoreAsync(request);
// Poll until the returned long-running operation is complete
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceUpdateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}
UpdateFeaturestoreAsync(UpdateFeaturestoreRequest, CancellationToken)
public virtual Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> UpdateFeaturestoreAsync(UpdateFeaturestoreRequest request, CancellationToken cancellationToken)
Updates the parameters of a single Featurestore.
Parameters | |
---|---|
Name | Description |
request | UpdateFeaturestoreRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Featurestore, UpdateFeaturestoreOperationMetadata>> | A Task containing the RPC response. |
// Create client
FeaturestoreServiceClient featurestoreServiceClient = await FeaturestoreServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateFeaturestoreRequest request = new UpdateFeaturestoreRequest
{
Featurestore = new Featurestore(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> response = await featurestoreServiceClient.UpdateFeaturestoreAsync(request);
// Poll until the returned long-running operation is complete
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Featurestore result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Featurestore, UpdateFeaturestoreOperationMetadata> retrievedResponse = await featurestoreServiceClient.PollOnceUpdateFeaturestoreAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Featurestore retrievedResult = retrievedResponse.Result;
}