Cloud AI Platform v1 API - Class JobServiceClient (2.9.0)

public abstract class JobServiceClient

Reference documentation and code samples for the Cloud AI Platform v1 API class JobServiceClient.

JobService client wrapper, for convenient use.

Inheritance

Object > JobServiceClient

Derived Types

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Remarks

A service for creating and managing Vertex AI's jobs.

Properties

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the JobService service, which is a host of "aiplatform.googleapis.com" and a port of 443.

Property Value
TypeDescription
String

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default JobService scopes.

Property Value
TypeDescription
IReadOnlyList<String>
Remarks

The default JobService scopes are:

DeleteBatchPredictionJobOperationsClient

public virtual OperationsClient DeleteBatchPredictionJobOperationsClient { get; }

The long-running operations client for DeleteBatchPredictionJob.

Property Value
TypeDescription
OperationsClient

DeleteCustomJobOperationsClient

public virtual OperationsClient DeleteCustomJobOperationsClient { get; }

The long-running operations client for DeleteCustomJob.

Property Value
TypeDescription
OperationsClient

DeleteDataLabelingJobOperationsClient

public virtual OperationsClient DeleteDataLabelingJobOperationsClient { get; }

The long-running operations client for DeleteDataLabelingJob.

Property Value
TypeDescription
OperationsClient

DeleteHyperparameterTuningJobOperationsClient

public virtual OperationsClient DeleteHyperparameterTuningJobOperationsClient { get; }

The long-running operations client for DeleteHyperparameterTuningJob.

Property Value
TypeDescription
OperationsClient

DeleteModelDeploymentMonitoringJobOperationsClient

public virtual OperationsClient DeleteModelDeploymentMonitoringJobOperationsClient { get; }

The long-running operations client for DeleteModelDeploymentMonitoringJob.

Property Value
TypeDescription
OperationsClient

GrpcClient

public virtual JobService.JobServiceClient GrpcClient { get; }

The underlying gRPC JobService client

Property Value
TypeDescription
JobService.JobServiceClient

IAMPolicyClient

public virtual IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
TypeDescription
IAMPolicyClient

LocationsClient

public virtual LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
TypeDescription
ServiceMetadata

UpdateModelDeploymentMonitoringJobOperationsClient

public virtual OperationsClient UpdateModelDeploymentMonitoringJobOperationsClient { get; }

The long-running operations client for UpdateModelDeploymentMonitoringJob.

Property Value
TypeDescription
OperationsClient

Methods

CancelBatchPredictionJob(BatchPredictionJobName, CallSettings)

public virtual void CancelBatchPredictionJob(BatchPredictionJobName name, CallSettings callSettings = null)

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
nameBatchPredictionJobName

Required. The name of the BatchPredictionJob to cancel. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
BatchPredictionJobName name = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]");
// Make the request
jobServiceClient.CancelBatchPredictionJob(name);

CancelBatchPredictionJob(CancelBatchPredictionJobRequest, CallSettings)

public virtual void CancelBatchPredictionJob(CancelBatchPredictionJobRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
CancelBatchPredictionJobRequest request = new CancelBatchPredictionJobRequest
{
    BatchPredictionJobName = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]"),
};
// Make the request
jobServiceClient.CancelBatchPredictionJob(request);

CancelBatchPredictionJob(String, CallSettings)

public virtual void CancelBatchPredictionJob(string name, CallSettings callSettings = null)

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
nameString

Required. The name of the BatchPredictionJob to cancel. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/batchPredictionJobs/[BATCH_PREDICTION_JOB]";
// Make the request
jobServiceClient.CancelBatchPredictionJob(name);

CancelBatchPredictionJobAsync(BatchPredictionJobName, CallSettings)

public virtual Task CancelBatchPredictionJobAsync(BatchPredictionJobName name, CallSettings callSettings = null)

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
nameBatchPredictionJobName

Required. The name of the BatchPredictionJob to cancel. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
BatchPredictionJobName name = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]");
// Make the request
await jobServiceClient.CancelBatchPredictionJobAsync(name);

CancelBatchPredictionJobAsync(BatchPredictionJobName, CancellationToken)

public virtual Task CancelBatchPredictionJobAsync(BatchPredictionJobName name, CancellationToken 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
nameBatchPredictionJobName

Required. The name of the BatchPredictionJob to cancel. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
BatchPredictionJobName name = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]");
// Make the request
await jobServiceClient.CancelBatchPredictionJobAsync(name);

CancelBatchPredictionJobAsync(CancelBatchPredictionJobRequest, CallSettings)

public virtual Task CancelBatchPredictionJobAsync(CancelBatchPredictionJobRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CancelBatchPredictionJobRequest request = new CancelBatchPredictionJobRequest
{
    BatchPredictionJobName = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]"),
};
// Make the request
await jobServiceClient.CancelBatchPredictionJobAsync(request);

CancelBatchPredictionJobAsync(CancelBatchPredictionJobRequest, CancellationToken)

public virtual Task CancelBatchPredictionJobAsync(CancelBatchPredictionJobRequest request, CancellationToken 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 object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CancelBatchPredictionJobRequest request = new CancelBatchPredictionJobRequest
{
    BatchPredictionJobName = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]"),
};
// Make the request
await jobServiceClient.CancelBatchPredictionJobAsync(request);

CancelBatchPredictionJobAsync(String, CallSettings)

public virtual Task CancelBatchPredictionJobAsync(string name, CallSettings callSettings = null)

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
nameString

Required. The name of the BatchPredictionJob to cancel. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/batchPredictionJobs/[BATCH_PREDICTION_JOB]";
// Make the request
await jobServiceClient.CancelBatchPredictionJobAsync(name);

CancelBatchPredictionJobAsync(String, CancellationToken)

public virtual Task CancelBatchPredictionJobAsync(string name, CancellationToken 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
nameString

Required. The name of the BatchPredictionJob to cancel. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/batchPredictionJobs/[BATCH_PREDICTION_JOB]";
// Make the request
await jobServiceClient.CancelBatchPredictionJobAsync(name);

CancelCustomJob(CancelCustomJobRequest, CallSettings)

public virtual void CancelCustomJob(CancelCustomJobRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
CancelCustomJobRequest request = new CancelCustomJobRequest
{
    CustomJobName = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]"),
};
// Make the request
jobServiceClient.CancelCustomJob(request);

CancelCustomJob(CustomJobName, CallSettings)

public virtual void CancelCustomJob(CustomJobName name, CallSettings callSettings = null)

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
nameCustomJobName

Required. The name of the CustomJob to cancel. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
CustomJobName name = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]");
// Make the request
jobServiceClient.CancelCustomJob(name);

CancelCustomJob(String, CallSettings)

public virtual void CancelCustomJob(string name, CallSettings callSettings = null)

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
nameString

Required. The name of the CustomJob to cancel. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customJobs/[CUSTOM_JOB]";
// Make the request
jobServiceClient.CancelCustomJob(name);

CancelCustomJobAsync(CancelCustomJobRequest, CallSettings)

public virtual Task CancelCustomJobAsync(CancelCustomJobRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CancelCustomJobRequest request = new CancelCustomJobRequest
{
    CustomJobName = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]"),
};
// Make the request
await jobServiceClient.CancelCustomJobAsync(request);

CancelCustomJobAsync(CancelCustomJobRequest, CancellationToken)

public virtual Task CancelCustomJobAsync(CancelCustomJobRequest request, CancellationToken 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 object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CancelCustomJobRequest request = new CancelCustomJobRequest
{
    CustomJobName = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]"),
};
// Make the request
await jobServiceClient.CancelCustomJobAsync(request);

CancelCustomJobAsync(CustomJobName, CallSettings)

public virtual Task CancelCustomJobAsync(CustomJobName name, CallSettings callSettings = null)

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
nameCustomJobName

Required. The name of the CustomJob to cancel. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CustomJobName name = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]");
// Make the request
await jobServiceClient.CancelCustomJobAsync(name);

CancelCustomJobAsync(CustomJobName, CancellationToken)

public virtual Task CancelCustomJobAsync(CustomJobName name, CancellationToken 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
nameCustomJobName

Required. The name of the CustomJob to cancel. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CustomJobName name = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]");
// Make the request
await jobServiceClient.CancelCustomJobAsync(name);

CancelCustomJobAsync(String, CallSettings)

public virtual Task CancelCustomJobAsync(string name, CallSettings callSettings = null)

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
nameString

Required. The name of the CustomJob to cancel. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customJobs/[CUSTOM_JOB]";
// Make the request
await jobServiceClient.CancelCustomJobAsync(name);

CancelCustomJobAsync(String, CancellationToken)

public virtual Task CancelCustomJobAsync(string name, CancellationToken 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
nameString

Required. The name of the CustomJob to cancel. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customJobs/[CUSTOM_JOB]";
// Make the request
await jobServiceClient.CancelCustomJobAsync(name);

CancelDataLabelingJob(CancelDataLabelingJobRequest, CallSettings)

public virtual void CancelDataLabelingJob(CancelDataLabelingJobRequest request, CallSettings callSettings = null)

Cancels a DataLabelingJob. Success of cancellation is not guaranteed.

Parameters
NameDescription
requestCancelDataLabelingJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
CancelDataLabelingJobRequest request = new CancelDataLabelingJobRequest
{
    DataLabelingJobName = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]"),
};
// Make the request
jobServiceClient.CancelDataLabelingJob(request);

CancelDataLabelingJob(DataLabelingJobName, CallSettings)

public virtual void CancelDataLabelingJob(DataLabelingJobName name, CallSettings callSettings = null)

Cancels a DataLabelingJob. Success of cancellation is not guaranteed.

Parameters
NameDescription
nameDataLabelingJobName

Required. The name of the DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
DataLabelingJobName name = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]");
// Make the request
jobServiceClient.CancelDataLabelingJob(name);

CancelDataLabelingJob(String, CallSettings)

public virtual void CancelDataLabelingJob(string name, CallSettings callSettings = null)

Cancels a DataLabelingJob. Success of cancellation is not guaranteed.

Parameters
NameDescription
nameString

Required. The name of the DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataLabelingJobs/[DATA_LABELING_JOB]";
// Make the request
jobServiceClient.CancelDataLabelingJob(name);

CancelDataLabelingJobAsync(CancelDataLabelingJobRequest, CallSettings)

public virtual Task CancelDataLabelingJobAsync(CancelDataLabelingJobRequest request, CallSettings callSettings = null)

Cancels a DataLabelingJob. Success of cancellation is not guaranteed.

Parameters
NameDescription
requestCancelDataLabelingJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CancelDataLabelingJobRequest request = new CancelDataLabelingJobRequest
{
    DataLabelingJobName = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]"),
};
// Make the request
await jobServiceClient.CancelDataLabelingJobAsync(request);

CancelDataLabelingJobAsync(CancelDataLabelingJobRequest, CancellationToken)

public virtual Task CancelDataLabelingJobAsync(CancelDataLabelingJobRequest request, CancellationToken cancellationToken)

Cancels a DataLabelingJob. Success of cancellation is not guaranteed.

Parameters
NameDescription
requestCancelDataLabelingJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CancelDataLabelingJobRequest request = new CancelDataLabelingJobRequest
{
    DataLabelingJobName = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]"),
};
// Make the request
await jobServiceClient.CancelDataLabelingJobAsync(request);

CancelDataLabelingJobAsync(DataLabelingJobName, CallSettings)

public virtual Task CancelDataLabelingJobAsync(DataLabelingJobName name, CallSettings callSettings = null)

Cancels a DataLabelingJob. Success of cancellation is not guaranteed.

Parameters
NameDescription
nameDataLabelingJobName

Required. The name of the DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DataLabelingJobName name = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]");
// Make the request
await jobServiceClient.CancelDataLabelingJobAsync(name);

CancelDataLabelingJobAsync(DataLabelingJobName, CancellationToken)

public virtual Task CancelDataLabelingJobAsync(DataLabelingJobName name, CancellationToken cancellationToken)

Cancels a DataLabelingJob. Success of cancellation is not guaranteed.

Parameters
NameDescription
nameDataLabelingJobName

Required. The name of the DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DataLabelingJobName name = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]");
// Make the request
await jobServiceClient.CancelDataLabelingJobAsync(name);

CancelDataLabelingJobAsync(String, CallSettings)

public virtual Task CancelDataLabelingJobAsync(string name, CallSettings callSettings = null)

Cancels a DataLabelingJob. Success of cancellation is not guaranteed.

Parameters
NameDescription
nameString

Required. The name of the DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataLabelingJobs/[DATA_LABELING_JOB]";
// Make the request
await jobServiceClient.CancelDataLabelingJobAsync(name);

CancelDataLabelingJobAsync(String, CancellationToken)

public virtual Task CancelDataLabelingJobAsync(string name, CancellationToken cancellationToken)

Cancels a DataLabelingJob. Success of cancellation is not guaranteed.

Parameters
NameDescription
nameString

Required. The name of the DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataLabelingJobs/[DATA_LABELING_JOB]";
// Make the request
await jobServiceClient.CancelDataLabelingJobAsync(name);

CancelHyperparameterTuningJob(CancelHyperparameterTuningJobRequest, CallSettings)

public virtual void CancelHyperparameterTuningJob(CancelHyperparameterTuningJobRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
CancelHyperparameterTuningJobRequest request = new CancelHyperparameterTuningJobRequest
{
    HyperparameterTuningJobName = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]"),
};
// Make the request
jobServiceClient.CancelHyperparameterTuningJob(request);

CancelHyperparameterTuningJob(HyperparameterTuningJobName, CallSettings)

public virtual void CancelHyperparameterTuningJob(HyperparameterTuningJobName name, CallSettings callSettings = null)

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
nameHyperparameterTuningJobName

Required. The name of the HyperparameterTuningJob to cancel. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
HyperparameterTuningJobName name = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]");
// Make the request
jobServiceClient.CancelHyperparameterTuningJob(name);

CancelHyperparameterTuningJob(String, CallSettings)

public virtual void CancelHyperparameterTuningJob(string name, CallSettings callSettings = null)

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
nameString

Required. The name of the HyperparameterTuningJob to cancel. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/hyperparameterTuningJobs/[HYPERPARAMETER_TUNING_JOB]";
// Make the request
jobServiceClient.CancelHyperparameterTuningJob(name);

CancelHyperparameterTuningJobAsync(CancelHyperparameterTuningJobRequest, CallSettings)

public virtual Task CancelHyperparameterTuningJobAsync(CancelHyperparameterTuningJobRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CancelHyperparameterTuningJobRequest request = new CancelHyperparameterTuningJobRequest
{
    HyperparameterTuningJobName = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]"),
};
// Make the request
await jobServiceClient.CancelHyperparameterTuningJobAsync(request);

CancelHyperparameterTuningJobAsync(CancelHyperparameterTuningJobRequest, CancellationToken)

public virtual Task CancelHyperparameterTuningJobAsync(CancelHyperparameterTuningJobRequest request, CancellationToken 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 object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CancelHyperparameterTuningJobRequest request = new CancelHyperparameterTuningJobRequest
{
    HyperparameterTuningJobName = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]"),
};
// Make the request
await jobServiceClient.CancelHyperparameterTuningJobAsync(request);

CancelHyperparameterTuningJobAsync(HyperparameterTuningJobName, CallSettings)

public virtual Task CancelHyperparameterTuningJobAsync(HyperparameterTuningJobName name, CallSettings callSettings = null)

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
nameHyperparameterTuningJobName

Required. The name of the HyperparameterTuningJob to cancel. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
HyperparameterTuningJobName name = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]");
// Make the request
await jobServiceClient.CancelHyperparameterTuningJobAsync(name);

CancelHyperparameterTuningJobAsync(HyperparameterTuningJobName, CancellationToken)

public virtual Task CancelHyperparameterTuningJobAsync(HyperparameterTuningJobName name, CancellationToken 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
nameHyperparameterTuningJobName

Required. The name of the HyperparameterTuningJob to cancel. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
HyperparameterTuningJobName name = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]");
// Make the request
await jobServiceClient.CancelHyperparameterTuningJobAsync(name);

CancelHyperparameterTuningJobAsync(String, CallSettings)

public virtual Task CancelHyperparameterTuningJobAsync(string name, CallSettings callSettings = null)

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
nameString

Required. The name of the HyperparameterTuningJob to cancel. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/hyperparameterTuningJobs/[HYPERPARAMETER_TUNING_JOB]";
// Make the request
await jobServiceClient.CancelHyperparameterTuningJobAsync(name);

CancelHyperparameterTuningJobAsync(String, CancellationToken)

public virtual Task CancelHyperparameterTuningJobAsync(string name, CancellationToken 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
nameString

Required. The name of the HyperparameterTuningJob to cancel. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/hyperparameterTuningJobs/[HYPERPARAMETER_TUNING_JOB]";
// Make the request
await jobServiceClient.CancelHyperparameterTuningJobAsync(name);

Create()

public static JobServiceClient Create()

Synchronously creates a JobServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use JobServiceClientBuilder.

Returns
TypeDescription
JobServiceClient

The created JobServiceClient.

CreateAsync(CancellationToken)

public static Task<JobServiceClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))

Asynchronously creates a JobServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use JobServiceClientBuilder.

Parameter
NameDescription
cancellationTokenCancellationToken

The CancellationToken to use while creating the client.

Returns
TypeDescription
Task<JobServiceClient>

The task representing the created JobServiceClient.

CreateBatchPredictionJob(LocationName, BatchPredictionJob, CallSettings)

public virtual BatchPredictionJob CreateBatchPredictionJob(LocationName parent, BatchPredictionJob batchPredictionJob, CallSettings callSettings = null)

Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create the BatchPredictionJob in. Format: projects/{project}/locations/{location}

batchPredictionJobBatchPredictionJob

Required. The BatchPredictionJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BatchPredictionJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
BatchPredictionJob batchPredictionJob = new BatchPredictionJob();
// Make the request
BatchPredictionJob response = jobServiceClient.CreateBatchPredictionJob(parent, batchPredictionJob);

CreateBatchPredictionJob(CreateBatchPredictionJobRequest, CallSettings)

public virtual BatchPredictionJob CreateBatchPredictionJob(CreateBatchPredictionJobRequest request, CallSettings callSettings = null)

Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.

Parameters
NameDescription
requestCreateBatchPredictionJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BatchPredictionJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
CreateBatchPredictionJobRequest request = new CreateBatchPredictionJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    BatchPredictionJob = new BatchPredictionJob(),
};
// Make the request
BatchPredictionJob response = jobServiceClient.CreateBatchPredictionJob(request);

CreateBatchPredictionJob(String, BatchPredictionJob, CallSettings)

public virtual BatchPredictionJob CreateBatchPredictionJob(string parent, BatchPredictionJob batchPredictionJob, CallSettings callSettings = null)

Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.

Parameters
NameDescription
parentString

Required. The resource name of the Location to create the BatchPredictionJob in. Format: projects/{project}/locations/{location}

batchPredictionJobBatchPredictionJob

Required. The BatchPredictionJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BatchPredictionJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
BatchPredictionJob batchPredictionJob = new BatchPredictionJob();
// Make the request
BatchPredictionJob response = jobServiceClient.CreateBatchPredictionJob(parent, batchPredictionJob);

CreateBatchPredictionJobAsync(LocationName, BatchPredictionJob, CallSettings)

public virtual Task<BatchPredictionJob> CreateBatchPredictionJobAsync(LocationName parent, BatchPredictionJob batchPredictionJob, CallSettings callSettings = null)

Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create the BatchPredictionJob in. Format: projects/{project}/locations/{location}

batchPredictionJobBatchPredictionJob

Required. The BatchPredictionJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<BatchPredictionJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
BatchPredictionJob batchPredictionJob = new BatchPredictionJob();
// Make the request
BatchPredictionJob response = await jobServiceClient.CreateBatchPredictionJobAsync(parent, batchPredictionJob);

CreateBatchPredictionJobAsync(LocationName, BatchPredictionJob, CancellationToken)

public virtual Task<BatchPredictionJob> CreateBatchPredictionJobAsync(LocationName parent, BatchPredictionJob batchPredictionJob, CancellationToken cancellationToken)

Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create the BatchPredictionJob in. Format: projects/{project}/locations/{location}

batchPredictionJobBatchPredictionJob

Required. The BatchPredictionJob to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<BatchPredictionJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
BatchPredictionJob batchPredictionJob = new BatchPredictionJob();
// Make the request
BatchPredictionJob response = await jobServiceClient.CreateBatchPredictionJobAsync(parent, batchPredictionJob);

CreateBatchPredictionJobAsync(CreateBatchPredictionJobRequest, CallSettings)

public virtual Task<BatchPredictionJob> CreateBatchPredictionJobAsync(CreateBatchPredictionJobRequest request, CallSettings callSettings = null)

Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.

Parameters
NameDescription
requestCreateBatchPredictionJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<BatchPredictionJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CreateBatchPredictionJobRequest request = new CreateBatchPredictionJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    BatchPredictionJob = new BatchPredictionJob(),
};
// Make the request
BatchPredictionJob response = await jobServiceClient.CreateBatchPredictionJobAsync(request);

CreateBatchPredictionJobAsync(CreateBatchPredictionJobRequest, CancellationToken)

public virtual Task<BatchPredictionJob> CreateBatchPredictionJobAsync(CreateBatchPredictionJobRequest request, CancellationToken cancellationToken)

Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.

Parameters
NameDescription
requestCreateBatchPredictionJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<BatchPredictionJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CreateBatchPredictionJobRequest request = new CreateBatchPredictionJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    BatchPredictionJob = new BatchPredictionJob(),
};
// Make the request
BatchPredictionJob response = await jobServiceClient.CreateBatchPredictionJobAsync(request);

CreateBatchPredictionJobAsync(String, BatchPredictionJob, CallSettings)

public virtual Task<BatchPredictionJob> CreateBatchPredictionJobAsync(string parent, BatchPredictionJob batchPredictionJob, CallSettings callSettings = null)

Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.

Parameters
NameDescription
parentString

Required. The resource name of the Location to create the BatchPredictionJob in. Format: projects/{project}/locations/{location}

batchPredictionJobBatchPredictionJob

Required. The BatchPredictionJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<BatchPredictionJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
BatchPredictionJob batchPredictionJob = new BatchPredictionJob();
// Make the request
BatchPredictionJob response = await jobServiceClient.CreateBatchPredictionJobAsync(parent, batchPredictionJob);

CreateBatchPredictionJobAsync(String, BatchPredictionJob, CancellationToken)

public virtual Task<BatchPredictionJob> CreateBatchPredictionJobAsync(string parent, BatchPredictionJob batchPredictionJob, CancellationToken cancellationToken)

Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.

Parameters
NameDescription
parentString

Required. The resource name of the Location to create the BatchPredictionJob in. Format: projects/{project}/locations/{location}

batchPredictionJobBatchPredictionJob

Required. The BatchPredictionJob to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<BatchPredictionJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
BatchPredictionJob batchPredictionJob = new BatchPredictionJob();
// Make the request
BatchPredictionJob response = await jobServiceClient.CreateBatchPredictionJobAsync(parent, batchPredictionJob);

CreateCustomJob(LocationName, CustomJob, CallSettings)

public virtual CustomJob CreateCustomJob(LocationName parent, CustomJob customJob, CallSettings callSettings = null)

Creates a CustomJob. A created CustomJob right away will be attempted to be run.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create the CustomJob in. Format: projects/{project}/locations/{location}

customJobCustomJob

Required. The CustomJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CustomJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CustomJob customJob = new CustomJob();
// Make the request
CustomJob response = jobServiceClient.CreateCustomJob(parent, customJob);

CreateCustomJob(CreateCustomJobRequest, CallSettings)

public virtual CustomJob CreateCustomJob(CreateCustomJobRequest request, CallSettings callSettings = null)

Creates a CustomJob. A created CustomJob right away will be attempted to be run.

Parameters
NameDescription
requestCreateCustomJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CustomJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
CreateCustomJobRequest request = new CreateCustomJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CustomJob = new CustomJob(),
};
// Make the request
CustomJob response = jobServiceClient.CreateCustomJob(request);

CreateCustomJob(String, CustomJob, CallSettings)

public virtual CustomJob CreateCustomJob(string parent, CustomJob customJob, CallSettings callSettings = null)

Creates a CustomJob. A created CustomJob right away will be attempted to be run.

Parameters
NameDescription
parentString

Required. The resource name of the Location to create the CustomJob in. Format: projects/{project}/locations/{location}

customJobCustomJob

Required. The CustomJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CustomJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CustomJob customJob = new CustomJob();
// Make the request
CustomJob response = jobServiceClient.CreateCustomJob(parent, customJob);

CreateCustomJobAsync(LocationName, CustomJob, CallSettings)

public virtual Task<CustomJob> CreateCustomJobAsync(LocationName parent, CustomJob customJob, CallSettings callSettings = null)

Creates a CustomJob. A created CustomJob right away will be attempted to be run.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create the CustomJob in. Format: projects/{project}/locations/{location}

customJobCustomJob

Required. The CustomJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<CustomJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CustomJob customJob = new CustomJob();
// Make the request
CustomJob response = await jobServiceClient.CreateCustomJobAsync(parent, customJob);

CreateCustomJobAsync(LocationName, CustomJob, CancellationToken)

public virtual Task<CustomJob> CreateCustomJobAsync(LocationName parent, CustomJob customJob, CancellationToken cancellationToken)

Creates a CustomJob. A created CustomJob right away will be attempted to be run.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create the CustomJob in. Format: projects/{project}/locations/{location}

customJobCustomJob

Required. The CustomJob to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<CustomJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CustomJob customJob = new CustomJob();
// Make the request
CustomJob response = await jobServiceClient.CreateCustomJobAsync(parent, customJob);

CreateCustomJobAsync(CreateCustomJobRequest, CallSettings)

public virtual Task<CustomJob> CreateCustomJobAsync(CreateCustomJobRequest request, CallSettings callSettings = null)

Creates a CustomJob. A created CustomJob right away will be attempted to be run.

Parameters
NameDescription
requestCreateCustomJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<CustomJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CreateCustomJobRequest request = new CreateCustomJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CustomJob = new CustomJob(),
};
// Make the request
CustomJob response = await jobServiceClient.CreateCustomJobAsync(request);

CreateCustomJobAsync(CreateCustomJobRequest, CancellationToken)

public virtual Task<CustomJob> CreateCustomJobAsync(CreateCustomJobRequest request, CancellationToken cancellationToken)

Creates a CustomJob. A created CustomJob right away will be attempted to be run.

Parameters
NameDescription
requestCreateCustomJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<CustomJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CreateCustomJobRequest request = new CreateCustomJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    CustomJob = new CustomJob(),
};
// Make the request
CustomJob response = await jobServiceClient.CreateCustomJobAsync(request);

CreateCustomJobAsync(String, CustomJob, CallSettings)

public virtual Task<CustomJob> CreateCustomJobAsync(string parent, CustomJob customJob, CallSettings callSettings = null)

Creates a CustomJob. A created CustomJob right away will be attempted to be run.

Parameters
NameDescription
parentString

Required. The resource name of the Location to create the CustomJob in. Format: projects/{project}/locations/{location}

customJobCustomJob

Required. The CustomJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<CustomJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CustomJob customJob = new CustomJob();
// Make the request
CustomJob response = await jobServiceClient.CreateCustomJobAsync(parent, customJob);

CreateCustomJobAsync(String, CustomJob, CancellationToken)

public virtual Task<CustomJob> CreateCustomJobAsync(string parent, CustomJob customJob, CancellationToken cancellationToken)

Creates a CustomJob. A created CustomJob right away will be attempted to be run.

Parameters
NameDescription
parentString

Required. The resource name of the Location to create the CustomJob in. Format: projects/{project}/locations/{location}

customJobCustomJob

Required. The CustomJob to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<CustomJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CustomJob customJob = new CustomJob();
// Make the request
CustomJob response = await jobServiceClient.CreateCustomJobAsync(parent, customJob);

CreateDataLabelingJob(LocationName, DataLabelingJob, CallSettings)

public virtual DataLabelingJob CreateDataLabelingJob(LocationName parent, DataLabelingJob dataLabelingJob, CallSettings callSettings = null)

Creates a DataLabelingJob.

Parameters
NameDescription
parentLocationName

Required. The parent of the DataLabelingJob. Format: projects/{project}/locations/{location}

dataLabelingJobDataLabelingJob

Required. The DataLabelingJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DataLabelingJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DataLabelingJob dataLabelingJob = new DataLabelingJob();
// Make the request
DataLabelingJob response = jobServiceClient.CreateDataLabelingJob(parent, dataLabelingJob);

CreateDataLabelingJob(CreateDataLabelingJobRequest, CallSettings)

public virtual DataLabelingJob CreateDataLabelingJob(CreateDataLabelingJobRequest request, CallSettings callSettings = null)

Creates a DataLabelingJob.

Parameters
NameDescription
requestCreateDataLabelingJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DataLabelingJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
CreateDataLabelingJobRequest request = new CreateDataLabelingJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DataLabelingJob = new DataLabelingJob(),
};
// Make the request
DataLabelingJob response = jobServiceClient.CreateDataLabelingJob(request);

CreateDataLabelingJob(String, DataLabelingJob, CallSettings)

public virtual DataLabelingJob CreateDataLabelingJob(string parent, DataLabelingJob dataLabelingJob, CallSettings callSettings = null)

Creates a DataLabelingJob.

Parameters
NameDescription
parentString

Required. The parent of the DataLabelingJob. Format: projects/{project}/locations/{location}

dataLabelingJobDataLabelingJob

Required. The DataLabelingJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DataLabelingJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DataLabelingJob dataLabelingJob = new DataLabelingJob();
// Make the request
DataLabelingJob response = jobServiceClient.CreateDataLabelingJob(parent, dataLabelingJob);

CreateDataLabelingJobAsync(LocationName, DataLabelingJob, CallSettings)

public virtual Task<DataLabelingJob> CreateDataLabelingJobAsync(LocationName parent, DataLabelingJob dataLabelingJob, CallSettings callSettings = null)

Creates a DataLabelingJob.

Parameters
NameDescription
parentLocationName

Required. The parent of the DataLabelingJob. Format: projects/{project}/locations/{location}

dataLabelingJobDataLabelingJob

Required. The DataLabelingJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<DataLabelingJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DataLabelingJob dataLabelingJob = new DataLabelingJob();
// Make the request
DataLabelingJob response = await jobServiceClient.CreateDataLabelingJobAsync(parent, dataLabelingJob);

CreateDataLabelingJobAsync(LocationName, DataLabelingJob, CancellationToken)

public virtual Task<DataLabelingJob> CreateDataLabelingJobAsync(LocationName parent, DataLabelingJob dataLabelingJob, CancellationToken cancellationToken)

Creates a DataLabelingJob.

Parameters
NameDescription
parentLocationName

Required. The parent of the DataLabelingJob. Format: projects/{project}/locations/{location}

dataLabelingJobDataLabelingJob

Required. The DataLabelingJob to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<DataLabelingJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DataLabelingJob dataLabelingJob = new DataLabelingJob();
// Make the request
DataLabelingJob response = await jobServiceClient.CreateDataLabelingJobAsync(parent, dataLabelingJob);

CreateDataLabelingJobAsync(CreateDataLabelingJobRequest, CallSettings)

public virtual Task<DataLabelingJob> CreateDataLabelingJobAsync(CreateDataLabelingJobRequest request, CallSettings callSettings = null)

Creates a DataLabelingJob.

Parameters
NameDescription
requestCreateDataLabelingJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<DataLabelingJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CreateDataLabelingJobRequest request = new CreateDataLabelingJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DataLabelingJob = new DataLabelingJob(),
};
// Make the request
DataLabelingJob response = await jobServiceClient.CreateDataLabelingJobAsync(request);

CreateDataLabelingJobAsync(CreateDataLabelingJobRequest, CancellationToken)

public virtual Task<DataLabelingJob> CreateDataLabelingJobAsync(CreateDataLabelingJobRequest request, CancellationToken cancellationToken)

Creates a DataLabelingJob.

Parameters
NameDescription
requestCreateDataLabelingJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<DataLabelingJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CreateDataLabelingJobRequest request = new CreateDataLabelingJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    DataLabelingJob = new DataLabelingJob(),
};
// Make the request
DataLabelingJob response = await jobServiceClient.CreateDataLabelingJobAsync(request);

CreateDataLabelingJobAsync(String, DataLabelingJob, CallSettings)

public virtual Task<DataLabelingJob> CreateDataLabelingJobAsync(string parent, DataLabelingJob dataLabelingJob, CallSettings callSettings = null)

Creates a DataLabelingJob.

Parameters
NameDescription
parentString

Required. The parent of the DataLabelingJob. Format: projects/{project}/locations/{location}

dataLabelingJobDataLabelingJob

Required. The DataLabelingJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<DataLabelingJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DataLabelingJob dataLabelingJob = new DataLabelingJob();
// Make the request
DataLabelingJob response = await jobServiceClient.CreateDataLabelingJobAsync(parent, dataLabelingJob);

CreateDataLabelingJobAsync(String, DataLabelingJob, CancellationToken)

public virtual Task<DataLabelingJob> CreateDataLabelingJobAsync(string parent, DataLabelingJob dataLabelingJob, CancellationToken cancellationToken)

Creates a DataLabelingJob.

Parameters
NameDescription
parentString

Required. The parent of the DataLabelingJob. Format: projects/{project}/locations/{location}

dataLabelingJobDataLabelingJob

Required. The DataLabelingJob to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<DataLabelingJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DataLabelingJob dataLabelingJob = new DataLabelingJob();
// Make the request
DataLabelingJob response = await jobServiceClient.CreateDataLabelingJobAsync(parent, dataLabelingJob);

CreateHyperparameterTuningJob(LocationName, HyperparameterTuningJob, CallSettings)

public virtual HyperparameterTuningJob CreateHyperparameterTuningJob(LocationName parent, HyperparameterTuningJob hyperparameterTuningJob, CallSettings callSettings = null)

Creates a HyperparameterTuningJob

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create the HyperparameterTuningJob in. Format: projects/{project}/locations/{location}

hyperparameterTuningJobHyperparameterTuningJob

Required. The HyperparameterTuningJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
HyperparameterTuningJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
HyperparameterTuningJob hyperparameterTuningJob = new HyperparameterTuningJob();
// Make the request
HyperparameterTuningJob response = jobServiceClient.CreateHyperparameterTuningJob(parent, hyperparameterTuningJob);

CreateHyperparameterTuningJob(CreateHyperparameterTuningJobRequest, CallSettings)

public virtual HyperparameterTuningJob CreateHyperparameterTuningJob(CreateHyperparameterTuningJobRequest request, CallSettings callSettings = null)

Creates a HyperparameterTuningJob

Parameters
NameDescription
requestCreateHyperparameterTuningJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
HyperparameterTuningJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
CreateHyperparameterTuningJobRequest request = new CreateHyperparameterTuningJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    HyperparameterTuningJob = new HyperparameterTuningJob(),
};
// Make the request
HyperparameterTuningJob response = jobServiceClient.CreateHyperparameterTuningJob(request);

CreateHyperparameterTuningJob(String, HyperparameterTuningJob, CallSettings)

public virtual HyperparameterTuningJob CreateHyperparameterTuningJob(string parent, HyperparameterTuningJob hyperparameterTuningJob, CallSettings callSettings = null)

Creates a HyperparameterTuningJob

Parameters
NameDescription
parentString

Required. The resource name of the Location to create the HyperparameterTuningJob in. Format: projects/{project}/locations/{location}

hyperparameterTuningJobHyperparameterTuningJob

Required. The HyperparameterTuningJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
HyperparameterTuningJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
HyperparameterTuningJob hyperparameterTuningJob = new HyperparameterTuningJob();
// Make the request
HyperparameterTuningJob response = jobServiceClient.CreateHyperparameterTuningJob(parent, hyperparameterTuningJob);

CreateHyperparameterTuningJobAsync(LocationName, HyperparameterTuningJob, CallSettings)

public virtual Task<HyperparameterTuningJob> CreateHyperparameterTuningJobAsync(LocationName parent, HyperparameterTuningJob hyperparameterTuningJob, CallSettings callSettings = null)

Creates a HyperparameterTuningJob

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create the HyperparameterTuningJob in. Format: projects/{project}/locations/{location}

hyperparameterTuningJobHyperparameterTuningJob

Required. The HyperparameterTuningJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<HyperparameterTuningJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
HyperparameterTuningJob hyperparameterTuningJob = new HyperparameterTuningJob();
// Make the request
HyperparameterTuningJob response = await jobServiceClient.CreateHyperparameterTuningJobAsync(parent, hyperparameterTuningJob);

CreateHyperparameterTuningJobAsync(LocationName, HyperparameterTuningJob, CancellationToken)

public virtual Task<HyperparameterTuningJob> CreateHyperparameterTuningJobAsync(LocationName parent, HyperparameterTuningJob hyperparameterTuningJob, CancellationToken cancellationToken)

Creates a HyperparameterTuningJob

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to create the HyperparameterTuningJob in. Format: projects/{project}/locations/{location}

hyperparameterTuningJobHyperparameterTuningJob

Required. The HyperparameterTuningJob to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<HyperparameterTuningJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
HyperparameterTuningJob hyperparameterTuningJob = new HyperparameterTuningJob();
// Make the request
HyperparameterTuningJob response = await jobServiceClient.CreateHyperparameterTuningJobAsync(parent, hyperparameterTuningJob);

CreateHyperparameterTuningJobAsync(CreateHyperparameterTuningJobRequest, CallSettings)

public virtual Task<HyperparameterTuningJob> CreateHyperparameterTuningJobAsync(CreateHyperparameterTuningJobRequest request, CallSettings callSettings = null)

Creates a HyperparameterTuningJob

Parameters
NameDescription
requestCreateHyperparameterTuningJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<HyperparameterTuningJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CreateHyperparameterTuningJobRequest request = new CreateHyperparameterTuningJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    HyperparameterTuningJob = new HyperparameterTuningJob(),
};
// Make the request
HyperparameterTuningJob response = await jobServiceClient.CreateHyperparameterTuningJobAsync(request);

CreateHyperparameterTuningJobAsync(CreateHyperparameterTuningJobRequest, CancellationToken)

public virtual Task<HyperparameterTuningJob> CreateHyperparameterTuningJobAsync(CreateHyperparameterTuningJobRequest request, CancellationToken cancellationToken)

Creates a HyperparameterTuningJob

Parameters
NameDescription
requestCreateHyperparameterTuningJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<HyperparameterTuningJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CreateHyperparameterTuningJobRequest request = new CreateHyperparameterTuningJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    HyperparameterTuningJob = new HyperparameterTuningJob(),
};
// Make the request
HyperparameterTuningJob response = await jobServiceClient.CreateHyperparameterTuningJobAsync(request);

CreateHyperparameterTuningJobAsync(String, HyperparameterTuningJob, CallSettings)

public virtual Task<HyperparameterTuningJob> CreateHyperparameterTuningJobAsync(string parent, HyperparameterTuningJob hyperparameterTuningJob, CallSettings callSettings = null)

Creates a HyperparameterTuningJob

Parameters
NameDescription
parentString

Required. The resource name of the Location to create the HyperparameterTuningJob in. Format: projects/{project}/locations/{location}

hyperparameterTuningJobHyperparameterTuningJob

Required. The HyperparameterTuningJob to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<HyperparameterTuningJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
HyperparameterTuningJob hyperparameterTuningJob = new HyperparameterTuningJob();
// Make the request
HyperparameterTuningJob response = await jobServiceClient.CreateHyperparameterTuningJobAsync(parent, hyperparameterTuningJob);

CreateHyperparameterTuningJobAsync(String, HyperparameterTuningJob, CancellationToken)

public virtual Task<HyperparameterTuningJob> CreateHyperparameterTuningJobAsync(string parent, HyperparameterTuningJob hyperparameterTuningJob, CancellationToken cancellationToken)

Creates a HyperparameterTuningJob

Parameters
NameDescription
parentString

Required. The resource name of the Location to create the HyperparameterTuningJob in. Format: projects/{project}/locations/{location}

hyperparameterTuningJobHyperparameterTuningJob

Required. The HyperparameterTuningJob to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<HyperparameterTuningJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
HyperparameterTuningJob hyperparameterTuningJob = new HyperparameterTuningJob();
// Make the request
HyperparameterTuningJob response = await jobServiceClient.CreateHyperparameterTuningJobAsync(parent, hyperparameterTuningJob);

CreateModelDeploymentMonitoringJob(LocationName, ModelDeploymentMonitoringJob, CallSettings)

public virtual ModelDeploymentMonitoringJob CreateModelDeploymentMonitoringJob(LocationName parent, ModelDeploymentMonitoringJob modelDeploymentMonitoringJob, CallSettings callSettings = null)

Creates a ModelDeploymentMonitoringJob. It will run periodically on a configured interval.

Parameters
NameDescription
parentLocationName

Required. The parent of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}

modelDeploymentMonitoringJobModelDeploymentMonitoringJob

Required. The ModelDeploymentMonitoringJob to create

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ModelDeploymentMonitoringJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
ModelDeploymentMonitoringJob modelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob();
// Make the request
ModelDeploymentMonitoringJob response = jobServiceClient.CreateModelDeploymentMonitoringJob(parent, modelDeploymentMonitoringJob);

CreateModelDeploymentMonitoringJob(CreateModelDeploymentMonitoringJobRequest, CallSettings)

public virtual ModelDeploymentMonitoringJob CreateModelDeploymentMonitoringJob(CreateModelDeploymentMonitoringJobRequest request, CallSettings callSettings = null)

Creates a ModelDeploymentMonitoringJob. It will run periodically on a configured interval.

Parameters
NameDescription
requestCreateModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ModelDeploymentMonitoringJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
CreateModelDeploymentMonitoringJobRequest request = new CreateModelDeploymentMonitoringJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    ModelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob(),
};
// Make the request
ModelDeploymentMonitoringJob response = jobServiceClient.CreateModelDeploymentMonitoringJob(request);

CreateModelDeploymentMonitoringJob(String, ModelDeploymentMonitoringJob, CallSettings)

public virtual ModelDeploymentMonitoringJob CreateModelDeploymentMonitoringJob(string parent, ModelDeploymentMonitoringJob modelDeploymentMonitoringJob, CallSettings callSettings = null)

Creates a ModelDeploymentMonitoringJob. It will run periodically on a configured interval.

Parameters
NameDescription
parentString

Required. The parent of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}

modelDeploymentMonitoringJobModelDeploymentMonitoringJob

Required. The ModelDeploymentMonitoringJob to create

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ModelDeploymentMonitoringJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
ModelDeploymentMonitoringJob modelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob();
// Make the request
ModelDeploymentMonitoringJob response = jobServiceClient.CreateModelDeploymentMonitoringJob(parent, modelDeploymentMonitoringJob);

CreateModelDeploymentMonitoringJobAsync(LocationName, ModelDeploymentMonitoringJob, CallSettings)

public virtual Task<ModelDeploymentMonitoringJob> CreateModelDeploymentMonitoringJobAsync(LocationName parent, ModelDeploymentMonitoringJob modelDeploymentMonitoringJob, CallSettings callSettings = null)

Creates a ModelDeploymentMonitoringJob. It will run periodically on a configured interval.

Parameters
NameDescription
parentLocationName

Required. The parent of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}

modelDeploymentMonitoringJobModelDeploymentMonitoringJob

Required. The ModelDeploymentMonitoringJob to create

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ModelDeploymentMonitoringJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
ModelDeploymentMonitoringJob modelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob();
// Make the request
ModelDeploymentMonitoringJob response = await jobServiceClient.CreateModelDeploymentMonitoringJobAsync(parent, modelDeploymentMonitoringJob);

CreateModelDeploymentMonitoringJobAsync(LocationName, ModelDeploymentMonitoringJob, CancellationToken)

public virtual Task<ModelDeploymentMonitoringJob> CreateModelDeploymentMonitoringJobAsync(LocationName parent, ModelDeploymentMonitoringJob modelDeploymentMonitoringJob, CancellationToken cancellationToken)

Creates a ModelDeploymentMonitoringJob. It will run periodically on a configured interval.

Parameters
NameDescription
parentLocationName

Required. The parent of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}

modelDeploymentMonitoringJobModelDeploymentMonitoringJob

Required. The ModelDeploymentMonitoringJob to create

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<ModelDeploymentMonitoringJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
ModelDeploymentMonitoringJob modelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob();
// Make the request
ModelDeploymentMonitoringJob response = await jobServiceClient.CreateModelDeploymentMonitoringJobAsync(parent, modelDeploymentMonitoringJob);

CreateModelDeploymentMonitoringJobAsync(CreateModelDeploymentMonitoringJobRequest, CallSettings)

public virtual Task<ModelDeploymentMonitoringJob> CreateModelDeploymentMonitoringJobAsync(CreateModelDeploymentMonitoringJobRequest request, CallSettings callSettings = null)

Creates a ModelDeploymentMonitoringJob. It will run periodically on a configured interval.

Parameters
NameDescription
requestCreateModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ModelDeploymentMonitoringJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CreateModelDeploymentMonitoringJobRequest request = new CreateModelDeploymentMonitoringJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    ModelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob(),
};
// Make the request
ModelDeploymentMonitoringJob response = await jobServiceClient.CreateModelDeploymentMonitoringJobAsync(request);

CreateModelDeploymentMonitoringJobAsync(CreateModelDeploymentMonitoringJobRequest, CancellationToken)

public virtual Task<ModelDeploymentMonitoringJob> CreateModelDeploymentMonitoringJobAsync(CreateModelDeploymentMonitoringJobRequest request, CancellationToken cancellationToken)

Creates a ModelDeploymentMonitoringJob. It will run periodically on a configured interval.

Parameters
NameDescription
requestCreateModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<ModelDeploymentMonitoringJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CreateModelDeploymentMonitoringJobRequest request = new CreateModelDeploymentMonitoringJobRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    ModelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob(),
};
// Make the request
ModelDeploymentMonitoringJob response = await jobServiceClient.CreateModelDeploymentMonitoringJobAsync(request);

CreateModelDeploymentMonitoringJobAsync(String, ModelDeploymentMonitoringJob, CallSettings)

public virtual Task<ModelDeploymentMonitoringJob> CreateModelDeploymentMonitoringJobAsync(string parent, ModelDeploymentMonitoringJob modelDeploymentMonitoringJob, CallSettings callSettings = null)

Creates a ModelDeploymentMonitoringJob. It will run periodically on a configured interval.

Parameters
NameDescription
parentString

Required. The parent of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}

modelDeploymentMonitoringJobModelDeploymentMonitoringJob

Required. The ModelDeploymentMonitoringJob to create

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ModelDeploymentMonitoringJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
ModelDeploymentMonitoringJob modelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob();
// Make the request
ModelDeploymentMonitoringJob response = await jobServiceClient.CreateModelDeploymentMonitoringJobAsync(parent, modelDeploymentMonitoringJob);

CreateModelDeploymentMonitoringJobAsync(String, ModelDeploymentMonitoringJob, CancellationToken)

public virtual Task<ModelDeploymentMonitoringJob> CreateModelDeploymentMonitoringJobAsync(string parent, ModelDeploymentMonitoringJob modelDeploymentMonitoringJob, CancellationToken cancellationToken)

Creates a ModelDeploymentMonitoringJob. It will run periodically on a configured interval.

Parameters
NameDescription
parentString

Required. The parent of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}

modelDeploymentMonitoringJobModelDeploymentMonitoringJob

Required. The ModelDeploymentMonitoringJob to create

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<ModelDeploymentMonitoringJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
ModelDeploymentMonitoringJob modelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob();
// Make the request
ModelDeploymentMonitoringJob response = await jobServiceClient.CreateModelDeploymentMonitoringJobAsync(parent, modelDeploymentMonitoringJob);

DeleteBatchPredictionJob(BatchPredictionJobName, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteBatchPredictionJob(BatchPredictionJobName name, CallSettings callSettings = null)

Deletes a BatchPredictionJob. Can only be called on jobs that already finished.

Parameters
NameDescription
nameBatchPredictionJobName

Required. The name of the BatchPredictionJob resource to be deleted. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
BatchPredictionJobName name = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteBatchPredictionJob(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteBatchPredictionJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteBatchPredictionJob(DeleteBatchPredictionJobRequest, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteBatchPredictionJob(DeleteBatchPredictionJobRequest request, CallSettings callSettings = null)

Deletes a BatchPredictionJob. Can only be called on jobs that already finished.

Parameters
NameDescription
requestDeleteBatchPredictionJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
DeleteBatchPredictionJobRequest request = new DeleteBatchPredictionJobRequest
{
    BatchPredictionJobName = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteBatchPredictionJob(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteBatchPredictionJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteBatchPredictionJob(String, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteBatchPredictionJob(string name, CallSettings callSettings = null)

Deletes a BatchPredictionJob. Can only be called on jobs that already finished.

Parameters
NameDescription
nameString

Required. The name of the BatchPredictionJob resource to be deleted. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/batchPredictionJobs/[BATCH_PREDICTION_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteBatchPredictionJob(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteBatchPredictionJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteBatchPredictionJobAsync(BatchPredictionJobName, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteBatchPredictionJobAsync(BatchPredictionJobName name, CallSettings callSettings = null)

Deletes a BatchPredictionJob. Can only be called on jobs that already finished.

Parameters
NameDescription
nameBatchPredictionJobName

Required. The name of the BatchPredictionJob resource to be deleted. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
BatchPredictionJobName name = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteBatchPredictionJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteBatchPredictionJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteBatchPredictionJobAsync(BatchPredictionJobName, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteBatchPredictionJobAsync(BatchPredictionJobName name, CancellationToken cancellationToken)

Deletes a BatchPredictionJob. Can only be called on jobs that already finished.

Parameters
NameDescription
nameBatchPredictionJobName

Required. The name of the BatchPredictionJob resource to be deleted. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
BatchPredictionJobName name = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteBatchPredictionJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteBatchPredictionJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteBatchPredictionJobAsync(DeleteBatchPredictionJobRequest, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteBatchPredictionJobAsync(DeleteBatchPredictionJobRequest request, CallSettings callSettings = null)

Deletes a BatchPredictionJob. Can only be called on jobs that already finished.

Parameters
NameDescription
requestDeleteBatchPredictionJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteBatchPredictionJobRequest request = new DeleteBatchPredictionJobRequest
{
    BatchPredictionJobName = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteBatchPredictionJobAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteBatchPredictionJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteBatchPredictionJobAsync(DeleteBatchPredictionJobRequest, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteBatchPredictionJobAsync(DeleteBatchPredictionJobRequest request, CancellationToken cancellationToken)

Deletes a BatchPredictionJob. Can only be called on jobs that already finished.

Parameters
NameDescription
requestDeleteBatchPredictionJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteBatchPredictionJobRequest request = new DeleteBatchPredictionJobRequest
{
    BatchPredictionJobName = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteBatchPredictionJobAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteBatchPredictionJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteBatchPredictionJobAsync(String, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteBatchPredictionJobAsync(string name, CallSettings callSettings = null)

Deletes a BatchPredictionJob. Can only be called on jobs that already finished.

Parameters
NameDescription
nameString

Required. The name of the BatchPredictionJob resource to be deleted. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/batchPredictionJobs/[BATCH_PREDICTION_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteBatchPredictionJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteBatchPredictionJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteBatchPredictionJobAsync(String, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteBatchPredictionJobAsync(string name, CancellationToken cancellationToken)

Deletes a BatchPredictionJob. Can only be called on jobs that already finished.

Parameters
NameDescription
nameString

Required. The name of the BatchPredictionJob resource to be deleted. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/batchPredictionJobs/[BATCH_PREDICTION_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteBatchPredictionJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteBatchPredictionJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCustomJob(CustomJobName, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteCustomJob(CustomJobName name, CallSettings callSettings = null)

Deletes a CustomJob.

Parameters
NameDescription
nameCustomJobName

Required. The name of the CustomJob resource to be deleted. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
CustomJobName name = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteCustomJob(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteCustomJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCustomJob(DeleteCustomJobRequest, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteCustomJob(DeleteCustomJobRequest request, CallSettings callSettings = null)

Deletes a CustomJob.

Parameters
NameDescription
requestDeleteCustomJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
DeleteCustomJobRequest request = new DeleteCustomJobRequest
{
    CustomJobName = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteCustomJob(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteCustomJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCustomJob(String, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteCustomJob(string name, CallSettings callSettings = null)

Deletes a CustomJob.

Parameters
NameDescription
nameString

Required. The name of the CustomJob resource to be deleted. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customJobs/[CUSTOM_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteCustomJob(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteCustomJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCustomJobAsync(CustomJobName, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteCustomJobAsync(CustomJobName name, CallSettings callSettings = null)

Deletes a CustomJob.

Parameters
NameDescription
nameCustomJobName

Required. The name of the CustomJob resource to be deleted. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CustomJobName name = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteCustomJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteCustomJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCustomJobAsync(CustomJobName, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteCustomJobAsync(CustomJobName name, CancellationToken cancellationToken)

Deletes a CustomJob.

Parameters
NameDescription
nameCustomJobName

Required. The name of the CustomJob resource to be deleted. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CustomJobName name = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteCustomJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteCustomJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCustomJobAsync(DeleteCustomJobRequest, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteCustomJobAsync(DeleteCustomJobRequest request, CallSettings callSettings = null)

Deletes a CustomJob.

Parameters
NameDescription
requestDeleteCustomJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteCustomJobRequest request = new DeleteCustomJobRequest
{
    CustomJobName = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteCustomJobAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteCustomJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCustomJobAsync(DeleteCustomJobRequest, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteCustomJobAsync(DeleteCustomJobRequest request, CancellationToken cancellationToken)

Deletes a CustomJob.

Parameters
NameDescription
requestDeleteCustomJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteCustomJobRequest request = new DeleteCustomJobRequest
{
    CustomJobName = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteCustomJobAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteCustomJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCustomJobAsync(String, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteCustomJobAsync(string name, CallSettings callSettings = null)

Deletes a CustomJob.

Parameters
NameDescription
nameString

Required. The name of the CustomJob resource to be deleted. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customJobs/[CUSTOM_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteCustomJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteCustomJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCustomJobAsync(String, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteCustomJobAsync(string name, CancellationToken cancellationToken)

Deletes a CustomJob.

Parameters
NameDescription
nameString

Required. The name of the CustomJob resource to be deleted. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customJobs/[CUSTOM_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteCustomJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteCustomJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDataLabelingJob(DataLabelingJobName, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteDataLabelingJob(DataLabelingJobName name, CallSettings callSettings = null)

Deletes a DataLabelingJob.

Parameters
NameDescription
nameDataLabelingJobName

Required. The name of the DataLabelingJob to be deleted. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
DataLabelingJobName name = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteDataLabelingJob(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteDataLabelingJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDataLabelingJob(DeleteDataLabelingJobRequest, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteDataLabelingJob(DeleteDataLabelingJobRequest request, CallSettings callSettings = null)

Deletes a DataLabelingJob.

Parameters
NameDescription
requestDeleteDataLabelingJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
DeleteDataLabelingJobRequest request = new DeleteDataLabelingJobRequest
{
    DataLabelingJobName = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteDataLabelingJob(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteDataLabelingJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDataLabelingJob(String, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteDataLabelingJob(string name, CallSettings callSettings = null)

Deletes a DataLabelingJob.

Parameters
NameDescription
nameString

Required. The name of the DataLabelingJob to be deleted. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataLabelingJobs/[DATA_LABELING_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteDataLabelingJob(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteDataLabelingJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDataLabelingJobAsync(DataLabelingJobName, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteDataLabelingJobAsync(DataLabelingJobName name, CallSettings callSettings = null)

Deletes a DataLabelingJob.

Parameters
NameDescription
nameDataLabelingJobName

Required. The name of the DataLabelingJob to be deleted. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DataLabelingJobName name = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteDataLabelingJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteDataLabelingJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDataLabelingJobAsync(DataLabelingJobName, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteDataLabelingJobAsync(DataLabelingJobName name, CancellationToken cancellationToken)

Deletes a DataLabelingJob.

Parameters
NameDescription
nameDataLabelingJobName

Required. The name of the DataLabelingJob to be deleted. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DataLabelingJobName name = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteDataLabelingJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteDataLabelingJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDataLabelingJobAsync(DeleteDataLabelingJobRequest, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteDataLabelingJobAsync(DeleteDataLabelingJobRequest request, CallSettings callSettings = null)

Deletes a DataLabelingJob.

Parameters
NameDescription
requestDeleteDataLabelingJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteDataLabelingJobRequest request = new DeleteDataLabelingJobRequest
{
    DataLabelingJobName = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteDataLabelingJobAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteDataLabelingJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDataLabelingJobAsync(DeleteDataLabelingJobRequest, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteDataLabelingJobAsync(DeleteDataLabelingJobRequest request, CancellationToken cancellationToken)

Deletes a DataLabelingJob.

Parameters
NameDescription
requestDeleteDataLabelingJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteDataLabelingJobRequest request = new DeleteDataLabelingJobRequest
{
    DataLabelingJobName = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteDataLabelingJobAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteDataLabelingJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDataLabelingJobAsync(String, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteDataLabelingJobAsync(string name, CallSettings callSettings = null)

Deletes a DataLabelingJob.

Parameters
NameDescription
nameString

Required. The name of the DataLabelingJob to be deleted. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataLabelingJobs/[DATA_LABELING_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteDataLabelingJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteDataLabelingJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteDataLabelingJobAsync(String, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteDataLabelingJobAsync(string name, CancellationToken cancellationToken)

Deletes a DataLabelingJob.

Parameters
NameDescription
nameString

Required. The name of the DataLabelingJob to be deleted. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataLabelingJobs/[DATA_LABELING_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteDataLabelingJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteDataLabelingJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteHyperparameterTuningJob(DeleteHyperparameterTuningJobRequest, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteHyperparameterTuningJob(DeleteHyperparameterTuningJobRequest request, CallSettings callSettings = null)

Deletes a HyperparameterTuningJob.

Parameters
NameDescription
requestDeleteHyperparameterTuningJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
DeleteHyperparameterTuningJobRequest request = new DeleteHyperparameterTuningJobRequest
{
    HyperparameterTuningJobName = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteHyperparameterTuningJob(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteHyperparameterTuningJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteHyperparameterTuningJob(HyperparameterTuningJobName, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteHyperparameterTuningJob(HyperparameterTuningJobName name, CallSettings callSettings = null)

Deletes a HyperparameterTuningJob.

Parameters
NameDescription
nameHyperparameterTuningJobName

Required. The name of the HyperparameterTuningJob resource to be deleted. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
HyperparameterTuningJobName name = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteHyperparameterTuningJob(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteHyperparameterTuningJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteHyperparameterTuningJob(String, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteHyperparameterTuningJob(string name, CallSettings callSettings = null)

Deletes a HyperparameterTuningJob.

Parameters
NameDescription
nameString

Required. The name of the HyperparameterTuningJob resource to be deleted. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/hyperparameterTuningJobs/[HYPERPARAMETER_TUNING_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteHyperparameterTuningJob(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteHyperparameterTuningJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteHyperparameterTuningJobAsync(DeleteHyperparameterTuningJobRequest, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteHyperparameterTuningJobAsync(DeleteHyperparameterTuningJobRequest request, CallSettings callSettings = null)

Deletes a HyperparameterTuningJob.

Parameters
NameDescription
requestDeleteHyperparameterTuningJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteHyperparameterTuningJobRequest request = new DeleteHyperparameterTuningJobRequest
{
    HyperparameterTuningJobName = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteHyperparameterTuningJobAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteHyperparameterTuningJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteHyperparameterTuningJobAsync(DeleteHyperparameterTuningJobRequest, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteHyperparameterTuningJobAsync(DeleteHyperparameterTuningJobRequest request, CancellationToken cancellationToken)

Deletes a HyperparameterTuningJob.

Parameters
NameDescription
requestDeleteHyperparameterTuningJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteHyperparameterTuningJobRequest request = new DeleteHyperparameterTuningJobRequest
{
    HyperparameterTuningJobName = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteHyperparameterTuningJobAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteHyperparameterTuningJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteHyperparameterTuningJobAsync(HyperparameterTuningJobName, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteHyperparameterTuningJobAsync(HyperparameterTuningJobName name, CallSettings callSettings = null)

Deletes a HyperparameterTuningJob.

Parameters
NameDescription
nameHyperparameterTuningJobName

Required. The name of the HyperparameterTuningJob resource to be deleted. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
HyperparameterTuningJobName name = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteHyperparameterTuningJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteHyperparameterTuningJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteHyperparameterTuningJobAsync(HyperparameterTuningJobName, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteHyperparameterTuningJobAsync(HyperparameterTuningJobName name, CancellationToken cancellationToken)

Deletes a HyperparameterTuningJob.

Parameters
NameDescription
nameHyperparameterTuningJobName

Required. The name of the HyperparameterTuningJob resource to be deleted. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
HyperparameterTuningJobName name = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteHyperparameterTuningJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteHyperparameterTuningJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteHyperparameterTuningJobAsync(String, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteHyperparameterTuningJobAsync(string name, CallSettings callSettings = null)

Deletes a HyperparameterTuningJob.

Parameters
NameDescription
nameString

Required. The name of the HyperparameterTuningJob resource to be deleted. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/hyperparameterTuningJobs/[HYPERPARAMETER_TUNING_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteHyperparameterTuningJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteHyperparameterTuningJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteHyperparameterTuningJobAsync(String, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteHyperparameterTuningJobAsync(string name, CancellationToken cancellationToken)

Deletes a HyperparameterTuningJob.

Parameters
NameDescription
nameString

Required. The name of the HyperparameterTuningJob resource to be deleted. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/hyperparameterTuningJobs/[HYPERPARAMETER_TUNING_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteHyperparameterTuningJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteHyperparameterTuningJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteModelDeploymentMonitoringJob(DeleteModelDeploymentMonitoringJobRequest, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteModelDeploymentMonitoringJob(DeleteModelDeploymentMonitoringJobRequest request, CallSettings callSettings = null)

Deletes a ModelDeploymentMonitoringJob.

Parameters
NameDescription
requestDeleteModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
DeleteModelDeploymentMonitoringJobRequest request = new DeleteModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJobName = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteModelDeploymentMonitoringJob(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteModelDeploymentMonitoringJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name, CallSettings callSettings = null)

Deletes a ModelDeploymentMonitoringJob.

Parameters
NameDescription
nameModelDeploymentMonitoringJobName

Required. The resource name of the model monitoring job to delete. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
ModelDeploymentMonitoringJobName name = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteModelDeploymentMonitoringJob(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteModelDeploymentMonitoringJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteModelDeploymentMonitoringJob(String, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> DeleteModelDeploymentMonitoringJob(string name, CallSettings callSettings = null)

Deletes a ModelDeploymentMonitoringJob.

Parameters
NameDescription
nameString

Required. The resource name of the model monitoring job to delete. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/modelDeploymentMonitoringJobs/[MODEL_DEPLOYMENT_MONITORING_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = jobServiceClient.DeleteModelDeploymentMonitoringJob(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = jobServiceClient.PollOnceDeleteModelDeploymentMonitoringJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteModelDeploymentMonitoringJobAsync(DeleteModelDeploymentMonitoringJobRequest, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteModelDeploymentMonitoringJobAsync(DeleteModelDeploymentMonitoringJobRequest request, CallSettings callSettings = null)

Deletes a ModelDeploymentMonitoringJob.

Parameters
NameDescription
requestDeleteModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteModelDeploymentMonitoringJobRequest request = new DeleteModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJobName = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteModelDeploymentMonitoringJobAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteModelDeploymentMonitoringJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteModelDeploymentMonitoringJobAsync(DeleteModelDeploymentMonitoringJobRequest, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteModelDeploymentMonitoringJobAsync(DeleteModelDeploymentMonitoringJobRequest request, CancellationToken cancellationToken)

Deletes a ModelDeploymentMonitoringJob.

Parameters
NameDescription
requestDeleteModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteModelDeploymentMonitoringJobRequest request = new DeleteModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJobName = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]"),
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteModelDeploymentMonitoringJobAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteModelDeploymentMonitoringJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName name, CallSettings callSettings = null)

Deletes a ModelDeploymentMonitoringJob.

Parameters
NameDescription
nameModelDeploymentMonitoringJobName

Required. The resource name of the model monitoring job to delete. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ModelDeploymentMonitoringJobName name = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteModelDeploymentMonitoringJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteModelDeploymentMonitoringJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName name, CancellationToken cancellationToken)

Deletes a ModelDeploymentMonitoringJob.

Parameters
NameDescription
nameModelDeploymentMonitoringJobName

Required. The resource name of the model monitoring job to delete. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ModelDeploymentMonitoringJobName name = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteModelDeploymentMonitoringJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteModelDeploymentMonitoringJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteModelDeploymentMonitoringJobAsync(String, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteModelDeploymentMonitoringJobAsync(string name, CallSettings callSettings = null)

Deletes a ModelDeploymentMonitoringJob.

Parameters
NameDescription
nameString

Required. The resource name of the model monitoring job to delete. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/modelDeploymentMonitoringJobs/[MODEL_DEPLOYMENT_MONITORING_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteModelDeploymentMonitoringJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteModelDeploymentMonitoringJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteModelDeploymentMonitoringJobAsync(String, CancellationToken)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteModelDeploymentMonitoringJobAsync(string name, CancellationToken cancellationToken)

Deletes a ModelDeploymentMonitoringJob.

Parameters
NameDescription
nameString

Required. The resource name of the model monitoring job to delete. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/modelDeploymentMonitoringJobs/[MODEL_DEPLOYMENT_MONITORING_JOB]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await jobServiceClient.DeleteModelDeploymentMonitoringJobAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, DeleteOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceDeleteModelDeploymentMonitoringJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

GetBatchPredictionJob(BatchPredictionJobName, CallSettings)

public virtual BatchPredictionJob GetBatchPredictionJob(BatchPredictionJobName name, CallSettings callSettings = null)

Gets a BatchPredictionJob

Parameters
NameDescription
nameBatchPredictionJobName

Required. The name of the BatchPredictionJob resource. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BatchPredictionJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
BatchPredictionJobName name = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]");
// Make the request
BatchPredictionJob response = jobServiceClient.GetBatchPredictionJob(name);

GetBatchPredictionJob(GetBatchPredictionJobRequest, CallSettings)

public virtual BatchPredictionJob GetBatchPredictionJob(GetBatchPredictionJobRequest request, CallSettings callSettings = null)

Gets a BatchPredictionJob

Parameters
NameDescription
requestGetBatchPredictionJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BatchPredictionJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
GetBatchPredictionJobRequest request = new GetBatchPredictionJobRequest
{
    BatchPredictionJobName = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]"),
};
// Make the request
BatchPredictionJob response = jobServiceClient.GetBatchPredictionJob(request);

GetBatchPredictionJob(String, CallSettings)

public virtual BatchPredictionJob GetBatchPredictionJob(string name, CallSettings callSettings = null)

Gets a BatchPredictionJob

Parameters
NameDescription
nameString

Required. The name of the BatchPredictionJob resource. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BatchPredictionJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/batchPredictionJobs/[BATCH_PREDICTION_JOB]";
// Make the request
BatchPredictionJob response = jobServiceClient.GetBatchPredictionJob(name);

GetBatchPredictionJobAsync(BatchPredictionJobName, CallSettings)

public virtual Task<BatchPredictionJob> GetBatchPredictionJobAsync(BatchPredictionJobName name, CallSettings callSettings = null)

Gets a BatchPredictionJob

Parameters
NameDescription
nameBatchPredictionJobName

Required. The name of the BatchPredictionJob resource. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<BatchPredictionJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
BatchPredictionJobName name = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]");
// Make the request
BatchPredictionJob response = await jobServiceClient.GetBatchPredictionJobAsync(name);

GetBatchPredictionJobAsync(BatchPredictionJobName, CancellationToken)

public virtual Task<BatchPredictionJob> GetBatchPredictionJobAsync(BatchPredictionJobName name, CancellationToken cancellationToken)

Gets a BatchPredictionJob

Parameters
NameDescription
nameBatchPredictionJobName

Required. The name of the BatchPredictionJob resource. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<BatchPredictionJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
BatchPredictionJobName name = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]");
// Make the request
BatchPredictionJob response = await jobServiceClient.GetBatchPredictionJobAsync(name);

GetBatchPredictionJobAsync(GetBatchPredictionJobRequest, CallSettings)

public virtual Task<BatchPredictionJob> GetBatchPredictionJobAsync(GetBatchPredictionJobRequest request, CallSettings callSettings = null)

Gets a BatchPredictionJob

Parameters
NameDescription
requestGetBatchPredictionJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<BatchPredictionJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
GetBatchPredictionJobRequest request = new GetBatchPredictionJobRequest
{
    BatchPredictionJobName = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]"),
};
// Make the request
BatchPredictionJob response = await jobServiceClient.GetBatchPredictionJobAsync(request);

GetBatchPredictionJobAsync(GetBatchPredictionJobRequest, CancellationToken)

public virtual Task<BatchPredictionJob> GetBatchPredictionJobAsync(GetBatchPredictionJobRequest request, CancellationToken cancellationToken)

Gets a BatchPredictionJob

Parameters
NameDescription
requestGetBatchPredictionJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<BatchPredictionJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
GetBatchPredictionJobRequest request = new GetBatchPredictionJobRequest
{
    BatchPredictionJobName = BatchPredictionJobName.FromProjectLocationBatchPredictionJob("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]"),
};
// Make the request
BatchPredictionJob response = await jobServiceClient.GetBatchPredictionJobAsync(request);

GetBatchPredictionJobAsync(String, CallSettings)

public virtual Task<BatchPredictionJob> GetBatchPredictionJobAsync(string name, CallSettings callSettings = null)

Gets a BatchPredictionJob

Parameters
NameDescription
nameString

Required. The name of the BatchPredictionJob resource. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<BatchPredictionJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/batchPredictionJobs/[BATCH_PREDICTION_JOB]";
// Make the request
BatchPredictionJob response = await jobServiceClient.GetBatchPredictionJobAsync(name);

GetBatchPredictionJobAsync(String, CancellationToken)

public virtual Task<BatchPredictionJob> GetBatchPredictionJobAsync(string name, CancellationToken cancellationToken)

Gets a BatchPredictionJob

Parameters
NameDescription
nameString

Required. The name of the BatchPredictionJob resource. Format: projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<BatchPredictionJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/batchPredictionJobs/[BATCH_PREDICTION_JOB]";
// Make the request
BatchPredictionJob response = await jobServiceClient.GetBatchPredictionJobAsync(name);

GetCustomJob(CustomJobName, CallSettings)

public virtual CustomJob GetCustomJob(CustomJobName name, CallSettings callSettings = null)

Gets a CustomJob.

Parameters
NameDescription
nameCustomJobName

Required. The name of the CustomJob resource. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CustomJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
CustomJobName name = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]");
// Make the request
CustomJob response = jobServiceClient.GetCustomJob(name);

GetCustomJob(GetCustomJobRequest, CallSettings)

public virtual CustomJob GetCustomJob(GetCustomJobRequest request, CallSettings callSettings = null)

Gets a CustomJob.

Parameters
NameDescription
requestGetCustomJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CustomJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
GetCustomJobRequest request = new GetCustomJobRequest
{
    CustomJobName = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]"),
};
// Make the request
CustomJob response = jobServiceClient.GetCustomJob(request);

GetCustomJob(String, CallSettings)

public virtual CustomJob GetCustomJob(string name, CallSettings callSettings = null)

Gets a CustomJob.

Parameters
NameDescription
nameString

Required. The name of the CustomJob resource. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CustomJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customJobs/[CUSTOM_JOB]";
// Make the request
CustomJob response = jobServiceClient.GetCustomJob(name);

GetCustomJobAsync(CustomJobName, CallSettings)

public virtual Task<CustomJob> GetCustomJobAsync(CustomJobName name, CallSettings callSettings = null)

Gets a CustomJob.

Parameters
NameDescription
nameCustomJobName

Required. The name of the CustomJob resource. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<CustomJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CustomJobName name = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]");
// Make the request
CustomJob response = await jobServiceClient.GetCustomJobAsync(name);

GetCustomJobAsync(CustomJobName, CancellationToken)

public virtual Task<CustomJob> GetCustomJobAsync(CustomJobName name, CancellationToken cancellationToken)

Gets a CustomJob.

Parameters
NameDescription
nameCustomJobName

Required. The name of the CustomJob resource. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<CustomJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
CustomJobName name = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]");
// Make the request
CustomJob response = await jobServiceClient.GetCustomJobAsync(name);

GetCustomJobAsync(GetCustomJobRequest, CallSettings)

public virtual Task<CustomJob> GetCustomJobAsync(GetCustomJobRequest request, CallSettings callSettings = null)

Gets a CustomJob.

Parameters
NameDescription
requestGetCustomJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<CustomJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
GetCustomJobRequest request = new GetCustomJobRequest
{
    CustomJobName = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]"),
};
// Make the request
CustomJob response = await jobServiceClient.GetCustomJobAsync(request);

GetCustomJobAsync(GetCustomJobRequest, CancellationToken)

public virtual Task<CustomJob> GetCustomJobAsync(GetCustomJobRequest request, CancellationToken cancellationToken)

Gets a CustomJob.

Parameters
NameDescription
requestGetCustomJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<CustomJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
GetCustomJobRequest request = new GetCustomJobRequest
{
    CustomJobName = CustomJobName.FromProjectLocationCustomJob("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]"),
};
// Make the request
CustomJob response = await jobServiceClient.GetCustomJobAsync(request);

GetCustomJobAsync(String, CallSettings)

public virtual Task<CustomJob> GetCustomJobAsync(string name, CallSettings callSettings = null)

Gets a CustomJob.

Parameters
NameDescription
nameString

Required. The name of the CustomJob resource. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<CustomJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customJobs/[CUSTOM_JOB]";
// Make the request
CustomJob response = await jobServiceClient.GetCustomJobAsync(name);

GetCustomJobAsync(String, CancellationToken)

public virtual Task<CustomJob> GetCustomJobAsync(string name, CancellationToken cancellationToken)

Gets a CustomJob.

Parameters
NameDescription
nameString

Required. The name of the CustomJob resource. Format: projects/{project}/locations/{location}/customJobs/{custom_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<CustomJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/customJobs/[CUSTOM_JOB]";
// Make the request
CustomJob response = await jobServiceClient.GetCustomJobAsync(name);

GetDataLabelingJob(DataLabelingJobName, CallSettings)

public virtual DataLabelingJob GetDataLabelingJob(DataLabelingJobName name, CallSettings callSettings = null)

Gets a DataLabelingJob.

Parameters
NameDescription
nameDataLabelingJobName

Required. The name of the DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DataLabelingJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
DataLabelingJobName name = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]");
// Make the request
DataLabelingJob response = jobServiceClient.GetDataLabelingJob(name);

GetDataLabelingJob(GetDataLabelingJobRequest, CallSettings)

public virtual DataLabelingJob GetDataLabelingJob(GetDataLabelingJobRequest request, CallSettings callSettings = null)

Gets a DataLabelingJob.

Parameters
NameDescription
requestGetDataLabelingJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DataLabelingJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
GetDataLabelingJobRequest request = new GetDataLabelingJobRequest
{
    DataLabelingJobName = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]"),
};
// Make the request
DataLabelingJob response = jobServiceClient.GetDataLabelingJob(request);

GetDataLabelingJob(String, CallSettings)

public virtual DataLabelingJob GetDataLabelingJob(string name, CallSettings callSettings = null)

Gets a DataLabelingJob.

Parameters
NameDescription
nameString

Required. The name of the DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DataLabelingJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataLabelingJobs/[DATA_LABELING_JOB]";
// Make the request
DataLabelingJob response = jobServiceClient.GetDataLabelingJob(name);

GetDataLabelingJobAsync(DataLabelingJobName, CallSettings)

public virtual Task<DataLabelingJob> GetDataLabelingJobAsync(DataLabelingJobName name, CallSettings callSettings = null)

Gets a DataLabelingJob.

Parameters
NameDescription
nameDataLabelingJobName

Required. The name of the DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<DataLabelingJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DataLabelingJobName name = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]");
// Make the request
DataLabelingJob response = await jobServiceClient.GetDataLabelingJobAsync(name);

GetDataLabelingJobAsync(DataLabelingJobName, CancellationToken)

public virtual Task<DataLabelingJob> GetDataLabelingJobAsync(DataLabelingJobName name, CancellationToken cancellationToken)

Gets a DataLabelingJob.

Parameters
NameDescription
nameDataLabelingJobName

Required. The name of the DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<DataLabelingJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
DataLabelingJobName name = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]");
// Make the request
DataLabelingJob response = await jobServiceClient.GetDataLabelingJobAsync(name);

GetDataLabelingJobAsync(GetDataLabelingJobRequest, CallSettings)

public virtual Task<DataLabelingJob> GetDataLabelingJobAsync(GetDataLabelingJobRequest request, CallSettings callSettings = null)

Gets a DataLabelingJob.

Parameters
NameDescription
requestGetDataLabelingJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<DataLabelingJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
GetDataLabelingJobRequest request = new GetDataLabelingJobRequest
{
    DataLabelingJobName = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]"),
};
// Make the request
DataLabelingJob response = await jobServiceClient.GetDataLabelingJobAsync(request);

GetDataLabelingJobAsync(GetDataLabelingJobRequest, CancellationToken)

public virtual Task<DataLabelingJob> GetDataLabelingJobAsync(GetDataLabelingJobRequest request, CancellationToken cancellationToken)

Gets a DataLabelingJob.

Parameters
NameDescription
requestGetDataLabelingJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<DataLabelingJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
GetDataLabelingJobRequest request = new GetDataLabelingJobRequest
{
    DataLabelingJobName = DataLabelingJobName.FromProjectLocationDataLabelingJob("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]"),
};
// Make the request
DataLabelingJob response = await jobServiceClient.GetDataLabelingJobAsync(request);

GetDataLabelingJobAsync(String, CallSettings)

public virtual Task<DataLabelingJob> GetDataLabelingJobAsync(string name, CallSettings callSettings = null)

Gets a DataLabelingJob.

Parameters
NameDescription
nameString

Required. The name of the DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<DataLabelingJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataLabelingJobs/[DATA_LABELING_JOB]";
// Make the request
DataLabelingJob response = await jobServiceClient.GetDataLabelingJobAsync(name);

GetDataLabelingJobAsync(String, CancellationToken)

public virtual Task<DataLabelingJob> GetDataLabelingJobAsync(string name, CancellationToken cancellationToken)

Gets a DataLabelingJob.

Parameters
NameDescription
nameString

Required. The name of the DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<DataLabelingJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dataLabelingJobs/[DATA_LABELING_JOB]";
// Make the request
DataLabelingJob response = await jobServiceClient.GetDataLabelingJobAsync(name);

GetHyperparameterTuningJob(GetHyperparameterTuningJobRequest, CallSettings)

public virtual HyperparameterTuningJob GetHyperparameterTuningJob(GetHyperparameterTuningJobRequest request, CallSettings callSettings = null)

Gets a HyperparameterTuningJob

Parameters
NameDescription
requestGetHyperparameterTuningJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
HyperparameterTuningJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
GetHyperparameterTuningJobRequest request = new GetHyperparameterTuningJobRequest
{
    HyperparameterTuningJobName = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]"),
};
// Make the request
HyperparameterTuningJob response = jobServiceClient.GetHyperparameterTuningJob(request);

GetHyperparameterTuningJob(HyperparameterTuningJobName, CallSettings)

public virtual HyperparameterTuningJob GetHyperparameterTuningJob(HyperparameterTuningJobName name, CallSettings callSettings = null)

Gets a HyperparameterTuningJob

Parameters
NameDescription
nameHyperparameterTuningJobName

Required. The name of the HyperparameterTuningJob resource. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
HyperparameterTuningJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
HyperparameterTuningJobName name = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]");
// Make the request
HyperparameterTuningJob response = jobServiceClient.GetHyperparameterTuningJob(name);

GetHyperparameterTuningJob(String, CallSettings)

public virtual HyperparameterTuningJob GetHyperparameterTuningJob(string name, CallSettings callSettings = null)

Gets a HyperparameterTuningJob

Parameters
NameDescription
nameString

Required. The name of the HyperparameterTuningJob resource. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
HyperparameterTuningJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/hyperparameterTuningJobs/[HYPERPARAMETER_TUNING_JOB]";
// Make the request
HyperparameterTuningJob response = jobServiceClient.GetHyperparameterTuningJob(name);

GetHyperparameterTuningJobAsync(GetHyperparameterTuningJobRequest, CallSettings)

public virtual Task<HyperparameterTuningJob> GetHyperparameterTuningJobAsync(GetHyperparameterTuningJobRequest request, CallSettings callSettings = null)

Gets a HyperparameterTuningJob

Parameters
NameDescription
requestGetHyperparameterTuningJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<HyperparameterTuningJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
GetHyperparameterTuningJobRequest request = new GetHyperparameterTuningJobRequest
{
    HyperparameterTuningJobName = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]"),
};
// Make the request
HyperparameterTuningJob response = await jobServiceClient.GetHyperparameterTuningJobAsync(request);

GetHyperparameterTuningJobAsync(GetHyperparameterTuningJobRequest, CancellationToken)

public virtual Task<HyperparameterTuningJob> GetHyperparameterTuningJobAsync(GetHyperparameterTuningJobRequest request, CancellationToken cancellationToken)

Gets a HyperparameterTuningJob

Parameters
NameDescription
requestGetHyperparameterTuningJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<HyperparameterTuningJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
GetHyperparameterTuningJobRequest request = new GetHyperparameterTuningJobRequest
{
    HyperparameterTuningJobName = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]"),
};
// Make the request
HyperparameterTuningJob response = await jobServiceClient.GetHyperparameterTuningJobAsync(request);

GetHyperparameterTuningJobAsync(HyperparameterTuningJobName, CallSettings)

public virtual Task<HyperparameterTuningJob> GetHyperparameterTuningJobAsync(HyperparameterTuningJobName name, CallSettings callSettings = null)

Gets a HyperparameterTuningJob

Parameters
NameDescription
nameHyperparameterTuningJobName

Required. The name of the HyperparameterTuningJob resource. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<HyperparameterTuningJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
HyperparameterTuningJobName name = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]");
// Make the request
HyperparameterTuningJob response = await jobServiceClient.GetHyperparameterTuningJobAsync(name);

GetHyperparameterTuningJobAsync(HyperparameterTuningJobName, CancellationToken)

public virtual Task<HyperparameterTuningJob> GetHyperparameterTuningJobAsync(HyperparameterTuningJobName name, CancellationToken cancellationToken)

Gets a HyperparameterTuningJob

Parameters
NameDescription
nameHyperparameterTuningJobName

Required. The name of the HyperparameterTuningJob resource. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<HyperparameterTuningJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
HyperparameterTuningJobName name = HyperparameterTuningJobName.FromProjectLocationHyperparameterTuningJob("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]");
// Make the request
HyperparameterTuningJob response = await jobServiceClient.GetHyperparameterTuningJobAsync(name);

GetHyperparameterTuningJobAsync(String, CallSettings)

public virtual Task<HyperparameterTuningJob> GetHyperparameterTuningJobAsync(string name, CallSettings callSettings = null)

Gets a HyperparameterTuningJob

Parameters
NameDescription
nameString

Required. The name of the HyperparameterTuningJob resource. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<HyperparameterTuningJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/hyperparameterTuningJobs/[HYPERPARAMETER_TUNING_JOB]";
// Make the request
HyperparameterTuningJob response = await jobServiceClient.GetHyperparameterTuningJobAsync(name);

GetHyperparameterTuningJobAsync(String, CancellationToken)

public virtual Task<HyperparameterTuningJob> GetHyperparameterTuningJobAsync(string name, CancellationToken cancellationToken)

Gets a HyperparameterTuningJob

Parameters
NameDescription
nameString

Required. The name of the HyperparameterTuningJob resource. Format: projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<HyperparameterTuningJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/hyperparameterTuningJobs/[HYPERPARAMETER_TUNING_JOB]";
// Make the request
HyperparameterTuningJob response = await jobServiceClient.GetHyperparameterTuningJobAsync(name);

GetModelDeploymentMonitoringJob(GetModelDeploymentMonitoringJobRequest, CallSettings)

public virtual ModelDeploymentMonitoringJob GetModelDeploymentMonitoringJob(GetModelDeploymentMonitoringJobRequest request, CallSettings callSettings = null)

Gets a ModelDeploymentMonitoringJob.

Parameters
NameDescription
requestGetModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ModelDeploymentMonitoringJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
GetModelDeploymentMonitoringJobRequest request = new GetModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJobName = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]"),
};
// Make the request
ModelDeploymentMonitoringJob response = jobServiceClient.GetModelDeploymentMonitoringJob(request);

GetModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName, CallSettings)

public virtual ModelDeploymentMonitoringJob GetModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name, CallSettings callSettings = null)

Gets a ModelDeploymentMonitoringJob.

Parameters
NameDescription
nameModelDeploymentMonitoringJobName

Required. The resource name of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ModelDeploymentMonitoringJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
ModelDeploymentMonitoringJobName name = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]");
// Make the request
ModelDeploymentMonitoringJob response = jobServiceClient.GetModelDeploymentMonitoringJob(name);

GetModelDeploymentMonitoringJob(String, CallSettings)

public virtual ModelDeploymentMonitoringJob GetModelDeploymentMonitoringJob(string name, CallSettings callSettings = null)

Gets a ModelDeploymentMonitoringJob.

Parameters
NameDescription
nameString

Required. The resource name of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ModelDeploymentMonitoringJob

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/modelDeploymentMonitoringJobs/[MODEL_DEPLOYMENT_MONITORING_JOB]";
// Make the request
ModelDeploymentMonitoringJob response = jobServiceClient.GetModelDeploymentMonitoringJob(name);

GetModelDeploymentMonitoringJobAsync(GetModelDeploymentMonitoringJobRequest, CallSettings)

public virtual Task<ModelDeploymentMonitoringJob> GetModelDeploymentMonitoringJobAsync(GetModelDeploymentMonitoringJobRequest request, CallSettings callSettings = null)

Gets a ModelDeploymentMonitoringJob.

Parameters
NameDescription
requestGetModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ModelDeploymentMonitoringJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
GetModelDeploymentMonitoringJobRequest request = new GetModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJobName = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]"),
};
// Make the request
ModelDeploymentMonitoringJob response = await jobServiceClient.GetModelDeploymentMonitoringJobAsync(request);

GetModelDeploymentMonitoringJobAsync(GetModelDeploymentMonitoringJobRequest, CancellationToken)

public virtual Task<ModelDeploymentMonitoringJob> GetModelDeploymentMonitoringJobAsync(GetModelDeploymentMonitoringJobRequest request, CancellationToken cancellationToken)

Gets a ModelDeploymentMonitoringJob.

Parameters
NameDescription
requestGetModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<ModelDeploymentMonitoringJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
GetModelDeploymentMonitoringJobRequest request = new GetModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJobName = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]"),
};
// Make the request
ModelDeploymentMonitoringJob response = await jobServiceClient.GetModelDeploymentMonitoringJobAsync(request);

GetModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName, CallSettings)

public virtual Task<ModelDeploymentMonitoringJob> GetModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName name, CallSettings callSettings = null)

Gets a ModelDeploymentMonitoringJob.

Parameters
NameDescription
nameModelDeploymentMonitoringJobName

Required. The resource name of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ModelDeploymentMonitoringJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ModelDeploymentMonitoringJobName name = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]");
// Make the request
ModelDeploymentMonitoringJob response = await jobServiceClient.GetModelDeploymentMonitoringJobAsync(name);

GetModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName, CancellationToken)

public virtual Task<ModelDeploymentMonitoringJob> GetModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName name, CancellationToken cancellationToken)

Gets a ModelDeploymentMonitoringJob.

Parameters
NameDescription
nameModelDeploymentMonitoringJobName

Required. The resource name of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<ModelDeploymentMonitoringJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ModelDeploymentMonitoringJobName name = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]");
// Make the request
ModelDeploymentMonitoringJob response = await jobServiceClient.GetModelDeploymentMonitoringJobAsync(name);

GetModelDeploymentMonitoringJobAsync(String, CallSettings)

public virtual Task<ModelDeploymentMonitoringJob> GetModelDeploymentMonitoringJobAsync(string name, CallSettings callSettings = null)

Gets a ModelDeploymentMonitoringJob.

Parameters
NameDescription
nameString

Required. The resource name of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ModelDeploymentMonitoringJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/modelDeploymentMonitoringJobs/[MODEL_DEPLOYMENT_MONITORING_JOB]";
// Make the request
ModelDeploymentMonitoringJob response = await jobServiceClient.GetModelDeploymentMonitoringJobAsync(name);

GetModelDeploymentMonitoringJobAsync(String, CancellationToken)

public virtual Task<ModelDeploymentMonitoringJob> GetModelDeploymentMonitoringJobAsync(string name, CancellationToken cancellationToken)

Gets a ModelDeploymentMonitoringJob.

Parameters
NameDescription
nameString

Required. The resource name of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<ModelDeploymentMonitoringJob>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/modelDeploymentMonitoringJobs/[MODEL_DEPLOYMENT_MONITORING_JOB]";
// Make the request
ModelDeploymentMonitoringJob response = await jobServiceClient.GetModelDeploymentMonitoringJobAsync(name);

ListBatchPredictionJobs(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob> ListBatchPredictionJobs(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists BatchPredictionJobs in a Location.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to list the BatchPredictionJobs from. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob>

A pageable sequence of BatchPredictionJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob> response = jobServiceClient.ListBatchPredictionJobs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (BatchPredictionJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListBatchPredictionJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (BatchPredictionJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<BatchPredictionJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (BatchPredictionJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListBatchPredictionJobs(ListBatchPredictionJobsRequest, CallSettings)

public virtual PagedEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob> ListBatchPredictionJobs(ListBatchPredictionJobsRequest request, CallSettings callSettings = null)

Lists BatchPredictionJobs in a Location.

Parameters
NameDescription
requestListBatchPredictionJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob>

A pageable sequence of BatchPredictionJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
ListBatchPredictionJobsRequest request = new ListBatchPredictionJobsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    ReadMask = new FieldMask(),
};
// Make the request
PagedEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob> response = jobServiceClient.ListBatchPredictionJobs(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (BatchPredictionJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListBatchPredictionJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (BatchPredictionJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<BatchPredictionJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (BatchPredictionJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListBatchPredictionJobs(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob> ListBatchPredictionJobs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists BatchPredictionJobs in a Location.

Parameters
NameDescription
parentString

Required. The resource name of the Location to list the BatchPredictionJobs from. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob>

A pageable sequence of BatchPredictionJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob> response = jobServiceClient.ListBatchPredictionJobs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (BatchPredictionJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListBatchPredictionJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (BatchPredictionJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<BatchPredictionJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (BatchPredictionJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListBatchPredictionJobsAsync(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob> ListBatchPredictionJobsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists BatchPredictionJobs in a Location.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to list the BatchPredictionJobs from. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob>

A pageable asynchronous sequence of BatchPredictionJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob> response = jobServiceClient.ListBatchPredictionJobsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((BatchPredictionJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListBatchPredictionJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (BatchPredictionJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<BatchPredictionJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (BatchPredictionJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListBatchPredictionJobsAsync(ListBatchPredictionJobsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob> ListBatchPredictionJobsAsync(ListBatchPredictionJobsRequest request, CallSettings callSettings = null)

Lists BatchPredictionJobs in a Location.

Parameters
NameDescription
requestListBatchPredictionJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob>

A pageable asynchronous sequence of BatchPredictionJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ListBatchPredictionJobsRequest request = new ListBatchPredictionJobsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    ReadMask = new FieldMask(),
};
// Make the request
PagedAsyncEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob> response = jobServiceClient.ListBatchPredictionJobsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((BatchPredictionJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListBatchPredictionJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (BatchPredictionJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<BatchPredictionJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (BatchPredictionJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListBatchPredictionJobsAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob> ListBatchPredictionJobsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists BatchPredictionJobs in a Location.

Parameters
NameDescription
parentString

Required. The resource name of the Location to list the BatchPredictionJobs from. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob>

A pageable asynchronous sequence of BatchPredictionJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListBatchPredictionJobsResponse, BatchPredictionJob> response = jobServiceClient.ListBatchPredictionJobsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((BatchPredictionJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListBatchPredictionJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (BatchPredictionJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<BatchPredictionJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (BatchPredictionJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListCustomJobs(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListCustomJobsResponse, CustomJob> ListCustomJobs(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CustomJobs in a Location.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to list the CustomJobs from. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListCustomJobsResponse, CustomJob>

A pageable sequence of CustomJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListCustomJobsResponse, CustomJob> response = jobServiceClient.ListCustomJobs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (CustomJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCustomJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CustomJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListCustomJobs(ListCustomJobsRequest, CallSettings)

public virtual PagedEnumerable<ListCustomJobsResponse, CustomJob> ListCustomJobs(ListCustomJobsRequest request, CallSettings callSettings = null)

Lists CustomJobs in a Location.

Parameters
NameDescription
requestListCustomJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListCustomJobsResponse, CustomJob>

A pageable sequence of CustomJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
ListCustomJobsRequest request = new ListCustomJobsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    ReadMask = new FieldMask(),
};
// Make the request
PagedEnumerable<ListCustomJobsResponse, CustomJob> response = jobServiceClient.ListCustomJobs(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (CustomJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCustomJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CustomJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListCustomJobs(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListCustomJobsResponse, CustomJob> ListCustomJobs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CustomJobs in a Location.

Parameters
NameDescription
parentString

Required. The resource name of the Location to list the CustomJobs from. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListCustomJobsResponse, CustomJob>

A pageable sequence of CustomJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListCustomJobsResponse, CustomJob> response = jobServiceClient.ListCustomJobs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (CustomJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCustomJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CustomJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListCustomJobsAsync(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListCustomJobsResponse, CustomJob> ListCustomJobsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CustomJobs in a Location.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to list the CustomJobs from. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListCustomJobsResponse, CustomJob>

A pageable asynchronous sequence of CustomJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListCustomJobsResponse, CustomJob> response = jobServiceClient.ListCustomJobsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CustomJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCustomJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CustomJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListCustomJobsAsync(ListCustomJobsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListCustomJobsResponse, CustomJob> ListCustomJobsAsync(ListCustomJobsRequest request, CallSettings callSettings = null)

Lists CustomJobs in a Location.

Parameters
NameDescription
requestListCustomJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListCustomJobsResponse, CustomJob>

A pageable asynchronous sequence of CustomJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ListCustomJobsRequest request = new ListCustomJobsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    ReadMask = new FieldMask(),
};
// Make the request
PagedAsyncEnumerable<ListCustomJobsResponse, CustomJob> response = jobServiceClient.ListCustomJobsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CustomJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCustomJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CustomJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListCustomJobsAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListCustomJobsResponse, CustomJob> ListCustomJobsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists CustomJobs in a Location.

Parameters
NameDescription
parentString

Required. The resource name of the Location to list the CustomJobs from. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListCustomJobsResponse, CustomJob>

A pageable asynchronous sequence of CustomJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListCustomJobsResponse, CustomJob> response = jobServiceClient.ListCustomJobsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CustomJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCustomJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (CustomJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListDataLabelingJobs(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListDataLabelingJobsResponse, DataLabelingJob> ListDataLabelingJobs(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DataLabelingJobs in a Location.

Parameters
NameDescription
parentLocationName

Required. The parent of the DataLabelingJob. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListDataLabelingJobsResponse, DataLabelingJob>

A pageable sequence of DataLabelingJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListDataLabelingJobsResponse, DataLabelingJob> response = jobServiceClient.ListDataLabelingJobs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (DataLabelingJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDataLabelingJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DataLabelingJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DataLabelingJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DataLabelingJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListDataLabelingJobs(ListDataLabelingJobsRequest, CallSettings)

public virtual PagedEnumerable<ListDataLabelingJobsResponse, DataLabelingJob> ListDataLabelingJobs(ListDataLabelingJobsRequest request, CallSettings callSettings = null)

Lists DataLabelingJobs in a Location.

Parameters
NameDescription
requestListDataLabelingJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListDataLabelingJobsResponse, DataLabelingJob>

A pageable sequence of DataLabelingJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
ListDataLabelingJobsRequest request = new ListDataLabelingJobsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    ReadMask = new FieldMask(),
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListDataLabelingJobsResponse, DataLabelingJob> response = jobServiceClient.ListDataLabelingJobs(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (DataLabelingJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDataLabelingJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DataLabelingJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DataLabelingJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DataLabelingJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListDataLabelingJobs(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListDataLabelingJobsResponse, DataLabelingJob> ListDataLabelingJobs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DataLabelingJobs in a Location.

Parameters
NameDescription
parentString

Required. The parent of the DataLabelingJob. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListDataLabelingJobsResponse, DataLabelingJob>

A pageable sequence of DataLabelingJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListDataLabelingJobsResponse, DataLabelingJob> response = jobServiceClient.ListDataLabelingJobs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (DataLabelingJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDataLabelingJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DataLabelingJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DataLabelingJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DataLabelingJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListDataLabelingJobsAsync(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListDataLabelingJobsResponse, DataLabelingJob> ListDataLabelingJobsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DataLabelingJobs in a Location.

Parameters
NameDescription
parentLocationName

Required. The parent of the DataLabelingJob. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListDataLabelingJobsResponse, DataLabelingJob>

A pageable asynchronous sequence of DataLabelingJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListDataLabelingJobsResponse, DataLabelingJob> response = jobServiceClient.ListDataLabelingJobsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DataLabelingJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDataLabelingJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DataLabelingJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DataLabelingJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DataLabelingJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListDataLabelingJobsAsync(ListDataLabelingJobsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListDataLabelingJobsResponse, DataLabelingJob> ListDataLabelingJobsAsync(ListDataLabelingJobsRequest request, CallSettings callSettings = null)

Lists DataLabelingJobs in a Location.

Parameters
NameDescription
requestListDataLabelingJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListDataLabelingJobsResponse, DataLabelingJob>

A pageable asynchronous sequence of DataLabelingJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ListDataLabelingJobsRequest request = new ListDataLabelingJobsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    ReadMask = new FieldMask(),
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListDataLabelingJobsResponse, DataLabelingJob> response = jobServiceClient.ListDataLabelingJobsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DataLabelingJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDataLabelingJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DataLabelingJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DataLabelingJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DataLabelingJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListDataLabelingJobsAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListDataLabelingJobsResponse, DataLabelingJob> ListDataLabelingJobsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DataLabelingJobs in a Location.

Parameters
NameDescription
parentString

Required. The parent of the DataLabelingJob. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListDataLabelingJobsResponse, DataLabelingJob>

A pageable asynchronous sequence of DataLabelingJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListDataLabelingJobsResponse, DataLabelingJob> response = jobServiceClient.ListDataLabelingJobsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DataLabelingJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDataLabelingJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DataLabelingJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DataLabelingJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DataLabelingJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListHyperparameterTuningJobs(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob> ListHyperparameterTuningJobs(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists HyperparameterTuningJobs in a Location.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to list the HyperparameterTuningJobs from. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob>

A pageable sequence of HyperparameterTuningJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob> response = jobServiceClient.ListHyperparameterTuningJobs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (HyperparameterTuningJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListHyperparameterTuningJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (HyperparameterTuningJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<HyperparameterTuningJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (HyperparameterTuningJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListHyperparameterTuningJobs(ListHyperparameterTuningJobsRequest, CallSettings)

public virtual PagedEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob> ListHyperparameterTuningJobs(ListHyperparameterTuningJobsRequest request, CallSettings callSettings = null)

Lists HyperparameterTuningJobs in a Location.

Parameters
NameDescription
requestListHyperparameterTuningJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob>

A pageable sequence of HyperparameterTuningJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
ListHyperparameterTuningJobsRequest request = new ListHyperparameterTuningJobsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    ReadMask = new FieldMask(),
};
// Make the request
PagedEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob> response = jobServiceClient.ListHyperparameterTuningJobs(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (HyperparameterTuningJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListHyperparameterTuningJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (HyperparameterTuningJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<HyperparameterTuningJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (HyperparameterTuningJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListHyperparameterTuningJobs(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob> ListHyperparameterTuningJobs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists HyperparameterTuningJobs in a Location.

Parameters
NameDescription
parentString

Required. The resource name of the Location to list the HyperparameterTuningJobs from. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob>

A pageable sequence of HyperparameterTuningJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob> response = jobServiceClient.ListHyperparameterTuningJobs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (HyperparameterTuningJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListHyperparameterTuningJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (HyperparameterTuningJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<HyperparameterTuningJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (HyperparameterTuningJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListHyperparameterTuningJobsAsync(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob> ListHyperparameterTuningJobsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists HyperparameterTuningJobs in a Location.

Parameters
NameDescription
parentLocationName

Required. The resource name of the Location to list the HyperparameterTuningJobs from. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob>

A pageable asynchronous sequence of HyperparameterTuningJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob> response = jobServiceClient.ListHyperparameterTuningJobsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((HyperparameterTuningJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListHyperparameterTuningJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (HyperparameterTuningJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<HyperparameterTuningJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (HyperparameterTuningJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListHyperparameterTuningJobsAsync(ListHyperparameterTuningJobsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob> ListHyperparameterTuningJobsAsync(ListHyperparameterTuningJobsRequest request, CallSettings callSettings = null)

Lists HyperparameterTuningJobs in a Location.

Parameters
NameDescription
requestListHyperparameterTuningJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob>

A pageable asynchronous sequence of HyperparameterTuningJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ListHyperparameterTuningJobsRequest request = new ListHyperparameterTuningJobsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    ReadMask = new FieldMask(),
};
// Make the request
PagedAsyncEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob> response = jobServiceClient.ListHyperparameterTuningJobsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((HyperparameterTuningJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListHyperparameterTuningJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (HyperparameterTuningJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<HyperparameterTuningJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (HyperparameterTuningJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListHyperparameterTuningJobsAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob> ListHyperparameterTuningJobsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists HyperparameterTuningJobs in a Location.

Parameters
NameDescription
parentString

Required. The resource name of the Location to list the HyperparameterTuningJobs from. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob>

A pageable asynchronous sequence of HyperparameterTuningJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListHyperparameterTuningJobsResponse, HyperparameterTuningJob> response = jobServiceClient.ListHyperparameterTuningJobsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((HyperparameterTuningJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListHyperparameterTuningJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (HyperparameterTuningJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<HyperparameterTuningJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (HyperparameterTuningJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListModelDeploymentMonitoringJobs(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob> ListModelDeploymentMonitoringJobs(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ModelDeploymentMonitoringJobs in a Location.

Parameters
NameDescription
parentLocationName

Required. The parent of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob>

A pageable sequence of ModelDeploymentMonitoringJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob> response = jobServiceClient.ListModelDeploymentMonitoringJobs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (ModelDeploymentMonitoringJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListModelDeploymentMonitoringJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ModelDeploymentMonitoringJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ModelDeploymentMonitoringJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ModelDeploymentMonitoringJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListModelDeploymentMonitoringJobs(ListModelDeploymentMonitoringJobsRequest, CallSettings)

public virtual PagedEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob> ListModelDeploymentMonitoringJobs(ListModelDeploymentMonitoringJobsRequest request, CallSettings callSettings = null)

Lists ModelDeploymentMonitoringJobs in a Location.

Parameters
NameDescription
requestListModelDeploymentMonitoringJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob>

A pageable sequence of ModelDeploymentMonitoringJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
ListModelDeploymentMonitoringJobsRequest request = new ListModelDeploymentMonitoringJobsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    ReadMask = new FieldMask(),
};
// Make the request
PagedEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob> response = jobServiceClient.ListModelDeploymentMonitoringJobs(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (ModelDeploymentMonitoringJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListModelDeploymentMonitoringJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ModelDeploymentMonitoringJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ModelDeploymentMonitoringJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ModelDeploymentMonitoringJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListModelDeploymentMonitoringJobs(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob> ListModelDeploymentMonitoringJobs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ModelDeploymentMonitoringJobs in a Location.

Parameters
NameDescription
parentString

Required. The parent of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob>

A pageable sequence of ModelDeploymentMonitoringJob resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob> response = jobServiceClient.ListModelDeploymentMonitoringJobs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (ModelDeploymentMonitoringJob item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListModelDeploymentMonitoringJobsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ModelDeploymentMonitoringJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ModelDeploymentMonitoringJob> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ModelDeploymentMonitoringJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListModelDeploymentMonitoringJobsAsync(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob> ListModelDeploymentMonitoringJobsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ModelDeploymentMonitoringJobs in a Location.

Parameters
NameDescription
parentLocationName

Required. The parent of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob>

A pageable asynchronous sequence of ModelDeploymentMonitoringJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob> response = jobServiceClient.ListModelDeploymentMonitoringJobsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ModelDeploymentMonitoringJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListModelDeploymentMonitoringJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ModelDeploymentMonitoringJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ModelDeploymentMonitoringJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ModelDeploymentMonitoringJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListModelDeploymentMonitoringJobsAsync(ListModelDeploymentMonitoringJobsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob> ListModelDeploymentMonitoringJobsAsync(ListModelDeploymentMonitoringJobsRequest request, CallSettings callSettings = null)

Lists ModelDeploymentMonitoringJobs in a Location.

Parameters
NameDescription
requestListModelDeploymentMonitoringJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob>

A pageable asynchronous sequence of ModelDeploymentMonitoringJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ListModelDeploymentMonitoringJobsRequest request = new ListModelDeploymentMonitoringJobsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    ReadMask = new FieldMask(),
};
// Make the request
PagedAsyncEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob> response = jobServiceClient.ListModelDeploymentMonitoringJobsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ModelDeploymentMonitoringJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListModelDeploymentMonitoringJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ModelDeploymentMonitoringJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ModelDeploymentMonitoringJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ModelDeploymentMonitoringJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListModelDeploymentMonitoringJobsAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob> ListModelDeploymentMonitoringJobsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ModelDeploymentMonitoringJobs in a Location.

Parameters
NameDescription
parentString

Required. The parent of the ModelDeploymentMonitoringJob. Format: projects/{project}/locations/{location}

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob>

A pageable asynchronous sequence of ModelDeploymentMonitoringJob resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListModelDeploymentMonitoringJobsResponse, ModelDeploymentMonitoringJob> response = jobServiceClient.ListModelDeploymentMonitoringJobsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ModelDeploymentMonitoringJob item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListModelDeploymentMonitoringJobsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ModelDeploymentMonitoringJob item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ModelDeploymentMonitoringJob> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ModelDeploymentMonitoringJob item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

PauseModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName, CallSettings)

public virtual void PauseModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name, CallSettings callSettings = null)

Pauses a ModelDeploymentMonitoringJob. If the job is running, the server makes a best effort to cancel the job. Will mark [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state] to 'PAUSED'.

Parameters
NameDescription
nameModelDeploymentMonitoringJobName

Required. The resource name of the ModelDeploymentMonitoringJob to pause. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
ModelDeploymentMonitoringJobName name = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]");
// Make the request
jobServiceClient.PauseModelDeploymentMonitoringJob(name);

PauseModelDeploymentMonitoringJob(PauseModelDeploymentMonitoringJobRequest, CallSettings)

public virtual void PauseModelDeploymentMonitoringJob(PauseModelDeploymentMonitoringJobRequest request, CallSettings callSettings = null)

Pauses a ModelDeploymentMonitoringJob. If the job is running, the server makes a best effort to cancel the job. Will mark [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state] to 'PAUSED'.

Parameters
NameDescription
requestPauseModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
PauseModelDeploymentMonitoringJobRequest request = new PauseModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJobName = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]"),
};
// Make the request
jobServiceClient.PauseModelDeploymentMonitoringJob(request);

PauseModelDeploymentMonitoringJob(String, CallSettings)

public virtual void PauseModelDeploymentMonitoringJob(string name, CallSettings callSettings = null)

Pauses a ModelDeploymentMonitoringJob. If the job is running, the server makes a best effort to cancel the job. Will mark [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state] to 'PAUSED'.

Parameters
NameDescription
nameString

Required. The resource name of the ModelDeploymentMonitoringJob to pause. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/modelDeploymentMonitoringJobs/[MODEL_DEPLOYMENT_MONITORING_JOB]";
// Make the request
jobServiceClient.PauseModelDeploymentMonitoringJob(name);

PauseModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName, CallSettings)

public virtual Task PauseModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName name, CallSettings callSettings = null)

Pauses a ModelDeploymentMonitoringJob. If the job is running, the server makes a best effort to cancel the job. Will mark [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state] to 'PAUSED'.

Parameters
NameDescription
nameModelDeploymentMonitoringJobName

Required. The resource name of the ModelDeploymentMonitoringJob to pause. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ModelDeploymentMonitoringJobName name = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]");
// Make the request
await jobServiceClient.PauseModelDeploymentMonitoringJobAsync(name);

PauseModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName, CancellationToken)

public virtual Task PauseModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName name, CancellationToken cancellationToken)

Pauses a ModelDeploymentMonitoringJob. If the job is running, the server makes a best effort to cancel the job. Will mark [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state] to 'PAUSED'.

Parameters
NameDescription
nameModelDeploymentMonitoringJobName

Required. The resource name of the ModelDeploymentMonitoringJob to pause. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ModelDeploymentMonitoringJobName name = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]");
// Make the request
await jobServiceClient.PauseModelDeploymentMonitoringJobAsync(name);

PauseModelDeploymentMonitoringJobAsync(PauseModelDeploymentMonitoringJobRequest, CallSettings)

public virtual Task PauseModelDeploymentMonitoringJobAsync(PauseModelDeploymentMonitoringJobRequest request, CallSettings callSettings = null)

Pauses a ModelDeploymentMonitoringJob. If the job is running, the server makes a best effort to cancel the job. Will mark [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state] to 'PAUSED'.

Parameters
NameDescription
requestPauseModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
PauseModelDeploymentMonitoringJobRequest request = new PauseModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJobName = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]"),
};
// Make the request
await jobServiceClient.PauseModelDeploymentMonitoringJobAsync(request);

PauseModelDeploymentMonitoringJobAsync(PauseModelDeploymentMonitoringJobRequest, CancellationToken)

public virtual Task PauseModelDeploymentMonitoringJobAsync(PauseModelDeploymentMonitoringJobRequest request, CancellationToken cancellationToken)

Pauses a ModelDeploymentMonitoringJob. If the job is running, the server makes a best effort to cancel the job. Will mark [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state] to 'PAUSED'.

Parameters
NameDescription
requestPauseModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
PauseModelDeploymentMonitoringJobRequest request = new PauseModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJobName = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]"),
};
// Make the request
await jobServiceClient.PauseModelDeploymentMonitoringJobAsync(request);

PauseModelDeploymentMonitoringJobAsync(String, CallSettings)

public virtual Task PauseModelDeploymentMonitoringJobAsync(string name, CallSettings callSettings = null)

Pauses a ModelDeploymentMonitoringJob. If the job is running, the server makes a best effort to cancel the job. Will mark [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state] to 'PAUSED'.

Parameters
NameDescription
nameString

Required. The resource name of the ModelDeploymentMonitoringJob to pause. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/modelDeploymentMonitoringJobs/[MODEL_DEPLOYMENT_MONITORING_JOB]";
// Make the request
await jobServiceClient.PauseModelDeploymentMonitoringJobAsync(name);

PauseModelDeploymentMonitoringJobAsync(String, CancellationToken)

public virtual Task PauseModelDeploymentMonitoringJobAsync(string name, CancellationToken cancellationToken)

Pauses a ModelDeploymentMonitoringJob. If the job is running, the server makes a best effort to cancel the job. Will mark [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state] to 'PAUSED'.

Parameters
NameDescription
nameString

Required. The resource name of the ModelDeploymentMonitoringJob to pause. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/modelDeploymentMonitoringJobs/[MODEL_DEPLOYMENT_MONITORING_JOB]";
// Make the request
await jobServiceClient.PauseModelDeploymentMonitoringJobAsync(name);

PollOnceDeleteBatchPredictionJob(String, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> PollOnceDeleteBatchPredictionJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteBatchPredictionJob.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The result of polling the operation.

PollOnceDeleteBatchPredictionJobAsync(String, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> PollOnceDeleteBatchPredictionJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteBatchPredictionJob.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A task representing the result of polling the operation.

PollOnceDeleteCustomJob(String, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> PollOnceDeleteCustomJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteCustomJob.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The result of polling the operation.

PollOnceDeleteCustomJobAsync(String, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> PollOnceDeleteCustomJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteCustomJob.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A task representing the result of polling the operation.

PollOnceDeleteDataLabelingJob(String, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> PollOnceDeleteDataLabelingJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteDataLabelingJob .

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The result of polling the operation.

PollOnceDeleteDataLabelingJobAsync(String, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> PollOnceDeleteDataLabelingJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteDataLabelingJob.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A task representing the result of polling the operation.

PollOnceDeleteHyperparameterTuningJob(String, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> PollOnceDeleteHyperparameterTuningJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteHyperparameterTuningJob.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The result of polling the operation.

PollOnceDeleteHyperparameterTuningJobAsync(String, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> PollOnceDeleteHyperparameterTuningJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteHyperparameterTuningJob.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A task representing the result of polling the operation.

PollOnceDeleteModelDeploymentMonitoringJob(String, CallSettings)

public virtual Operation<Empty, DeleteOperationMetadata> PollOnceDeleteModelDeploymentMonitoringJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteModelDeploymentMonitoringJob.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The result of polling the operation.

PollOnceDeleteModelDeploymentMonitoringJobAsync(String, CallSettings)

public virtual Task<Operation<Empty, DeleteOperationMetadata>> PollOnceDeleteModelDeploymentMonitoringJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteModelDeploymentMonitoringJob.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A task representing the result of polling the operation.

PollOnceUpdateModelDeploymentMonitoringJob(String, CallSettings)

public virtual Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> PollOnceUpdateModelDeploymentMonitoringJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateModelDeploymentMonitoringJob.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata>

The result of polling the operation.

PollOnceUpdateModelDeploymentMonitoringJobAsync(String, CallSettings)

public virtual Task<Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata>> PollOnceUpdateModelDeploymentMonitoringJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateModelDeploymentMonitoringJob.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata>>

A task representing the result of polling the operation.

ResumeModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName, CallSettings)

public virtual void ResumeModelDeploymentMonitoringJob(ModelDeploymentMonitoringJobName name, CallSettings callSettings = null)

Resumes a paused ModelDeploymentMonitoringJob. It will start to run from next scheduled time. A deleted ModelDeploymentMonitoringJob can't be resumed.

Parameters
NameDescription
nameModelDeploymentMonitoringJobName

Required. The resource name of the ModelDeploymentMonitoringJob to resume. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
ModelDeploymentMonitoringJobName name = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]");
// Make the request
jobServiceClient.ResumeModelDeploymentMonitoringJob(name);

ResumeModelDeploymentMonitoringJob(ResumeModelDeploymentMonitoringJobRequest, CallSettings)

public virtual void ResumeModelDeploymentMonitoringJob(ResumeModelDeploymentMonitoringJobRequest request, CallSettings callSettings = null)

Resumes a paused ModelDeploymentMonitoringJob. It will start to run from next scheduled time. A deleted ModelDeploymentMonitoringJob can't be resumed.

Parameters
NameDescription
requestResumeModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
ResumeModelDeploymentMonitoringJobRequest request = new ResumeModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJobName = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]"),
};
// Make the request
jobServiceClient.ResumeModelDeploymentMonitoringJob(request);

ResumeModelDeploymentMonitoringJob(String, CallSettings)

public virtual void ResumeModelDeploymentMonitoringJob(string name, CallSettings callSettings = null)

Resumes a paused ModelDeploymentMonitoringJob. It will start to run from next scheduled time. A deleted ModelDeploymentMonitoringJob can't be resumed.

Parameters
NameDescription
nameString

Required. The resource name of the ModelDeploymentMonitoringJob to resume. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/modelDeploymentMonitoringJobs/[MODEL_DEPLOYMENT_MONITORING_JOB]";
// Make the request
jobServiceClient.ResumeModelDeploymentMonitoringJob(name);

ResumeModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName, CallSettings)

public virtual Task ResumeModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName name, CallSettings callSettings = null)

Resumes a paused ModelDeploymentMonitoringJob. It will start to run from next scheduled time. A deleted ModelDeploymentMonitoringJob can't be resumed.

Parameters
NameDescription
nameModelDeploymentMonitoringJobName

Required. The resource name of the ModelDeploymentMonitoringJob to resume. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ModelDeploymentMonitoringJobName name = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]");
// Make the request
await jobServiceClient.ResumeModelDeploymentMonitoringJobAsync(name);

ResumeModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName, CancellationToken)

public virtual Task ResumeModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJobName name, CancellationToken cancellationToken)

Resumes a paused ModelDeploymentMonitoringJob. It will start to run from next scheduled time. A deleted ModelDeploymentMonitoringJob can't be resumed.

Parameters
NameDescription
nameModelDeploymentMonitoringJobName

Required. The resource name of the ModelDeploymentMonitoringJob to resume. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ModelDeploymentMonitoringJobName name = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]");
// Make the request
await jobServiceClient.ResumeModelDeploymentMonitoringJobAsync(name);

ResumeModelDeploymentMonitoringJobAsync(ResumeModelDeploymentMonitoringJobRequest, CallSettings)

public virtual Task ResumeModelDeploymentMonitoringJobAsync(ResumeModelDeploymentMonitoringJobRequest request, CallSettings callSettings = null)

Resumes a paused ModelDeploymentMonitoringJob. It will start to run from next scheduled time. A deleted ModelDeploymentMonitoringJob can't be resumed.

Parameters
NameDescription
requestResumeModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ResumeModelDeploymentMonitoringJobRequest request = new ResumeModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJobName = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]"),
};
// Make the request
await jobServiceClient.ResumeModelDeploymentMonitoringJobAsync(request);

ResumeModelDeploymentMonitoringJobAsync(ResumeModelDeploymentMonitoringJobRequest, CancellationToken)

public virtual Task ResumeModelDeploymentMonitoringJobAsync(ResumeModelDeploymentMonitoringJobRequest request, CancellationToken cancellationToken)

Resumes a paused ModelDeploymentMonitoringJob. It will start to run from next scheduled time. A deleted ModelDeploymentMonitoringJob can't be resumed.

Parameters
NameDescription
requestResumeModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ResumeModelDeploymentMonitoringJobRequest request = new ResumeModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJobName = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]"),
};
// Make the request
await jobServiceClient.ResumeModelDeploymentMonitoringJobAsync(request);

ResumeModelDeploymentMonitoringJobAsync(String, CallSettings)

public virtual Task ResumeModelDeploymentMonitoringJobAsync(string name, CallSettings callSettings = null)

Resumes a paused ModelDeploymentMonitoringJob. It will start to run from next scheduled time. A deleted ModelDeploymentMonitoringJob can't be resumed.

Parameters
NameDescription
nameString

Required. The resource name of the ModelDeploymentMonitoringJob to resume. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/modelDeploymentMonitoringJobs/[MODEL_DEPLOYMENT_MONITORING_JOB]";
// Make the request
await jobServiceClient.ResumeModelDeploymentMonitoringJobAsync(name);

ResumeModelDeploymentMonitoringJobAsync(String, CancellationToken)

public virtual Task ResumeModelDeploymentMonitoringJobAsync(string name, CancellationToken cancellationToken)

Resumes a paused ModelDeploymentMonitoringJob. It will start to run from next scheduled time. A deleted ModelDeploymentMonitoringJob can't be resumed.

Parameters
NameDescription
nameString

Required. The resource name of the ModelDeploymentMonitoringJob to resume. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/modelDeploymentMonitoringJobs/[MODEL_DEPLOYMENT_MONITORING_JOB]";
// Make the request
await jobServiceClient.ResumeModelDeploymentMonitoringJobAsync(name);

SearchModelDeploymentMonitoringStatsAnomalies(ModelDeploymentMonitoringJobName, String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies> SearchModelDeploymentMonitoringStatsAnomalies(ModelDeploymentMonitoringJobName modelDeploymentMonitoringJob, string deployedModelId, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Searches Model Monitoring Statistics generated within a given time window.

Parameters
NameDescription
modelDeploymentMonitoringJobModelDeploymentMonitoringJobName

Required. ModelDeploymentMonitoring Job resource name. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

deployedModelIdString

Required. The DeployedModel ID of the [ModelDeploymentMonitoringObjectiveConfig.deployed_model_id].

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies>

A pageable sequence of ModelMonitoringStatsAnomalies resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
ModelDeploymentMonitoringJobName modelDeploymentMonitoringJob = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]");
string deployedModelId = "";
// Make the request
PagedEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies> response = jobServiceClient.SearchModelDeploymentMonitoringStatsAnomalies(modelDeploymentMonitoringJob, deployedModelId);

// Iterate over all response items, lazily performing RPCs as required
foreach (ModelMonitoringStatsAnomalies item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchModelDeploymentMonitoringStatsAnomaliesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ModelMonitoringStatsAnomalies item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ModelMonitoringStatsAnomalies> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ModelMonitoringStatsAnomalies item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

SearchModelDeploymentMonitoringStatsAnomalies(SearchModelDeploymentMonitoringStatsAnomaliesRequest, CallSettings)

public virtual PagedEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies> SearchModelDeploymentMonitoringStatsAnomalies(SearchModelDeploymentMonitoringStatsAnomaliesRequest request, CallSettings callSettings = null)

Searches Model Monitoring Statistics generated within a given time window.

Parameters
NameDescription
requestSearchModelDeploymentMonitoringStatsAnomaliesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies>

A pageable sequence of ModelMonitoringStatsAnomalies resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
SearchModelDeploymentMonitoringStatsAnomaliesRequest request = new SearchModelDeploymentMonitoringStatsAnomaliesRequest
{
    ModelDeploymentMonitoringJobAsModelDeploymentMonitoringJobName = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]"),
    DeployedModelId = "",
    FeatureDisplayName = "",
    Objectives =
    {
        new SearchModelDeploymentMonitoringStatsAnomaliesRequest.Types.StatsAnomaliesObjective(),
    },
    StartTime = new Timestamp(),
    EndTime = new Timestamp(),
};
// Make the request
PagedEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies> response = jobServiceClient.SearchModelDeploymentMonitoringStatsAnomalies(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (ModelMonitoringStatsAnomalies item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchModelDeploymentMonitoringStatsAnomaliesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ModelMonitoringStatsAnomalies item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ModelMonitoringStatsAnomalies> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ModelMonitoringStatsAnomalies item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

SearchModelDeploymentMonitoringStatsAnomalies(String, String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies> SearchModelDeploymentMonitoringStatsAnomalies(string modelDeploymentMonitoringJob, string deployedModelId, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Searches Model Monitoring Statistics generated within a given time window.

Parameters
NameDescription
modelDeploymentMonitoringJobString

Required. ModelDeploymentMonitoring Job resource name. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

deployedModelIdString

Required. The DeployedModel ID of the [ModelDeploymentMonitoringObjectiveConfig.deployed_model_id].

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies>

A pageable sequence of ModelMonitoringStatsAnomalies resources.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
string modelDeploymentMonitoringJob = "projects/[PROJECT]/locations/[LOCATION]/modelDeploymentMonitoringJobs/[MODEL_DEPLOYMENT_MONITORING_JOB]";
string deployedModelId = "";
// Make the request
PagedEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies> response = jobServiceClient.SearchModelDeploymentMonitoringStatsAnomalies(modelDeploymentMonitoringJob, deployedModelId);

// Iterate over all response items, lazily performing RPCs as required
foreach (ModelMonitoringStatsAnomalies item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchModelDeploymentMonitoringStatsAnomaliesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ModelMonitoringStatsAnomalies item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ModelMonitoringStatsAnomalies> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ModelMonitoringStatsAnomalies item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

SearchModelDeploymentMonitoringStatsAnomaliesAsync(ModelDeploymentMonitoringJobName, String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies> SearchModelDeploymentMonitoringStatsAnomaliesAsync(ModelDeploymentMonitoringJobName modelDeploymentMonitoringJob, string deployedModelId, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Searches Model Monitoring Statistics generated within a given time window.

Parameters
NameDescription
modelDeploymentMonitoringJobModelDeploymentMonitoringJobName

Required. ModelDeploymentMonitoring Job resource name. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

deployedModelIdString

Required. The DeployedModel ID of the [ModelDeploymentMonitoringObjectiveConfig.deployed_model_id].

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies>

A pageable asynchronous sequence of ModelMonitoringStatsAnomalies resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ModelDeploymentMonitoringJobName modelDeploymentMonitoringJob = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]");
string deployedModelId = "";
// Make the request
PagedAsyncEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies> response = jobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesAsync(modelDeploymentMonitoringJob, deployedModelId);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ModelMonitoringStatsAnomalies item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchModelDeploymentMonitoringStatsAnomaliesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ModelMonitoringStatsAnomalies item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ModelMonitoringStatsAnomalies> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ModelMonitoringStatsAnomalies item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

SearchModelDeploymentMonitoringStatsAnomaliesAsync(SearchModelDeploymentMonitoringStatsAnomaliesRequest, CallSettings)

public virtual PagedAsyncEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies> SearchModelDeploymentMonitoringStatsAnomaliesAsync(SearchModelDeploymentMonitoringStatsAnomaliesRequest request, CallSettings callSettings = null)

Searches Model Monitoring Statistics generated within a given time window.

Parameters
NameDescription
requestSearchModelDeploymentMonitoringStatsAnomaliesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies>

A pageable asynchronous sequence of ModelMonitoringStatsAnomalies resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
SearchModelDeploymentMonitoringStatsAnomaliesRequest request = new SearchModelDeploymentMonitoringStatsAnomaliesRequest
{
    ModelDeploymentMonitoringJobAsModelDeploymentMonitoringJobName = ModelDeploymentMonitoringJobName.FromProjectLocationModelDeploymentMonitoringJob("[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]"),
    DeployedModelId = "",
    FeatureDisplayName = "",
    Objectives =
    {
        new SearchModelDeploymentMonitoringStatsAnomaliesRequest.Types.StatsAnomaliesObjective(),
    },
    StartTime = new Timestamp(),
    EndTime = new Timestamp(),
};
// Make the request
PagedAsyncEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies> response = jobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ModelMonitoringStatsAnomalies item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchModelDeploymentMonitoringStatsAnomaliesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ModelMonitoringStatsAnomalies item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ModelMonitoringStatsAnomalies> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ModelMonitoringStatsAnomalies item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

SearchModelDeploymentMonitoringStatsAnomaliesAsync(String, String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies> SearchModelDeploymentMonitoringStatsAnomaliesAsync(string modelDeploymentMonitoringJob, string deployedModelId, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Searches Model Monitoring Statistics generated within a given time window.

Parameters
NameDescription
modelDeploymentMonitoringJobString

Required. ModelDeploymentMonitoring Job resource name. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

deployedModelIdString

Required. The DeployedModel ID of the [ModelDeploymentMonitoringObjectiveConfig.deployed_model_id].

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies>

A pageable asynchronous sequence of ModelMonitoringStatsAnomalies resources.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
string modelDeploymentMonitoringJob = "projects/[PROJECT]/locations/[LOCATION]/modelDeploymentMonitoringJobs/[MODEL_DEPLOYMENT_MONITORING_JOB]";
string deployedModelId = "";
// Make the request
PagedAsyncEnumerable<SearchModelDeploymentMonitoringStatsAnomaliesResponse, ModelMonitoringStatsAnomalies> response = jobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesAsync(modelDeploymentMonitoringJob, deployedModelId);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ModelMonitoringStatsAnomalies item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchModelDeploymentMonitoringStatsAnomaliesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ModelMonitoringStatsAnomalies item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ModelMonitoringStatsAnomalies> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ModelMonitoringStatsAnomalies item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
TypeDescription
Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

UpdateModelDeploymentMonitoringJob(ModelDeploymentMonitoringJob, FieldMask, CallSettings)

public virtual Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> UpdateModelDeploymentMonitoringJob(ModelDeploymentMonitoringJob modelDeploymentMonitoringJob, FieldMask updateMask, CallSettings callSettings = null)

Updates a ModelDeploymentMonitoringJob.

Parameters
NameDescription
modelDeploymentMonitoringJobModelDeploymentMonitoringJob

Required. The model monitoring configuration which replaces the resource on the server.

updateMaskFieldMask

Required. The update mask is used to specify the fields to be overwritten in the ModelDeploymentMonitoringJob resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields. For the objective config, the user can either provide the update mask for model_deployment_monitoring_objective_configs or any combination of its nested fields, such as: model_deployment_monitoring_objective_configs.objective_config.training_dataset.

Updatable fields:

  • display_name
  • model_deployment_monitoring_schedule_config
  • model_monitoring_alert_config
  • logging_sampling_strategy
  • labels
  • log_ttl
  • enable_monitoring_pipeline_logs . and
  • model_deployment_monitoring_objective_configs . or
  • model_deployment_monitoring_objective_configs.objective_config.training_dataset
  • model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config
  • model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
ModelDeploymentMonitoringJob modelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> response = jobServiceClient.UpdateModelDeploymentMonitoringJob(modelDeploymentMonitoringJob, updateMask);

// Poll until the returned long-running operation is complete
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ModelDeploymentMonitoringJob result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> retrievedResponse = jobServiceClient.PollOnceUpdateModelDeploymentMonitoringJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ModelDeploymentMonitoringJob retrievedResult = retrievedResponse.Result;
}

UpdateModelDeploymentMonitoringJob(UpdateModelDeploymentMonitoringJobRequest, CallSettings)

public virtual Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> UpdateModelDeploymentMonitoringJob(UpdateModelDeploymentMonitoringJobRequest request, CallSettings callSettings = null)

Updates a ModelDeploymentMonitoringJob.

Parameters
NameDescription
requestUpdateModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata>

The RPC response.

Example
// Create client
JobServiceClient jobServiceClient = JobServiceClient.Create();
// Initialize request argument(s)
UpdateModelDeploymentMonitoringJobRequest request = new UpdateModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> response = jobServiceClient.UpdateModelDeploymentMonitoringJob(request);

// Poll until the returned long-running operation is complete
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ModelDeploymentMonitoringJob result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> retrievedResponse = jobServiceClient.PollOnceUpdateModelDeploymentMonitoringJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ModelDeploymentMonitoringJob retrievedResult = retrievedResponse.Result;
}

UpdateModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJob, FieldMask, CallSettings)

public virtual Task<Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata>> UpdateModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJob modelDeploymentMonitoringJob, FieldMask updateMask, CallSettings callSettings = null)

Updates a ModelDeploymentMonitoringJob.

Parameters
NameDescription
modelDeploymentMonitoringJobModelDeploymentMonitoringJob

Required. The model monitoring configuration which replaces the resource on the server.

updateMaskFieldMask

Required. The update mask is used to specify the fields to be overwritten in the ModelDeploymentMonitoringJob resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields. For the objective config, the user can either provide the update mask for model_deployment_monitoring_objective_configs or any combination of its nested fields, such as: model_deployment_monitoring_objective_configs.objective_config.training_dataset.

Updatable fields:

  • display_name
  • model_deployment_monitoring_schedule_config
  • model_monitoring_alert_config
  • logging_sampling_strategy
  • labels
  • log_ttl
  • enable_monitoring_pipeline_logs . and
  • model_deployment_monitoring_objective_configs . or
  • model_deployment_monitoring_objective_configs.objective_config.training_dataset
  • model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config
  • model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ModelDeploymentMonitoringJob modelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> response = await jobServiceClient.UpdateModelDeploymentMonitoringJobAsync(modelDeploymentMonitoringJob, updateMask);

// Poll until the returned long-running operation is complete
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ModelDeploymentMonitoringJob result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceUpdateModelDeploymentMonitoringJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ModelDeploymentMonitoringJob retrievedResult = retrievedResponse.Result;
}

UpdateModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJob, FieldMask, CancellationToken)

public virtual Task<Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata>> UpdateModelDeploymentMonitoringJobAsync(ModelDeploymentMonitoringJob modelDeploymentMonitoringJob, FieldMask updateMask, CancellationToken cancellationToken)

Updates a ModelDeploymentMonitoringJob.

Parameters
NameDescription
modelDeploymentMonitoringJobModelDeploymentMonitoringJob

Required. The model monitoring configuration which replaces the resource on the server.

updateMaskFieldMask

Required. The update mask is used to specify the fields to be overwritten in the ModelDeploymentMonitoringJob resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to * to override all fields. For the objective config, the user can either provide the update mask for model_deployment_monitoring_objective_configs or any combination of its nested fields, such as: model_deployment_monitoring_objective_configs.objective_config.training_dataset.

Updatable fields:

  • display_name
  • model_deployment_monitoring_schedule_config
  • model_monitoring_alert_config
  • logging_sampling_strategy
  • labels
  • log_ttl
  • enable_monitoring_pipeline_logs . and
  • model_deployment_monitoring_objective_configs . or
  • model_deployment_monitoring_objective_configs.objective_config.training_dataset
  • model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config
  • model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config
cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
ModelDeploymentMonitoringJob modelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> response = await jobServiceClient.UpdateModelDeploymentMonitoringJobAsync(modelDeploymentMonitoringJob, updateMask);

// Poll until the returned long-running operation is complete
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ModelDeploymentMonitoringJob result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceUpdateModelDeploymentMonitoringJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ModelDeploymentMonitoringJob retrievedResult = retrievedResponse.Result;
}

UpdateModelDeploymentMonitoringJobAsync(UpdateModelDeploymentMonitoringJobRequest, CallSettings)

public virtual Task<Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata>> UpdateModelDeploymentMonitoringJobAsync(UpdateModelDeploymentMonitoringJobRequest request, CallSettings callSettings = null)

Updates a ModelDeploymentMonitoringJob.

Parameters
NameDescription
requestUpdateModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateModelDeploymentMonitoringJobRequest request = new UpdateModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> response = await jobServiceClient.UpdateModelDeploymentMonitoringJobAsync(request);

// Poll until the returned long-running operation is complete
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ModelDeploymentMonitoringJob result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceUpdateModelDeploymentMonitoringJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ModelDeploymentMonitoringJob retrievedResult = retrievedResponse.Result;
}

UpdateModelDeploymentMonitoringJobAsync(UpdateModelDeploymentMonitoringJobRequest, CancellationToken)

public virtual Task<Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata>> UpdateModelDeploymentMonitoringJobAsync(UpdateModelDeploymentMonitoringJobRequest request, CancellationToken cancellationToken)

Updates a ModelDeploymentMonitoringJob.

Parameters
NameDescription
requestUpdateModelDeploymentMonitoringJobRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata>>

A Task containing the RPC response.

Example
// Create client
JobServiceClient jobServiceClient = await JobServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateModelDeploymentMonitoringJobRequest request = new UpdateModelDeploymentMonitoringJobRequest
{
    ModelDeploymentMonitoringJob = new ModelDeploymentMonitoringJob(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> response = await jobServiceClient.UpdateModelDeploymentMonitoringJobAsync(request);

// Poll until the returned long-running operation is complete
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ModelDeploymentMonitoringJob result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> retrievedResponse = await jobServiceClient.PollOnceUpdateModelDeploymentMonitoringJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ModelDeploymentMonitoringJob retrievedResult = retrievedResponse.Result;
}