- 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 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 | CallInvoker The callInvoker to use to make remote calls. |
ModelServiceClient(ChannelBase)
public ModelServiceClient(ChannelBase channel)
Creates a new client for ModelService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The 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.ClientBaseConfiguration The client configuration. |
Methods
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 | DeleteModelRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), 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 | DeleteModelRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | DeleteModelRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), 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 | DeleteModelRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | ExportModelRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), 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 | ExportModelRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | ExportModelRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), 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 | ExportModelRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | GetModelRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a Model.
Parameters | |
---|---|
Name | Description |
request | GetModelRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | GetModelRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a Model.
Parameters | |
---|---|
Name | Description |
request | GetModelRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | GetModelEvaluationRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a ModelEvaluation.
Parameters | |
---|---|
Name | Description |
request | GetModelEvaluationRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | GetModelEvaluationRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a ModelEvaluation.
Parameters | |
---|---|
Name | Description |
request | GetModelEvaluationRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | GetModelEvaluationSliceRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a ModelEvaluationSlice.
Parameters | |
---|---|
Name | Description |
request | GetModelEvaluationSliceRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | GetModelEvaluationSliceRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a ModelEvaluationSlice.
Parameters | |
---|---|
Name | Description |
request | GetModelEvaluationSliceRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ModelEvaluationSlice> | The call object. |
ListModelEvaluations(ListModelEvaluationsRequest, CallOptions)
public virtual ListModelEvaluationsResponse ListModelEvaluations(ListModelEvaluationsRequest request, CallOptions options)
Lists ModelEvaluations in a Model.
Parameters | |
---|---|
Name | Description |
request | ListModelEvaluationsRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists ModelEvaluations in a Model.
Parameters | |
---|---|
Name | Description |
request | ListModelEvaluationsRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | ListModelEvaluationsRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists ModelEvaluations in a Model.
Parameters | |
---|---|
Name | Description |
request | ListModelEvaluationsRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | ListModelEvaluationSlicesRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists ModelEvaluationSlices in a ModelEvaluation.
Parameters | |
---|---|
Name | Description |
request | ListModelEvaluationSlicesRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | ListModelEvaluationSlicesRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists ModelEvaluationSlices in a ModelEvaluation.
Parameters | |
---|---|
Name | Description |
request | ListModelEvaluationSlicesRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | ListModelsRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists Models in a Location.
Parameters | |
---|---|
Name | Description |
request | ListModelsRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | ListModelsRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists Models in a Location.
Parameters | |
---|---|
Name | Description |
request | ListModelsRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListModelsResponse> | 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 | UpdateModelRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates a Model.
Parameters | |
---|---|
Name | Description |
request | UpdateModelRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | UpdateModelRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates a Model.
Parameters | |
---|---|
Name | Description |
request | UpdateModelRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | UploadModelRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Uploads a Model artifact into Vertex AI.
Parameters | |
---|---|
Name | Description |
request | UploadModelRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An 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 | UploadModelRequest The request to send to the server. |
options | CallOptions The 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Uploads a Model artifact into Vertex AI.
Parameters | |
---|---|
Name | Description |
request | UploadModelRequest The request to send to the server. |
headers | Metadata The 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 | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |