- 3.11.0 (latest)
- 3.10.0
- 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 JobServiceClient : ClientBase<JobService.JobServiceClient>
Reference documentation and code samples for the Cloud AI Platform v1 API class JobService.JobServiceClient.
Client for JobService
Inheritance
Object > ClientBase > ClientBase<JobService.JobServiceClient> > JobService.JobServiceClientNamespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
JobServiceClient()
protected JobServiceClient()
Protected parameterless constructor to allow creation of test doubles.
JobServiceClient(CallInvoker)
public JobServiceClient(CallInvoker callInvoker)
Creates a new client for JobService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
JobServiceClient(ChannelBase)
public JobServiceClient(ChannelBase channel)
Creates a new client for JobService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
JobServiceClient(ClientBase.ClientBaseConfiguration)
protected JobServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CancelBatchPredictionJob(CancelBatchPredictionJobRequest, CallOptions)
public virtual Empty CancelBatchPredictionJob(CancelBatchPredictionJobRequest request, CallOptions options)
Cancels a BatchPredictionJob.
Starts asynchronous cancellation on the BatchPredictionJob. The server
makes the best effort to cancel the job, but success is not
guaranteed. Clients can use
[JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob]
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On a successful cancellation,
the BatchPredictionJob is not deleted;instead its
[BatchPredictionJob.state][google.cloud.aiplatform.v1.BatchPredictionJob.state]
is set to CANCELLED
. Any files already outputted by the job are not
deleted.
Parameters | |
---|---|
Name | Description |
request | CancelBatchPredictionJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
CancelBatchPredictionJob(CancelBatchPredictionJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty CancelBatchPredictionJob(CancelBatchPredictionJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Cancels a BatchPredictionJob.
Starts asynchronous cancellation on the BatchPredictionJob. The server
makes the best effort to cancel the job, but success is not
guaranteed. Clients can use
[JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob]
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On a successful cancellation,
the BatchPredictionJob is not deleted;instead its
[BatchPredictionJob.state][google.cloud.aiplatform.v1.BatchPredictionJob.state]
is set to CANCELLED
. Any files already outputted by the job are not
deleted.
Parameters | |
---|---|
Name | Description |
request | CancelBatchPredictionJobRequest 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 |
Empty | The response received from the server. |
CancelBatchPredictionJobAsync(CancelBatchPredictionJobRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> CancelBatchPredictionJobAsync(CancelBatchPredictionJobRequest request, CallOptions options)
Cancels a BatchPredictionJob.
Starts asynchronous cancellation on the BatchPredictionJob. The server
makes the best effort to cancel the job, but success is not
guaranteed. Clients can use
[JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob]
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On a successful cancellation,
the BatchPredictionJob is not deleted;instead its
[BatchPredictionJob.state][google.cloud.aiplatform.v1.BatchPredictionJob.state]
is set to CANCELLED
. Any files already outputted by the job are not
deleted.
Parameters | |
---|---|
Name | Description |
request | CancelBatchPredictionJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
CancelBatchPredictionJobAsync(CancelBatchPredictionJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> CancelBatchPredictionJobAsync(CancelBatchPredictionJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Cancels a BatchPredictionJob.
Starts asynchronous cancellation on the BatchPredictionJob. The server
makes the best effort to cancel the job, but success is not
guaranteed. Clients can use
[JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob]
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On a successful cancellation,
the BatchPredictionJob is not deleted;instead its
[BatchPredictionJob.state][google.cloud.aiplatform.v1.BatchPredictionJob.state]
is set to CANCELLED
. Any files already outputted by the job are not
deleted.
Parameters | |
---|---|
Name | Description |
request | CancelBatchPredictionJobRequest 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<Empty> | The call object. |
CancelCustomJob(CancelCustomJobRequest, CallOptions)
public virtual Empty CancelCustomJob(CancelCustomJobRequest request, CallOptions options)
Cancels a CustomJob.
Starts asynchronous cancellation on the CustomJob. The server
makes a best effort to cancel the job, but success is not
guaranteed. Clients can use
[JobService.GetCustomJob][google.cloud.aiplatform.v1.JobService.GetCustomJob]
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On successful cancellation,
the CustomJob is not deleted; instead it becomes a job with
a [CustomJob.error][google.cloud.aiplatform.v1.CustomJob.error] value with
a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
Code.CANCELLED
, and
[CustomJob.state][google.cloud.aiplatform.v1.CustomJob.state] is set to
CANCELLED
.
Parameters | |
---|---|
Name | Description |
request | CancelCustomJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
CancelCustomJob(CancelCustomJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty CancelCustomJob(CancelCustomJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Cancels a CustomJob.
Starts asynchronous cancellation on the CustomJob. The server
makes a best effort to cancel the job, but success is not
guaranteed. Clients can use
[JobService.GetCustomJob][google.cloud.aiplatform.v1.JobService.GetCustomJob]
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On successful cancellation,
the CustomJob is not deleted; instead it becomes a job with
a [CustomJob.error][google.cloud.aiplatform.v1.CustomJob.error] value with
a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
Code.CANCELLED
, and
[CustomJob.state][google.cloud.aiplatform.v1.CustomJob.state] is set to
CANCELLED
.
Parameters | |
---|---|
Name | Description |
request | CancelCustomJobRequest 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 |
Empty | The response received from the server. |
CancelCustomJobAsync(CancelCustomJobRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> CancelCustomJobAsync(CancelCustomJobRequest request, CallOptions options)
Cancels a CustomJob.
Starts asynchronous cancellation on the CustomJob. The server
makes a best effort to cancel the job, but success is not
guaranteed. Clients can use
[JobService.GetCustomJob][google.cloud.aiplatform.v1.JobService.GetCustomJob]
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On successful cancellation,
the CustomJob is not deleted; instead it becomes a job with
a [CustomJob.error][google.cloud.aiplatform.v1.CustomJob.error] value with
a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
Code.CANCELLED
, and
[CustomJob.state][google.cloud.aiplatform.v1.CustomJob.state] is set to
CANCELLED
.
Parameters | |
---|---|
Name | Description |
request | CancelCustomJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
CancelCustomJobAsync(CancelCustomJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> CancelCustomJobAsync(CancelCustomJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Cancels a CustomJob.
Starts asynchronous cancellation on the CustomJob. The server
makes a best effort to cancel the job, but success is not
guaranteed. Clients can use
[JobService.GetCustomJob][google.cloud.aiplatform.v1.JobService.GetCustomJob]
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On successful cancellation,
the CustomJob is not deleted; instead it becomes a job with
a [CustomJob.error][google.cloud.aiplatform.v1.CustomJob.error] value with
a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
Code.CANCELLED
, and
[CustomJob.state][google.cloud.aiplatform.v1.CustomJob.state] is set to
CANCELLED
.
Parameters | |
---|---|
Name | Description |
request | CancelCustomJobRequest 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<Empty> | The call object. |
CancelDataLabelingJob(CancelDataLabelingJobRequest, CallOptions)
public virtual Empty CancelDataLabelingJob(CancelDataLabelingJobRequest request, CallOptions options)
Cancels a DataLabelingJob. Success of cancellation is not guaranteed.
Parameters | |
---|---|
Name | Description |
request | CancelDataLabelingJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
CancelDataLabelingJob(CancelDataLabelingJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty CancelDataLabelingJob(CancelDataLabelingJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Cancels a DataLabelingJob. Success of cancellation is not guaranteed.
Parameters | |
---|---|
Name | Description |
request | CancelDataLabelingJobRequest 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 |
Empty | The response received from the server. |
CancelDataLabelingJobAsync(CancelDataLabelingJobRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> CancelDataLabelingJobAsync(CancelDataLabelingJobRequest request, CallOptions options)
Cancels a DataLabelingJob. Success of cancellation is not guaranteed.
Parameters | |
---|---|
Name | Description |
request | CancelDataLabelingJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
CancelDataLabelingJobAsync(CancelDataLabelingJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> CancelDataLabelingJobAsync(CancelDataLabelingJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Cancels a DataLabelingJob. Success of cancellation is not guaranteed.
Parameters | |
---|---|
Name | Description |
request | CancelDataLabelingJobRequest 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<Empty> | The call object. |
CancelHyperparameterTuningJob(CancelHyperparameterTuningJobRequest, CallOptions)
public virtual Empty CancelHyperparameterTuningJob(CancelHyperparameterTuningJobRequest request, CallOptions options)
Cancels a HyperparameterTuningJob.
Starts asynchronous cancellation on the HyperparameterTuningJob. The server
makes a best effort to cancel the job, but success is not
guaranteed. Clients can use
[JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob]
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On successful cancellation,
the HyperparameterTuningJob is not deleted; instead it becomes a job with
a
[HyperparameterTuningJob.error][google.cloud.aiplatform.v1.HyperparameterTuningJob.error]
value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
corresponding to Code.CANCELLED
, and
[HyperparameterTuningJob.state][google.cloud.aiplatform.v1.HyperparameterTuningJob.state]
is set to CANCELLED
.
Parameters | |
---|---|
Name | Description |
request | CancelHyperparameterTuningJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
CancelHyperparameterTuningJob(CancelHyperparameterTuningJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty CancelHyperparameterTuningJob(CancelHyperparameterTuningJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Cancels a HyperparameterTuningJob.
Starts asynchronous cancellation on the HyperparameterTuningJob. The server
makes a best effort to cancel the job, but success is not
guaranteed. Clients can use
[JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob]
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On successful cancellation,
the HyperparameterTuningJob is not deleted; instead it becomes a job with
a
[HyperparameterTuningJob.error][google.cloud.aiplatform.v1.HyperparameterTuningJob.error]
value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
corresponding to Code.CANCELLED
, and
[HyperparameterTuningJob.state][google.cloud.aiplatform.v1.HyperparameterTuningJob.state]
is set to CANCELLED
.
Parameters | |
---|---|
Name | Description |
request | CancelHyperparameterTuningJobRequest 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 |
Empty | The response received from the server. |
CancelHyperparameterTuningJobAsync(CancelHyperparameterTuningJobRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> CancelHyperparameterTuningJobAsync(CancelHyperparameterTuningJobRequest request, CallOptions options)
Cancels a HyperparameterTuningJob.
Starts asynchronous cancellation on the HyperparameterTuningJob. The server
makes a best effort to cancel the job, but success is not
guaranteed. Clients can use
[JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob]
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On successful cancellation,
the HyperparameterTuningJob is not deleted; instead it becomes a job with
a
[HyperparameterTuningJob.error][google.cloud.aiplatform.v1.HyperparameterTuningJob.error]
value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
corresponding to Code.CANCELLED
, and
[HyperparameterTuningJob.state][google.cloud.aiplatform.v1.HyperparameterTuningJob.state]
is set to CANCELLED
.
Parameters | |
---|---|
Name | Description |
request | CancelHyperparameterTuningJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
CancelHyperparameterTuningJobAsync(CancelHyperparameterTuningJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> CancelHyperparameterTuningJobAsync(CancelHyperparameterTuningJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Cancels a HyperparameterTuningJob.
Starts asynchronous cancellation on the HyperparameterTuningJob. The server
makes a best effort to cancel the job, but success is not
guaranteed. Clients can use
[JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob]
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On successful cancellation,
the HyperparameterTuningJob is not deleted; instead it becomes a job with
a
[HyperparameterTuningJob.error][google.cloud.aiplatform.v1.HyperparameterTuningJob.error]
value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
corresponding to Code.CANCELLED
, and
[HyperparameterTuningJob.state][google.cloud.aiplatform.v1.HyperparameterTuningJob.state]
is set to CANCELLED
.
Parameters | |
---|---|
Name | Description |
request | CancelHyperparameterTuningJobRequest 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<Empty> | The call object. |
CreateBatchPredictionJob(CreateBatchPredictionJobRequest, CallOptions)
public virtual BatchPredictionJob CreateBatchPredictionJob(CreateBatchPredictionJobRequest request, CallOptions options)
Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.
Parameters | |
---|---|
Name | Description |
request | CreateBatchPredictionJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
BatchPredictionJob | The response received from the server. |
CreateBatchPredictionJob(CreateBatchPredictionJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual BatchPredictionJob CreateBatchPredictionJob(CreateBatchPredictionJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.
Parameters | |
---|---|
Name | Description |
request | CreateBatchPredictionJobRequest 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 |
BatchPredictionJob | The response received from the server. |
CreateBatchPredictionJobAsync(CreateBatchPredictionJobRequest, CallOptions)
public virtual AsyncUnaryCall<BatchPredictionJob> CreateBatchPredictionJobAsync(CreateBatchPredictionJobRequest request, CallOptions options)
Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.
Parameters | |
---|---|
Name | Description |
request | CreateBatchPredictionJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<BatchPredictionJob> | The call object. |
CreateBatchPredictionJobAsync(CreateBatchPredictionJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<BatchPredictionJob> CreateBatchPredictionJobAsync(CreateBatchPredictionJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.
Parameters | |
---|---|
Name | Description |
request | CreateBatchPredictionJobRequest 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<BatchPredictionJob> | The call object. |
CreateCustomJob(CreateCustomJobRequest, CallOptions)
public virtual CustomJob CreateCustomJob(CreateCustomJobRequest request, CallOptions options)
Creates a CustomJob. A created CustomJob right away will be attempted to be run.
Parameters | |
---|---|
Name | Description |
request | CreateCustomJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
CustomJob | The response received from the server. |
CreateCustomJob(CreateCustomJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual CustomJob CreateCustomJob(CreateCustomJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a CustomJob. A created CustomJob right away will be attempted to be run.
Parameters | |
---|---|
Name | Description |
request | CreateCustomJobRequest 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 |
CustomJob | The response received from the server. |
CreateCustomJobAsync(CreateCustomJobRequest, CallOptions)
public virtual AsyncUnaryCall<CustomJob> CreateCustomJobAsync(CreateCustomJobRequest request, CallOptions options)
Creates a CustomJob. A created CustomJob right away will be attempted to be run.
Parameters | |
---|---|
Name | Description |
request | CreateCustomJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<CustomJob> | The call object. |
CreateCustomJobAsync(CreateCustomJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<CustomJob> CreateCustomJobAsync(CreateCustomJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a CustomJob. A created CustomJob right away will be attempted to be run.
Parameters | |
---|---|
Name | Description |
request | CreateCustomJobRequest 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<CustomJob> | The call object. |
CreateDataLabelingJob(CreateDataLabelingJobRequest, CallOptions)
public virtual DataLabelingJob CreateDataLabelingJob(CreateDataLabelingJobRequest request, CallOptions options)
Creates a DataLabelingJob.
Parameters | |
---|---|
Name | Description |
request | CreateDataLabelingJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
DataLabelingJob | The response received from the server. |
CreateDataLabelingJob(CreateDataLabelingJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual DataLabelingJob CreateDataLabelingJob(CreateDataLabelingJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a DataLabelingJob.
Parameters | |
---|---|
Name | Description |
request | CreateDataLabelingJobRequest 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 |
DataLabelingJob | The response received from the server. |
CreateDataLabelingJobAsync(CreateDataLabelingJobRequest, CallOptions)
public virtual AsyncUnaryCall<DataLabelingJob> CreateDataLabelingJobAsync(CreateDataLabelingJobRequest request, CallOptions options)
Creates a DataLabelingJob.
Parameters | |
---|---|
Name | Description |
request | CreateDataLabelingJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<DataLabelingJob> | The call object. |
CreateDataLabelingJobAsync(CreateDataLabelingJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<DataLabelingJob> CreateDataLabelingJobAsync(CreateDataLabelingJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a DataLabelingJob.
Parameters | |
---|---|
Name | Description |
request | CreateDataLabelingJobRequest 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<DataLabelingJob> | The call object. |
CreateHyperparameterTuningJob(CreateHyperparameterTuningJobRequest, CallOptions)
public virtual HyperparameterTuningJob CreateHyperparameterTuningJob(CreateHyperparameterTuningJobRequest request, CallOptions options)
Creates a HyperparameterTuningJob
Parameters | |
---|---|
Name | Description |
request | CreateHyperparameterTuningJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
HyperparameterTuningJob | The response received from the server. |
CreateHyperparameterTuningJob(CreateHyperparameterTuningJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual HyperparameterTuningJob CreateHyperparameterTuningJob(CreateHyperparameterTuningJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a HyperparameterTuningJob
Parameters | |
---|---|
Name | Description |
request | CreateHyperparameterTuningJobRequest 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 |
HyperparameterTuningJob | The response received from the server. |
CreateHyperparameterTuningJobAsync(CreateHyperparameterTuningJobRequest, CallOptions)
public virtual AsyncUnaryCall<HyperparameterTuningJob> CreateHyperparameterTuningJobAsync(CreateHyperparameterTuningJobRequest request, CallOptions options)
Creates a HyperparameterTuningJob
Parameters | |
---|---|
Name | Description |
request | CreateHyperparameterTuningJobRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<HyperparameterTuningJob> | The call object. |
CreateHyperparameterTuningJobAsync(CreateHyperparameterTuningJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<HyperparameterTuningJob> CreateHyperparameterTuningJobAsync(CreateHyperparameterTuningJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a HyperparameterTuningJob
Parameters | |
---|---|
Name | Description |
request | CreateHyperparameterTuningJobRequest 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<HyperparameterTuningJob> | 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. |