Cloud AI Platform v1 API - Class JobService.JobServiceClient (2.9.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.JobServiceClient

Namespace

Google.Cloud.AIPlatform.V1

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

JobServiceClient(ChannelBase)

public JobServiceClient(ChannelBase channel)

Creates a new client for JobService

Parameter
NameDescription
channelChannelBase

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
NameDescription
configurationClientBase.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
NameDescription
requestCancelBatchPredictionJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCancelBatchPredictionJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCancelBatchPredictionJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCancelBatchPredictionJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCancelCustomJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCancelCustomJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCancelCustomJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCancelCustomJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCancelDataLabelingJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCancelDataLabelingJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCancelDataLabelingJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCancelDataLabelingJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCancelHyperparameterTuningJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCancelHyperparameterTuningJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCancelHyperparameterTuningJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCancelHyperparameterTuningJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateBatchPredictionJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateBatchPredictionJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateBatchPredictionJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateBatchPredictionJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateCustomJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateCustomJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateCustomJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateCustomJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<CustomJob>

The call object.

CreateDataLabelingJob(CreateDataLabelingJobRequest, CallOptions)

public virtual DataLabelingJob CreateDataLabelingJob(CreateDataLabelingJobRequest request, CallOptions options)

Creates a DataLabelingJob.

Parameters
NameDescription
requestCreateDataLabelingJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateDataLabelingJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DataLabelingJob

The response received from the server.

CreateDataLabelingJobAsync(CreateDataLabelingJobRequest, CallOptions)

public virtual AsyncUnaryCall<DataLabelingJob> CreateDataLabelingJobAsync(CreateDataLabelingJobRequest request, CallOptions options)

Creates a DataLabelingJob.

Parameters
NameDescription
requestCreateDataLabelingJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateDataLabelingJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<DataLabelingJob>

The call object.

CreateHyperparameterTuningJob(CreateHyperparameterTuningJobRequest, CallOptions)

public virtual HyperparameterTuningJob CreateHyperparameterTuningJob(CreateHyperparameterTuningJobRequest request, CallOptions options)

Creates a HyperparameterTuningJob

Parameters
NameDescription
requestCreateHyperparameterTuningJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateHyperparameterTuningJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
HyperparameterTuningJob

The response received from the server.

CreateHyperparameterTuningJobAsync(CreateHyperparameterTuningJobRequest, CallOptions)

public virtual AsyncUnaryCall<HyperparameterTuningJob> CreateHyperparameterTuningJobAsync(CreateHyperparameterTuningJobRequest request, CallOptions options)

Creates a HyperparameterTuningJob

Parameters
NameDescription
requestCreateHyperparameterTuningJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateHyperparameterTuningJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Locations.LocationsClient

A new Locations.LocationsClient for the same target as this client.