public class ModelServiceClient : ClientBase<ModelService.ModelServiceClient>Client for ModelService
Inheritance
Object > ClientBase > ClientBase<ModelService.ModelServiceClient> > ModelService.ModelServiceClientNamespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
ModelServiceClient()
protected ModelServiceClient()Protected parameterless constructor to allow creation of test doubles.
ModelServiceClient(CallInvoker)
public ModelServiceClient(CallInvoker callInvoker)Creates a new client for ModelService that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
ModelServiceClient(ChannelBase)
public ModelServiceClient(ChannelBase channel)Creates a new client for ModelService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
ModelServiceClient(ClientBase.ClientBaseConfiguration)
protected ModelServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfigurationThe client configuration. |
Methods
BatchImportModelEvaluationSlices(BatchImportModelEvaluationSlicesRequest, CallOptions)
public virtual BatchImportModelEvaluationSlicesResponse BatchImportModelEvaluationSlices(BatchImportModelEvaluationSlicesRequest request, CallOptions options)Imports a list of externally generated ModelEvaluationSlice.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchImportModelEvaluationSlicesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
BatchImportModelEvaluationSlicesResponse |
The response received from the server. |
BatchImportModelEvaluationSlices(BatchImportModelEvaluationSlicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual BatchImportModelEvaluationSlicesResponse BatchImportModelEvaluationSlices(BatchImportModelEvaluationSlicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Imports a list of externally generated ModelEvaluationSlice.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchImportModelEvaluationSlicesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
BatchImportModelEvaluationSlicesResponse |
The response received from the server. |
BatchImportModelEvaluationSlicesAsync(BatchImportModelEvaluationSlicesRequest, CallOptions)
public virtual AsyncUnaryCall<BatchImportModelEvaluationSlicesResponse> BatchImportModelEvaluationSlicesAsync(BatchImportModelEvaluationSlicesRequest request, CallOptions options)Imports a list of externally generated ModelEvaluationSlice.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchImportModelEvaluationSlicesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<BatchImportModelEvaluationSlicesResponse> |
The call object. |
BatchImportModelEvaluationSlicesAsync(BatchImportModelEvaluationSlicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<BatchImportModelEvaluationSlicesResponse> BatchImportModelEvaluationSlicesAsync(BatchImportModelEvaluationSlicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Imports a list of externally generated ModelEvaluationSlice.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchImportModelEvaluationSlicesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<BatchImportModelEvaluationSlicesResponse> |
The call object. |
CreateIAMPolicyClient()
public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
IAMPolicy.IAMPolicyClient |
A new IAMPolicy.IAMPolicyClient for the same target as this client. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
Locations.LocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
Operations.OperationsClient |
A new Operations client for the same target as this client. |
DeleteModel(DeleteModelRequest, CallOptions)
public virtual Operation DeleteModel(DeleteModelRequest request, CallOptions options)Deletes a Model.
A model cannot be deleted if any [Endpoint][google.cloud.aiplatform.v1.Endpoint] resource has a [DeployedModel][google.cloud.aiplatform.v1.DeployedModel] based on the model in its [deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models] field.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteModelRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteModel(DeleteModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteModel(DeleteModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Deletes a Model.
A model cannot be deleted if any [Endpoint][google.cloud.aiplatform.v1.Endpoint] resource has a [DeployedModel][google.cloud.aiplatform.v1.DeployedModel] based on the model in its [deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models] field.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteModelRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteModelAsync(DeleteModelRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteModelAsync(DeleteModelRequest request, CallOptions options)Deletes a Model.
A model cannot be deleted if any [Endpoint][google.cloud.aiplatform.v1.Endpoint] resource has a [DeployedModel][google.cloud.aiplatform.v1.DeployedModel] based on the model in its [deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models] field.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteModelRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
DeleteModelAsync(DeleteModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteModelAsync(DeleteModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Deletes a Model.
A model cannot be deleted if any [Endpoint][google.cloud.aiplatform.v1.Endpoint] resource has a [DeployedModel][google.cloud.aiplatform.v1.DeployedModel] based on the model in its [deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models] field.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteModelRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
DeleteModelVersion(DeleteModelVersionRequest, CallOptions)
public virtual Operation DeleteModelVersion(DeleteModelVersionRequest request, CallOptions options)Deletes a Model version.
Model version can only be deleted if there are no [DeployedModels][] created from it. Deleting the only version in the Model is not allowed. Use [DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel] for deleting the Model instead.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteModelVersionRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteModelVersion(DeleteModelVersionRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteModelVersion(DeleteModelVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Deletes a Model version.
Model version can only be deleted if there are no [DeployedModels][] created from it. Deleting the only version in the Model is not allowed. Use [DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel] for deleting the Model instead.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteModelVersionRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteModelVersionAsync(DeleteModelVersionRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteModelVersionAsync(DeleteModelVersionRequest request, CallOptions options)Deletes a Model version.
Model version can only be deleted if there are no [DeployedModels][] created from it. Deleting the only version in the Model is not allowed. Use [DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel] for deleting the Model instead.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteModelVersionRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
DeleteModelVersionAsync(DeleteModelVersionRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteModelVersionAsync(DeleteModelVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Deletes a Model version.
Model version can only be deleted if there are no [DeployedModels][] created from it. Deleting the only version in the Model is not allowed. Use [DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel] for deleting the Model instead.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteModelVersionRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
ExportModel(ExportModelRequest, CallOptions)
public virtual Operation ExportModel(ExportModelRequest request, CallOptions options)Exports a trained, exportable Model to a location specified by the user. A Model is considered to be exportable if it has at least one [supported export format][google.cloud.aiplatform.v1.Model.supported_export_formats].
| Parameters | |
|---|---|
| Name | Description |
request |
ExportModelRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
ExportModel(ExportModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation ExportModel(ExportModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Exports a trained, exportable Model to a location specified by the user. A Model is considered to be exportable if it has at least one [supported export format][google.cloud.aiplatform.v1.Model.supported_export_formats].
| Parameters | |
|---|---|
| Name | Description |
request |
ExportModelRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
ExportModelAsync(ExportModelRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> ExportModelAsync(ExportModelRequest request, CallOptions options)Exports a trained, exportable Model to a location specified by the user. A Model is considered to be exportable if it has at least one [supported export format][google.cloud.aiplatform.v1.Model.supported_export_formats].
| Parameters | |
|---|---|
| Name | Description |
request |
ExportModelRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
ExportModelAsync(ExportModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> ExportModelAsync(ExportModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Exports a trained, exportable Model to a location specified by the user. A Model is considered to be exportable if it has at least one [supported export format][google.cloud.aiplatform.v1.Model.supported_export_formats].
| Parameters | |
|---|---|
| Name | Description |
request |
ExportModelRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
GetModel(GetModelRequest, CallOptions)
public virtual Model GetModel(GetModelRequest request, CallOptions options)Gets a Model.
| Parameters | |
|---|---|
| Name | Description |
request |
GetModelRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Model |
The response received from the server. |
GetModel(GetModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Model GetModel(GetModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets a Model.
| Parameters | |
|---|---|
| Name | Description |
request |
GetModelRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Model |
The response received from the server. |
GetModelAsync(GetModelRequest, CallOptions)
public virtual AsyncUnaryCall<Model> GetModelAsync(GetModelRequest request, CallOptions options)Gets a Model.
| Parameters | |
|---|---|
| Name | Description |
request |
GetModelRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Model> |
The call object. |
GetModelAsync(GetModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Model> GetModelAsync(GetModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets a Model.
| Parameters | |
|---|---|
| Name | Description |
request |
GetModelRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Model> |
The call object. |
GetModelEvaluation(GetModelEvaluationRequest, CallOptions)
public virtual ModelEvaluation GetModelEvaluation(GetModelEvaluationRequest request, CallOptions options)Gets a ModelEvaluation.
| Parameters | |
|---|---|
| Name | Description |
request |
GetModelEvaluationRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluation |
The response received from the server. |
GetModelEvaluation(GetModelEvaluationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ModelEvaluation GetModelEvaluation(GetModelEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets a ModelEvaluation.
| Parameters | |
|---|---|
| Name | Description |
request |
GetModelEvaluationRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluation |
The response received from the server. |
GetModelEvaluationAsync(GetModelEvaluationRequest, CallOptions)
public virtual AsyncUnaryCall<ModelEvaluation> GetModelEvaluationAsync(GetModelEvaluationRequest request, CallOptions options)Gets a ModelEvaluation.
| Parameters | |
|---|---|
| Name | Description |
request |
GetModelEvaluationRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ModelEvaluation> |
The call object. |
GetModelEvaluationAsync(GetModelEvaluationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ModelEvaluation> GetModelEvaluationAsync(GetModelEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets a ModelEvaluation.
| Parameters | |
|---|---|
| Name | Description |
request |
GetModelEvaluationRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ModelEvaluation> |
The call object. |
GetModelEvaluationSlice(GetModelEvaluationSliceRequest, CallOptions)
public virtual ModelEvaluationSlice GetModelEvaluationSlice(GetModelEvaluationSliceRequest request, CallOptions options)Gets a ModelEvaluationSlice.
| Parameters | |
|---|---|
| Name | Description |
request |
GetModelEvaluationSliceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice |
The response received from the server. |
GetModelEvaluationSlice(GetModelEvaluationSliceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ModelEvaluationSlice GetModelEvaluationSlice(GetModelEvaluationSliceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets a ModelEvaluationSlice.
| Parameters | |
|---|---|
| Name | Description |
request |
GetModelEvaluationSliceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice |
The response received from the server. |
GetModelEvaluationSliceAsync(GetModelEvaluationSliceRequest, CallOptions)
public virtual AsyncUnaryCall<ModelEvaluationSlice> GetModelEvaluationSliceAsync(GetModelEvaluationSliceRequest request, CallOptions options)Gets a ModelEvaluationSlice.
| Parameters | |
|---|---|
| Name | Description |
request |
GetModelEvaluationSliceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ModelEvaluationSlice> |
The call object. |
GetModelEvaluationSliceAsync(GetModelEvaluationSliceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ModelEvaluationSlice> GetModelEvaluationSliceAsync(GetModelEvaluationSliceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Gets a ModelEvaluationSlice.
| Parameters | |
|---|---|
| Name | Description |
request |
GetModelEvaluationSliceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ModelEvaluationSlice> |
The call object. |
ImportModelEvaluation(ImportModelEvaluationRequest, CallOptions)
public virtual ModelEvaluation ImportModelEvaluation(ImportModelEvaluationRequest request, CallOptions options)Imports an externally generated ModelEvaluation.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportModelEvaluationRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluation |
The response received from the server. |
ImportModelEvaluation(ImportModelEvaluationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ModelEvaluation ImportModelEvaluation(ImportModelEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Imports an externally generated ModelEvaluation.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportModelEvaluationRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluation |
The response received from the server. |
ImportModelEvaluationAsync(ImportModelEvaluationRequest, CallOptions)
public virtual AsyncUnaryCall<ModelEvaluation> ImportModelEvaluationAsync(ImportModelEvaluationRequest request, CallOptions options)Imports an externally generated ModelEvaluation.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportModelEvaluationRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ModelEvaluation> |
The call object. |
ImportModelEvaluationAsync(ImportModelEvaluationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ModelEvaluation> ImportModelEvaluationAsync(ImportModelEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Imports an externally generated ModelEvaluation.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportModelEvaluationRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ModelEvaluation> |
The call object. |
ListModelEvaluations(ListModelEvaluationsRequest, CallOptions)
public virtual ListModelEvaluationsResponse ListModelEvaluations(ListModelEvaluationsRequest request, CallOptions options)Lists ModelEvaluations in a Model.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelEvaluationsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListModelEvaluationsResponse |
The response received from the server. |
ListModelEvaluations(ListModelEvaluationsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListModelEvaluationsResponse ListModelEvaluations(ListModelEvaluationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Lists ModelEvaluations in a Model.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelEvaluationsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListModelEvaluationsResponse |
The response received from the server. |
ListModelEvaluationsAsync(ListModelEvaluationsRequest, CallOptions)
public virtual AsyncUnaryCall<ListModelEvaluationsResponse> ListModelEvaluationsAsync(ListModelEvaluationsRequest request, CallOptions options)Lists ModelEvaluations in a Model.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelEvaluationsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListModelEvaluationsResponse> |
The call object. |
ListModelEvaluationsAsync(ListModelEvaluationsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListModelEvaluationsResponse> ListModelEvaluationsAsync(ListModelEvaluationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Lists ModelEvaluations in a Model.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelEvaluationsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListModelEvaluationsResponse> |
The call object. |
ListModelEvaluationSlices(ListModelEvaluationSlicesRequest, CallOptions)
public virtual ListModelEvaluationSlicesResponse ListModelEvaluationSlices(ListModelEvaluationSlicesRequest request, CallOptions options)Lists ModelEvaluationSlices in a ModelEvaluation.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelEvaluationSlicesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListModelEvaluationSlicesResponse |
The response received from the server. |
ListModelEvaluationSlices(ListModelEvaluationSlicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListModelEvaluationSlicesResponse ListModelEvaluationSlices(ListModelEvaluationSlicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Lists ModelEvaluationSlices in a ModelEvaluation.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelEvaluationSlicesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListModelEvaluationSlicesResponse |
The response received from the server. |
ListModelEvaluationSlicesAsync(ListModelEvaluationSlicesRequest, CallOptions)
public virtual AsyncUnaryCall<ListModelEvaluationSlicesResponse> ListModelEvaluationSlicesAsync(ListModelEvaluationSlicesRequest request, CallOptions options)Lists ModelEvaluationSlices in a ModelEvaluation.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelEvaluationSlicesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListModelEvaluationSlicesResponse> |
The call object. |
ListModelEvaluationSlicesAsync(ListModelEvaluationSlicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListModelEvaluationSlicesResponse> ListModelEvaluationSlicesAsync(ListModelEvaluationSlicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Lists ModelEvaluationSlices in a ModelEvaluation.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelEvaluationSlicesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListModelEvaluationSlicesResponse> |
The call object. |
ListModels(ListModelsRequest, CallOptions)
public virtual ListModelsResponse ListModels(ListModelsRequest request, CallOptions options)Lists Models in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListModelsResponse |
The response received from the server. |
ListModels(ListModelsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListModelsResponse ListModels(ListModelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Lists Models in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListModelsResponse |
The response received from the server. |
ListModelsAsync(ListModelsRequest, CallOptions)
public virtual AsyncUnaryCall<ListModelsResponse> ListModelsAsync(ListModelsRequest request, CallOptions options)Lists Models in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListModelsResponse> |
The call object. |
ListModelsAsync(ListModelsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListModelsResponse> ListModelsAsync(ListModelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Lists Models in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListModelsResponse> |
The call object. |
ListModelVersions(ListModelVersionsRequest, CallOptions)
public virtual ListModelVersionsResponse ListModelVersions(ListModelVersionsRequest request, CallOptions options)Lists versions of the specified model.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelVersionsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListModelVersionsResponse |
The response received from the server. |
ListModelVersions(ListModelVersionsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListModelVersionsResponse ListModelVersions(ListModelVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Lists versions of the specified model.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelVersionsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListModelVersionsResponse |
The response received from the server. |
ListModelVersionsAsync(ListModelVersionsRequest, CallOptions)
public virtual AsyncUnaryCall<ListModelVersionsResponse> ListModelVersionsAsync(ListModelVersionsRequest request, CallOptions options)Lists versions of the specified model.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelVersionsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListModelVersionsResponse> |
The call object. |
ListModelVersionsAsync(ListModelVersionsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListModelVersionsResponse> ListModelVersionsAsync(ListModelVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Lists versions of the specified model.
| Parameters | |
|---|---|
| Name | Description |
request |
ListModelVersionsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListModelVersionsResponse> |
The call object. |
MergeVersionAliases(MergeVersionAliasesRequest, CallOptions)
public virtual Model MergeVersionAliases(MergeVersionAliasesRequest request, CallOptions options)Merges a set of aliases for a Model version.
| Parameters | |
|---|---|
| Name | Description |
request |
MergeVersionAliasesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Model |
The response received from the server. |
MergeVersionAliases(MergeVersionAliasesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Model MergeVersionAliases(MergeVersionAliasesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Merges a set of aliases for a Model version.
| Parameters | |
|---|---|
| Name | Description |
request |
MergeVersionAliasesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Model |
The response received from the server. |
MergeVersionAliasesAsync(MergeVersionAliasesRequest, CallOptions)
public virtual AsyncUnaryCall<Model> MergeVersionAliasesAsync(MergeVersionAliasesRequest request, CallOptions options)Merges a set of aliases for a Model version.
| Parameters | |
|---|---|
| Name | Description |
request |
MergeVersionAliasesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Model> |
The call object. |
MergeVersionAliasesAsync(MergeVersionAliasesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Model> MergeVersionAliasesAsync(MergeVersionAliasesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Merges a set of aliases for a Model version.
| Parameters | |
|---|---|
| Name | Description |
request |
MergeVersionAliasesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Model> |
The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override ModelService.ModelServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
ModelService.ModelServiceClient |
|
UpdateModel(UpdateModelRequest, CallOptions)
public virtual Model UpdateModel(UpdateModelRequest request, CallOptions options)Updates a Model.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateModelRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Model |
The response received from the server. |
UpdateModel(UpdateModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Model UpdateModel(UpdateModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Updates a Model.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateModelRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Model |
The response received from the server. |
UpdateModelAsync(UpdateModelRequest, CallOptions)
public virtual AsyncUnaryCall<Model> UpdateModelAsync(UpdateModelRequest request, CallOptions options)Updates a Model.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateModelRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Model> |
The call object. |
UpdateModelAsync(UpdateModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Model> UpdateModelAsync(UpdateModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Updates a Model.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateModelRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Model> |
The call object. |
UploadModel(UploadModelRequest, CallOptions)
public virtual Operation UploadModel(UploadModelRequest request, CallOptions options)Uploads a Model artifact into Vertex AI.
| Parameters | |
|---|---|
| Name | Description |
request |
UploadModelRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UploadModel(UploadModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation UploadModel(UploadModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Uploads a Model artifact into Vertex AI.
| Parameters | |
|---|---|
| Name | Description |
request |
UploadModelRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UploadModelAsync(UploadModelRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UploadModelAsync(UploadModelRequest request, CallOptions options)Uploads a Model artifact into Vertex AI.
| Parameters | |
|---|---|
| Name | Description |
request |
UploadModelRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
UploadModelAsync(UploadModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UploadModelAsync(UploadModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Uploads a Model artifact into Vertex AI.
| Parameters | |
|---|---|
| Name | Description |
request |
UploadModelRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |