# Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::JobService::Client (v1.44.0)

1.43.0 (latest) 1.42.0 1.41.0 1.40.0 1.39.0 1.38.0 1.37.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.1 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 1.24.0 1.23.1 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.64.0 0.63.0 0.62.0 0.61.0 0.60.0 0.59.0 0.58.0 0.57.0 0.56.0 0.55.0 0.54.0 0.53.0 0.52.0 0.51.0 0.50.0 0.49.0 0.48.0 0.47.0 0.46.0 0.45.0 0.44.0 0.43.0 0.42.0 0.41.0 0.40.0 0.39.0 0.38.0 0.37.0 0.36.0 0.35.0 0.34.0 0.33.0 0.32.0 0.31.0 0.30.0 0.29.0 0.28.0 0.27.0 0.26.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::JobService::Client.

Client for the JobService service.


<br />

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

## Inherits

- Object

## Includes

- [Google::Cloud::AIPlatform::V1::JobService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Paths)

## Methods

### .configure

    def self.configure() { |config| ... } -> Client::Configuration

Configure the JobService Client class.


<br />

See [Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client-Configuration "Google::Cloud::AIPlatform::V1::JobService::Client::Configuration (class)")
for a description of the configuration fields.
**Yields**

- (config) --- Configure the Client client.
**Yield Parameter**

- **config** ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client-Configuration))
**Returns**

- ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client-Configuration))
**Example**

```ruby
# Modify the configuration for all JobService clients
::Google::Cloud::AIPlatform::V1::JobService::Client.configure do |config|
  config.timeout = 10.0
end
```

### #cancel_batch_prediction_job

    def cancel_batch_prediction_job(request, options = nil) -> ::Google::Protobuf::Empty
    def cancel_batch_prediction_job(name: nil) -> ::Google::Protobuf::Empty

Cancels a BatchPredictionJob.


<br />

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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client#Google__Cloud__AIPlatform__V1__JobService__Client_get_batch_prediction_job_instance_ "Google::Cloud::AIPlatform::V1::JobService::Client#get_batch_prediction_job (method)")
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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-BatchPredictionJob#Google__Cloud__AIPlatform__V1__BatchPredictionJob_state_instance_ "Google::Cloud::AIPlatform::V1::BatchPredictionJob#state (method)")
is set to `CANCELLED`. Any files already outputted by the job are not
deleted.
**Overloads**

    def cancel_batch_prediction_job(request, options = nil) -> ::Google::Protobuf::Empty

Pass arguments to `cancel_batch_prediction_job` via a request object, either of type [CancelBatchPredictionJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CancelBatchPredictionJobRequest "Google::Cloud::AIPlatform::V1::CancelBatchPredictionJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::CancelBatchPredictionJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CancelBatchPredictionJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def cancel_batch_prediction_job(name: nil) -> ::Google::Protobuf::Empty

Pass arguments to `cancel_batch_prediction_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the BatchPredictionJob to cancel. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Empty))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Empty))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::CancelBatchPredictionJobRequest.new

# Call the cancel_batch_prediction_job method.
result = client.cancel_batch_prediction_job request

# The returned object is of type Google::Protobuf::Empty.
p result
```

### #cancel_custom_job

    def cancel_custom_job(request, options = nil) -> ::Google::Protobuf::Empty
    def cancel_custom_job(name: nil) -> ::Google::Protobuf::Empty

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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client#Google__Cloud__AIPlatform__V1__JobService__Client_get_custom_job_instance_ "Google::Cloud::AIPlatform::V1::JobService::Client#get_custom_job (method)")
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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CustomJob#Google__Cloud__AIPlatform__V1__CustomJob_error_instance_ "Google::Cloud::AIPlatform::V1::CustomJob#error (method)") value with
a [google.rpc.Status.code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Rpc-Status#Google__Rpc__Status_code_instance_ "Google::Rpc::Status#code (method)") of 1, corresponding to
`Code.CANCELLED`, and
[CustomJob.state](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CustomJob#Google__Cloud__AIPlatform__V1__CustomJob_state_instance_ "Google::Cloud::AIPlatform::V1::CustomJob#state (method)") is set to
`CANCELLED`.
**Overloads**

    def cancel_custom_job(request, options = nil) -> ::Google::Protobuf::Empty

Pass arguments to `cancel_custom_job` via a request object, either of type [CancelCustomJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CancelCustomJobRequest "Google::Cloud::AIPlatform::V1::CancelCustomJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::CancelCustomJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CancelCustomJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def cancel_custom_job(name: nil) -> ::Google::Protobuf::Empty

Pass arguments to `cancel_custom_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the CustomJob to cancel. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Empty))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Empty))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::CancelCustomJobRequest.new

# Call the cancel_custom_job method.
result = client.cancel_custom_job request

# The returned object is of type Google::Protobuf::Empty.
p result
```

### #cancel_data_labeling_job

    def cancel_data_labeling_job(request, options = nil) -> ::Google::Protobuf::Empty
    def cancel_data_labeling_job(name: nil) -> ::Google::Protobuf::Empty

Cancels a DataLabelingJob. Success of cancellation is not guaranteed.
**Overloads**

    def cancel_data_labeling_job(request, options = nil) -> ::Google::Protobuf::Empty

Pass arguments to `cancel_data_labeling_job` via a request object, either of type [CancelDataLabelingJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CancelDataLabelingJobRequest "Google::Cloud::AIPlatform::V1::CancelDataLabelingJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::CancelDataLabelingJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CancelDataLabelingJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def cancel_data_labeling_job(name: nil) -> ::Google::Protobuf::Empty

Pass arguments to `cancel_data_labeling_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the DataLabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Empty))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Empty))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::CancelDataLabelingJobRequest.new

# Call the cancel_data_labeling_job method.
result = client.cancel_data_labeling_job request

# The returned object is of type Google::Protobuf::Empty.
p result
```

### #cancel_hyperparameter_tuning_job

    def cancel_hyperparameter_tuning_job(request, options = nil) -> ::Google::Protobuf::Empty
    def cancel_hyperparameter_tuning_job(name: nil) -> ::Google::Protobuf::Empty

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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client#Google__Cloud__AIPlatform__V1__JobService__Client_get_hyperparameter_tuning_job_instance_ "Google::Cloud::AIPlatform::V1::JobService::Client#get_hyperparameter_tuning_job (method)")
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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-HyperparameterTuningJob#Google__Cloud__AIPlatform__V1__HyperparameterTuningJob_error_instance_ "Google::Cloud::AIPlatform::V1::HyperparameterTuningJob#error (method)")
value with a [google.rpc.Status.code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Rpc-Status#Google__Rpc__Status_code_instance_ "Google::Rpc::Status#code (method)") of 1,
corresponding to `Code.CANCELLED`, and
[HyperparameterTuningJob.state](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-HyperparameterTuningJob#Google__Cloud__AIPlatform__V1__HyperparameterTuningJob_state_instance_ "Google::Cloud::AIPlatform::V1::HyperparameterTuningJob#state (method)")
is set to `CANCELLED`.
**Overloads**

    def cancel_hyperparameter_tuning_job(request, options = nil) -> ::Google::Protobuf::Empty

Pass arguments to `cancel_hyperparameter_tuning_job` via a request object, either of type [CancelHyperparameterTuningJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CancelHyperparameterTuningJobRequest "Google::Cloud::AIPlatform::V1::CancelHyperparameterTuningJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::CancelHyperparameterTuningJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CancelHyperparameterTuningJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def cancel_hyperparameter_tuning_job(name: nil) -> ::Google::Protobuf::Empty

Pass arguments to `cancel_hyperparameter_tuning_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the HyperparameterTuningJob to cancel. Format: `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Empty))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Empty))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::CancelHyperparameterTuningJobRequest.new

# Call the cancel_hyperparameter_tuning_job method.
result = client.cancel_hyperparameter_tuning_job request

# The returned object is of type Google::Protobuf::Empty.
p result
```

### #cancel_nas_job

    def cancel_nas_job(request, options = nil) -> ::Google::Protobuf::Empty
    def cancel_nas_job(name: nil) -> ::Google::Protobuf::Empty

Cancels a NasJob.
Starts asynchronous cancellation on the NasJob. The server
makes a best effort to cancel the job, but success is not
guaranteed. Clients can use
[JobService.GetNasJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client#Google__Cloud__AIPlatform__V1__JobService__Client_get_nas_job_instance_ "Google::Cloud::AIPlatform::V1::JobService::Client#get_nas_job (method)") or
other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On successful cancellation,
the NasJob is not deleted; instead it becomes a job with
a [NasJob.error](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-NasJob#Google__Cloud__AIPlatform__V1__NasJob_error_instance_ "Google::Cloud::AIPlatform::V1::NasJob#error (method)") value with a
[google.rpc.Status.code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Rpc-Status#Google__Rpc__Status_code_instance_ "Google::Rpc::Status#code (method)") of 1, corresponding to
`Code.CANCELLED`, and
[NasJob.state](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-NasJob#Google__Cloud__AIPlatform__V1__NasJob_state_instance_ "Google::Cloud::AIPlatform::V1::NasJob#state (method)") is set to
`CANCELLED`.
**Overloads**

    def cancel_nas_job(request, options = nil) -> ::Google::Protobuf::Empty

Pass arguments to `cancel_nas_job` via a request object, either of type [CancelNasJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CancelNasJobRequest "Google::Cloud::AIPlatform::V1::CancelNasJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::CancelNasJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CancelNasJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def cancel_nas_job(name: nil) -> ::Google::Protobuf::Empty

Pass arguments to `cancel_nas_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the NasJob to cancel. Format: `projects/{project}/locations/{location}/nasJobs/{nas_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Empty))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Empty))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::CancelNasJobRequest.new

# Call the cancel_nas_job method.
result = client.cancel_nas_job request

# The returned object is of type Google::Protobuf::Empty.
p result
```

### #configure

    def configure() { |config| ... } -> Client::Configuration

Configure the JobService Client instance.


The configuration is set to the derived mode, meaning that values can be changed,
but structural changes (adding new fields, etc.) are not allowed. Structural changes
should be made on [Client.configure](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client#Google__Cloud__AIPlatform__V1__JobService__Client_configure_class_ "Google::Cloud::AIPlatform::V1::JobService::Client.configure (method)").

<br />

See [Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client-Configuration "Google::Cloud::AIPlatform::V1::JobService::Client::Configuration (class)")
for a description of the configuration fields.
**Yields**

- (config) --- Configure the Client client.
**Yield Parameter**

- **config** ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client-Configuration))
**Returns**

- ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client-Configuration))

### #create_batch_prediction_job

    def create_batch_prediction_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::BatchPredictionJob
    def create_batch_prediction_job(parent: nil, batch_prediction_job: nil) -> ::Google::Cloud::AIPlatform::V1::BatchPredictionJob

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

    def create_batch_prediction_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::BatchPredictionJob

Pass arguments to `create_batch_prediction_job` via a request object, either of type [CreateBatchPredictionJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CreateBatchPredictionJobRequest "Google::Cloud::AIPlatform::V1::CreateBatchPredictionJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::CreateBatchPredictionJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CreateBatchPredictionJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def create_batch_prediction_job(parent: nil, batch_prediction_job: nil) -> ::Google::Cloud::AIPlatform::V1::BatchPredictionJob

Pass arguments to `create_batch_prediction_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The resource name of the Location to create the BatchPredictionJob in. Format: `projects/{project}/locations/{location}`
- **batch_prediction_job** ([::Google::Cloud::AIPlatform::V1::BatchPredictionJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-BatchPredictionJob), ::Hash) --- Required. The BatchPredictionJob to create.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::AIPlatform::V1::BatchPredictionJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-BatchPredictionJob))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::AIPlatform::V1::BatchPredictionJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-BatchPredictionJob))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::CreateBatchPredictionJobRequest.new

# Call the create_batch_prediction_job method.
result = client.create_batch_prediction_job request

# The returned object is of type Google::Cloud::AIPlatform::V1::BatchPredictionJob.
p result
```

### #create_custom_job

    def create_custom_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::CustomJob
    def create_custom_job(parent: nil, custom_job: nil) -> ::Google::Cloud::AIPlatform::V1::CustomJob

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

    def create_custom_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::CustomJob

Pass arguments to `create_custom_job` via a request object, either of type [CreateCustomJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CreateCustomJobRequest "Google::Cloud::AIPlatform::V1::CreateCustomJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::CreateCustomJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CreateCustomJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def create_custom_job(parent: nil, custom_job: nil) -> ::Google::Cloud::AIPlatform::V1::CustomJob

Pass arguments to `create_custom_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The resource name of the Location to create the CustomJob in. Format: `projects/{project}/locations/{location}`
- **custom_job** ([::Google::Cloud::AIPlatform::V1::CustomJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CustomJob), ::Hash) --- Required. The CustomJob to create.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::AIPlatform::V1::CustomJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CustomJob))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::AIPlatform::V1::CustomJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CustomJob))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::CreateCustomJobRequest.new

# Call the create_custom_job method.
result = client.create_custom_job request

# The returned object is of type Google::Cloud::AIPlatform::V1::CustomJob.
p result
```

### #create_data_labeling_job

    def create_data_labeling_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::DataLabelingJob
    def create_data_labeling_job(parent: nil, data_labeling_job: nil) -> ::Google::Cloud::AIPlatform::V1::DataLabelingJob

Creates a DataLabelingJob.
**Overloads**

    def create_data_labeling_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::DataLabelingJob

Pass arguments to `create_data_labeling_job` via a request object, either of type [CreateDataLabelingJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CreateDataLabelingJobRequest "Google::Cloud::AIPlatform::V1::CreateDataLabelingJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::CreateDataLabelingJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CreateDataLabelingJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def create_data_labeling_job(parent: nil, data_labeling_job: nil) -> ::Google::Cloud::AIPlatform::V1::DataLabelingJob

Pass arguments to `create_data_labeling_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The parent of the DataLabelingJob. Format: `projects/{project}/locations/{location}`
- **data_labeling_job** ([::Google::Cloud::AIPlatform::V1::DataLabelingJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DataLabelingJob), ::Hash) --- Required. The DataLabelingJob to create.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::AIPlatform::V1::DataLabelingJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DataLabelingJob))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::AIPlatform::V1::DataLabelingJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DataLabelingJob))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::CreateDataLabelingJobRequest.new

# Call the create_data_labeling_job method.
result = client.create_data_labeling_job request

# The returned object is of type Google::Cloud::AIPlatform::V1::DataLabelingJob.
p result
```

### #create_hyperparameter_tuning_job

    def create_hyperparameter_tuning_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob
    def create_hyperparameter_tuning_job(parent: nil, hyperparameter_tuning_job: nil) -> ::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob

Creates a HyperparameterTuningJob
**Overloads**

    def create_hyperparameter_tuning_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob

Pass arguments to `create_hyperparameter_tuning_job` via a request object, either of type [CreateHyperparameterTuningJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CreateHyperparameterTuningJobRequest "Google::Cloud::AIPlatform::V1::CreateHyperparameterTuningJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::CreateHyperparameterTuningJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CreateHyperparameterTuningJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def create_hyperparameter_tuning_job(parent: nil, hyperparameter_tuning_job: nil) -> ::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob

Pass arguments to `create_hyperparameter_tuning_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The resource name of the Location to create the HyperparameterTuningJob in. Format: `projects/{project}/locations/{location}`
- **hyperparameter_tuning_job** ([::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-HyperparameterTuningJob), ::Hash) --- Required. The HyperparameterTuningJob to create.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-HyperparameterTuningJob))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-HyperparameterTuningJob))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::CreateHyperparameterTuningJobRequest.new

# Call the create_hyperparameter_tuning_job method.
result = client.create_hyperparameter_tuning_job request

# The returned object is of type Google::Cloud::AIPlatform::V1::HyperparameterTuningJob.
p result
```

### #create_model_deployment_monitoring_job

    def create_model_deployment_monitoring_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob
    def create_model_deployment_monitoring_job(parent: nil, model_deployment_monitoring_job: nil) -> ::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob

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

    def create_model_deployment_monitoring_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob

Pass arguments to `create_model_deployment_monitoring_job` via a request object, either of type [CreateModelDeploymentMonitoringJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CreateModelDeploymentMonitoringJobRequest "Google::Cloud::AIPlatform::V1::CreateModelDeploymentMonitoringJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::CreateModelDeploymentMonitoringJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CreateModelDeploymentMonitoringJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def create_model_deployment_monitoring_job(parent: nil, model_deployment_monitoring_job: nil) -> ::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob

Pass arguments to `create_model_deployment_monitoring_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The parent of the ModelDeploymentMonitoringJob. Format: `projects/{project}/locations/{location}`
- **model_deployment_monitoring_job** ([::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelDeploymentMonitoringJob), ::Hash) --- Required. The ModelDeploymentMonitoringJob to create
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelDeploymentMonitoringJob))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelDeploymentMonitoringJob))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::CreateModelDeploymentMonitoringJobRequest.new

# Call the create_model_deployment_monitoring_job method.
result = client.create_model_deployment_monitoring_job request

# The returned object is of type Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob.
p result
```

### #create_nas_job

    def create_nas_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::NasJob
    def create_nas_job(parent: nil, nas_job: nil) -> ::Google::Cloud::AIPlatform::V1::NasJob

Creates a NasJob
**Overloads**

    def create_nas_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::NasJob

Pass arguments to `create_nas_job` via a request object, either of type [CreateNasJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CreateNasJobRequest "Google::Cloud::AIPlatform::V1::CreateNasJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::CreateNasJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CreateNasJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def create_nas_job(parent: nil, nas_job: nil) -> ::Google::Cloud::AIPlatform::V1::NasJob

Pass arguments to `create_nas_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The resource name of the Location to create the NasJob in. Format: `projects/{project}/locations/{location}`
- **nas_job** ([::Google::Cloud::AIPlatform::V1::NasJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-NasJob), ::Hash) --- Required. The NasJob to create.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::AIPlatform::V1::NasJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-NasJob))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::AIPlatform::V1::NasJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-NasJob))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::CreateNasJobRequest.new

# Call the create_nas_job method.
result = client.create_nas_job request

# The returned object is of type Google::Cloud::AIPlatform::V1::NasJob.
p result
```

### #delete_batch_prediction_job

    def delete_batch_prediction_job(request, options = nil) -> ::Gapic::Operation
    def delete_batch_prediction_job(name: nil) -> ::Gapic::Operation

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

    def delete_batch_prediction_job(request, options = nil) -> ::Gapic::Operation

Pass arguments to `delete_batch_prediction_job` via a request object, either of type [DeleteBatchPredictionJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DeleteBatchPredictionJobRequest "Google::Cloud::AIPlatform::V1::DeleteBatchPredictionJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::DeleteBatchPredictionJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DeleteBatchPredictionJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def delete_batch_prediction_job(name: nil) -> ::Gapic::Operation

Pass arguments to `delete_batch_prediction_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the BatchPredictionJob resource to be deleted. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::Operation)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::Operation)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::DeleteBatchPredictionJobRequest.new

# Call the delete_batch_prediction_job method.
result = client.delete_batch_prediction_job request

# The returned object is of type Gapic::Operation. You can use it to
# check the status of an operation, cancel it, or wait for results.
# Here is how to wait for a response.
result.wait_until_done! timeout: 60
if result.response?
  p result.response
else
  puts "No response received."
end
```

### #delete_custom_job

    def delete_custom_job(request, options = nil) -> ::Gapic::Operation
    def delete_custom_job(name: nil) -> ::Gapic::Operation

Deletes a CustomJob.
**Overloads**

    def delete_custom_job(request, options = nil) -> ::Gapic::Operation

Pass arguments to `delete_custom_job` via a request object, either of type [DeleteCustomJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DeleteCustomJobRequest "Google::Cloud::AIPlatform::V1::DeleteCustomJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::DeleteCustomJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DeleteCustomJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def delete_custom_job(name: nil) -> ::Gapic::Operation

Pass arguments to `delete_custom_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the CustomJob resource to be deleted. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::Operation)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::Operation)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::DeleteCustomJobRequest.new

# Call the delete_custom_job method.
result = client.delete_custom_job request

# The returned object is of type Gapic::Operation. You can use it to
# check the status of an operation, cancel it, or wait for results.
# Here is how to wait for a response.
result.wait_until_done! timeout: 60
if result.response?
  p result.response
else
  puts "No response received."
end
```

### #delete_data_labeling_job

    def delete_data_labeling_job(request, options = nil) -> ::Gapic::Operation
    def delete_data_labeling_job(name: nil) -> ::Gapic::Operation

Deletes a DataLabelingJob.
**Overloads**

    def delete_data_labeling_job(request, options = nil) -> ::Gapic::Operation

Pass arguments to `delete_data_labeling_job` via a request object, either of type [DeleteDataLabelingJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DeleteDataLabelingJobRequest "Google::Cloud::AIPlatform::V1::DeleteDataLabelingJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::DeleteDataLabelingJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DeleteDataLabelingJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def delete_data_labeling_job(name: nil) -> ::Gapic::Operation

Pass arguments to `delete_data_labeling_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the DataLabelingJob to be deleted. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::Operation)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::Operation)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::DeleteDataLabelingJobRequest.new

# Call the delete_data_labeling_job method.
result = client.delete_data_labeling_job request

# The returned object is of type Gapic::Operation. You can use it to
# check the status of an operation, cancel it, or wait for results.
# Here is how to wait for a response.
result.wait_until_done! timeout: 60
if result.response?
  p result.response
else
  puts "No response received."
end
```

### #delete_hyperparameter_tuning_job

    def delete_hyperparameter_tuning_job(request, options = nil) -> ::Gapic::Operation
    def delete_hyperparameter_tuning_job(name: nil) -> ::Gapic::Operation

Deletes a HyperparameterTuningJob.
**Overloads**

    def delete_hyperparameter_tuning_job(request, options = nil) -> ::Gapic::Operation

Pass arguments to `delete_hyperparameter_tuning_job` via a request object, either of type [DeleteHyperparameterTuningJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DeleteHyperparameterTuningJobRequest "Google::Cloud::AIPlatform::V1::DeleteHyperparameterTuningJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::DeleteHyperparameterTuningJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DeleteHyperparameterTuningJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def delete_hyperparameter_tuning_job(name: nil) -> ::Gapic::Operation

Pass arguments to `delete_hyperparameter_tuning_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the HyperparameterTuningJob resource to be deleted. Format: `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::Operation)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::Operation)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::DeleteHyperparameterTuningJobRequest.new

# Call the delete_hyperparameter_tuning_job method.
result = client.delete_hyperparameter_tuning_job request

# The returned object is of type Gapic::Operation. You can use it to
# check the status of an operation, cancel it, or wait for results.
# Here is how to wait for a response.
result.wait_until_done! timeout: 60
if result.response?
  p result.response
else
  puts "No response received."
end
```

### #delete_model_deployment_monitoring_job

    def delete_model_deployment_monitoring_job(request, options = nil) -> ::Gapic::Operation
    def delete_model_deployment_monitoring_job(name: nil) -> ::Gapic::Operation

Deletes a ModelDeploymentMonitoringJob.
**Overloads**

    def delete_model_deployment_monitoring_job(request, options = nil) -> ::Gapic::Operation

Pass arguments to `delete_model_deployment_monitoring_job` via a request object, either of type [DeleteModelDeploymentMonitoringJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DeleteModelDeploymentMonitoringJobRequest "Google::Cloud::AIPlatform::V1::DeleteModelDeploymentMonitoringJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::DeleteModelDeploymentMonitoringJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DeleteModelDeploymentMonitoringJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def delete_model_deployment_monitoring_job(name: nil) -> ::Gapic::Operation

Pass arguments to `delete_model_deployment_monitoring_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The resource name of the model monitoring job to delete. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::Operation)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::Operation)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::DeleteModelDeploymentMonitoringJobRequest.new

# Call the delete_model_deployment_monitoring_job method.
result = client.delete_model_deployment_monitoring_job request

# The returned object is of type Gapic::Operation. You can use it to
# check the status of an operation, cancel it, or wait for results.
# Here is how to wait for a response.
result.wait_until_done! timeout: 60
if result.response?
  p result.response
else
  puts "No response received."
end
```

### #delete_nas_job

    def delete_nas_job(request, options = nil) -> ::Gapic::Operation
    def delete_nas_job(name: nil) -> ::Gapic::Operation

Deletes a NasJob.
**Overloads**

    def delete_nas_job(request, options = nil) -> ::Gapic::Operation

Pass arguments to `delete_nas_job` via a request object, either of type [DeleteNasJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DeleteNasJobRequest "Google::Cloud::AIPlatform::V1::DeleteNasJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::DeleteNasJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DeleteNasJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def delete_nas_job(name: nil) -> ::Gapic::Operation

Pass arguments to `delete_nas_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the NasJob resource to be deleted. Format: `projects/{project}/locations/{location}/nasJobs/{nas_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::Operation)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::Operation)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::DeleteNasJobRequest.new

# Call the delete_nas_job method.
result = client.delete_nas_job request

# The returned object is of type Gapic::Operation. You can use it to
# check the status of an operation, cancel it, or wait for results.
# Here is how to wait for a response.
result.wait_until_done! timeout: 60
if result.response?
  p result.response
else
  puts "No response received."
end
```

### #get_batch_prediction_job

    def get_batch_prediction_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::BatchPredictionJob
    def get_batch_prediction_job(name: nil) -> ::Google::Cloud::AIPlatform::V1::BatchPredictionJob

Gets a BatchPredictionJob
**Overloads**

    def get_batch_prediction_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::BatchPredictionJob

Pass arguments to `get_batch_prediction_job` via a request object, either of type [GetBatchPredictionJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GetBatchPredictionJobRequest "Google::Cloud::AIPlatform::V1::GetBatchPredictionJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::GetBatchPredictionJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GetBatchPredictionJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def get_batch_prediction_job(name: nil) -> ::Google::Cloud::AIPlatform::V1::BatchPredictionJob

Pass arguments to `get_batch_prediction_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the BatchPredictionJob resource. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::AIPlatform::V1::BatchPredictionJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-BatchPredictionJob))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::AIPlatform::V1::BatchPredictionJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-BatchPredictionJob))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::GetBatchPredictionJobRequest.new

# Call the get_batch_prediction_job method.
result = client.get_batch_prediction_job request

# The returned object is of type Google::Cloud::AIPlatform::V1::BatchPredictionJob.
p result
```

### #get_custom_job

    def get_custom_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::CustomJob
    def get_custom_job(name: nil) -> ::Google::Cloud::AIPlatform::V1::CustomJob

Gets a CustomJob.
**Overloads**

    def get_custom_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::CustomJob

Pass arguments to `get_custom_job` via a request object, either of type [GetCustomJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GetCustomJobRequest "Google::Cloud::AIPlatform::V1::GetCustomJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::GetCustomJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GetCustomJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def get_custom_job(name: nil) -> ::Google::Cloud::AIPlatform::V1::CustomJob

Pass arguments to `get_custom_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the CustomJob resource. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::AIPlatform::V1::CustomJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CustomJob))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::AIPlatform::V1::CustomJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CustomJob))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::GetCustomJobRequest.new

# Call the get_custom_job method.
result = client.get_custom_job request

# The returned object is of type Google::Cloud::AIPlatform::V1::CustomJob.
p result
```

### #get_data_labeling_job

    def get_data_labeling_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::DataLabelingJob
    def get_data_labeling_job(name: nil) -> ::Google::Cloud::AIPlatform::V1::DataLabelingJob

Gets a DataLabelingJob.
**Overloads**

    def get_data_labeling_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::DataLabelingJob

Pass arguments to `get_data_labeling_job` via a request object, either of type [GetDataLabelingJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GetDataLabelingJobRequest "Google::Cloud::AIPlatform::V1::GetDataLabelingJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::GetDataLabelingJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GetDataLabelingJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def get_data_labeling_job(name: nil) -> ::Google::Cloud::AIPlatform::V1::DataLabelingJob

Pass arguments to `get_data_labeling_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the DataLabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::AIPlatform::V1::DataLabelingJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DataLabelingJob))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::AIPlatform::V1::DataLabelingJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DataLabelingJob))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::GetDataLabelingJobRequest.new

# Call the get_data_labeling_job method.
result = client.get_data_labeling_job request

# The returned object is of type Google::Cloud::AIPlatform::V1::DataLabelingJob.
p result
```

### #get_hyperparameter_tuning_job

    def get_hyperparameter_tuning_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob
    def get_hyperparameter_tuning_job(name: nil) -> ::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob

Gets a HyperparameterTuningJob
**Overloads**

    def get_hyperparameter_tuning_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob

Pass arguments to `get_hyperparameter_tuning_job` via a request object, either of type [GetHyperparameterTuningJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GetHyperparameterTuningJobRequest "Google::Cloud::AIPlatform::V1::GetHyperparameterTuningJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::GetHyperparameterTuningJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GetHyperparameterTuningJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def get_hyperparameter_tuning_job(name: nil) -> ::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob

Pass arguments to `get_hyperparameter_tuning_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the HyperparameterTuningJob resource. Format: `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-HyperparameterTuningJob))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-HyperparameterTuningJob))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::GetHyperparameterTuningJobRequest.new

# Call the get_hyperparameter_tuning_job method.
result = client.get_hyperparameter_tuning_job request

# The returned object is of type Google::Cloud::AIPlatform::V1::HyperparameterTuningJob.
p result
```

### #get_model_deployment_monitoring_job

    def get_model_deployment_monitoring_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob
    def get_model_deployment_monitoring_job(name: nil) -> ::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob

Gets a ModelDeploymentMonitoringJob.
**Overloads**

    def get_model_deployment_monitoring_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob

Pass arguments to `get_model_deployment_monitoring_job` via a request object, either of type [GetModelDeploymentMonitoringJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GetModelDeploymentMonitoringJobRequest "Google::Cloud::AIPlatform::V1::GetModelDeploymentMonitoringJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::GetModelDeploymentMonitoringJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GetModelDeploymentMonitoringJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def get_model_deployment_monitoring_job(name: nil) -> ::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob

Pass arguments to `get_model_deployment_monitoring_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The resource name of the ModelDeploymentMonitoringJob. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelDeploymentMonitoringJob))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelDeploymentMonitoringJob))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::GetModelDeploymentMonitoringJobRequest.new

# Call the get_model_deployment_monitoring_job method.
result = client.get_model_deployment_monitoring_job request

# The returned object is of type Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob.
p result
```

### #get_nas_job

    def get_nas_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::NasJob
    def get_nas_job(name: nil) -> ::Google::Cloud::AIPlatform::V1::NasJob

Gets a NasJob
**Overloads**

    def get_nas_job(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::NasJob

Pass arguments to `get_nas_job` via a request object, either of type [GetNasJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GetNasJobRequest "Google::Cloud::AIPlatform::V1::GetNasJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::GetNasJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GetNasJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def get_nas_job(name: nil) -> ::Google::Cloud::AIPlatform::V1::NasJob

Pass arguments to `get_nas_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the NasJob resource. Format: `projects/{project}/locations/{location}/nasJobs/{nas_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::AIPlatform::V1::NasJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-NasJob))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::AIPlatform::V1::NasJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-NasJob))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::GetNasJobRequest.new

# Call the get_nas_job method.
result = client.get_nas_job request

# The returned object is of type Google::Cloud::AIPlatform::V1::NasJob.
p result
```

### #get_nas_trial_detail

    def get_nas_trial_detail(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::NasTrialDetail
    def get_nas_trial_detail(name: nil) -> ::Google::Cloud::AIPlatform::V1::NasTrialDetail

Gets a NasTrialDetail.
**Overloads**

    def get_nas_trial_detail(request, options = nil) -> ::Google::Cloud::AIPlatform::V1::NasTrialDetail

Pass arguments to `get_nas_trial_detail` via a request object, either of type [GetNasTrialDetailRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GetNasTrialDetailRequest "Google::Cloud::AIPlatform::V1::GetNasTrialDetailRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::GetNasTrialDetailRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-GetNasTrialDetailRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def get_nas_trial_detail(name: nil) -> ::Google::Cloud::AIPlatform::V1::NasTrialDetail

Pass arguments to `get_nas_trial_detail` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the NasTrialDetail resource. Format: `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::AIPlatform::V1::NasTrialDetail](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-NasTrialDetail))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::AIPlatform::V1::NasTrialDetail](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-NasTrialDetail))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::GetNasTrialDetailRequest.new

# Call the get_nas_trial_detail method.
result = client.get_nas_trial_detail request

# The returned object is of type Google::Cloud::AIPlatform::V1::NasTrialDetail.
p result
```

### #iam_policy_client

    def iam_policy_client() -> Google::Iam::V1::IAMPolicy::Client

Get the associated client for mix-in of the IAMPolicy.
**Returns**

- (Google::Iam::V1::IAMPolicy::Client)

### #initialize

    def initialize() { |config| ... } -> Client

Create a new JobService client object.
**Yields**

- (config) --- Configure the JobService client.
**Yield Parameter**

- **config** ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client-Configuration))
**Returns**

- ([Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client)) --- a new instance of Client
**Example**

```ruby
# Create a client using the default configuration
client = ::Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a client using a custom configuration
client = ::Google::Cloud::AIPlatform::V1::JobService::Client.new do |config|
  config.timeout = 10.0
end
```

### #list_batch_prediction_jobs

    def list_batch_prediction_jobs(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::BatchPredictionJob>
    def list_batch_prediction_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil, read_mask: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::BatchPredictionJob>

Lists BatchPredictionJobs in a Location.
**Overloads**

    def list_batch_prediction_jobs(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::BatchPredictionJob>

Pass arguments to `list_batch_prediction_jobs` via a request object, either of type [ListBatchPredictionJobsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListBatchPredictionJobsRequest "Google::Cloud::AIPlatform::V1::ListBatchPredictionJobsRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::ListBatchPredictionJobsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListBatchPredictionJobsRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def list_batch_prediction_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil, read_mask: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::BatchPredictionJob>

Pass arguments to `list_batch_prediction_jobs` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The resource name of the Location to list the BatchPredictionJobs from. Format: `projects/{project}/locations/{location}`
- **filter** (::String) ---

  The standard list filter.

  Supported fields:
  - `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
  - `model_display_name` supports `=`, `!=` comparisons.
  - `state` supports `=`, `!=` comparisons.
  - `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format.
  - `labels` supports general map functions that is: `labels.key=value` - key:value equality \`labels.key:\* - key existence

  Some examples of using the filter are:
  - `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
  - `state!="JOB_STATE_FAILED" OR display_name="my_job"`
  - `NOT display_name="my_job"`
  - `create_time>"2021-05-18T00:00:00Z"`
  - `labels.keyA=valueA`
  - `labels.keyB:*`
- **page_size** (::Integer) --- The standard list page size.
- **page_token** (::String) --- The standard list page token. Typically obtained via [ListBatchPredictionJobsResponse.next_page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListBatchPredictionJobsResponse#Google__Cloud__AIPlatform__V1__ListBatchPredictionJobsResponse_next_page_token_instance_ "Google::Cloud::AIPlatform::V1::ListBatchPredictionJobsResponse#next_page_token (method)") of the previous [JobService.ListBatchPredictionJobs](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client#Google__Cloud__AIPlatform__V1__JobService__Client_list_batch_prediction_jobs_instance_ "Google::Cloud::AIPlatform::V1::JobService::Client#list_batch_prediction_jobs (method)") call.
- **read_mask** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-FieldMask), ::Hash) --- Mask specifying which fields to read.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::BatchPredictionJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-BatchPredictionJob)\>)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::BatchPredictionJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-BatchPredictionJob)\>)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::ListBatchPredictionJobsRequest.new

# Call the list_batch_prediction_jobs method.
result = client.list_batch_prediction_jobs request

# The returned object is of type Gapic::PagedEnumerable. You can iterate
# over elements, and API calls will be issued to fetch pages as needed.
result.each do |item|
  # Each element is of type ::Google::Cloud::AIPlatform::V1::BatchPredictionJob.
  p item
end
```

### #list_custom_jobs

    def list_custom_jobs(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::CustomJob>
    def list_custom_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil, read_mask: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::CustomJob>

Lists CustomJobs in a Location.
**Overloads**

    def list_custom_jobs(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::CustomJob>

Pass arguments to `list_custom_jobs` via a request object, either of type [ListCustomJobsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListCustomJobsRequest "Google::Cloud::AIPlatform::V1::ListCustomJobsRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::ListCustomJobsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListCustomJobsRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def list_custom_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil, read_mask: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::CustomJob>

Pass arguments to `list_custom_jobs` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The resource name of the Location to list the CustomJobs from. Format: `projects/{project}/locations/{location}`
- **filter** (::String) ---

  The standard list filter.

  Supported fields:
  - `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
  - `state` supports `=`, `!=` comparisons.
  - `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format.
  - `labels` supports general map functions that is: `labels.key=value` - key:value equality \`labels.key:\* - key existence

  Some examples of using the filter are:
  - `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
  - `state!="JOB_STATE_FAILED" OR display_name="my_job"`
  - `NOT display_name="my_job"`
  - `create_time>"2021-05-18T00:00:00Z"`
  - `labels.keyA=valueA`
  - `labels.keyB:*`
- **page_size** (::Integer) --- The standard list page size.
- **page_token** (::String) --- The standard list page token. Typically obtained via [ListCustomJobsResponse.next_page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListCustomJobsResponse#Google__Cloud__AIPlatform__V1__ListCustomJobsResponse_next_page_token_instance_ "Google::Cloud::AIPlatform::V1::ListCustomJobsResponse#next_page_token (method)") of the previous [JobService.ListCustomJobs](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client#Google__Cloud__AIPlatform__V1__JobService__Client_list_custom_jobs_instance_ "Google::Cloud::AIPlatform::V1::JobService::Client#list_custom_jobs (method)") call.
- **read_mask** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-FieldMask), ::Hash) --- Mask specifying which fields to read.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::CustomJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CustomJob)\>)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::CustomJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-CustomJob)\>)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::ListCustomJobsRequest.new

# Call the list_custom_jobs method.
result = client.list_custom_jobs request

# The returned object is of type Gapic::PagedEnumerable. You can iterate
# over elements, and API calls will be issued to fetch pages as needed.
result.each do |item|
  # Each element is of type ::Google::Cloud::AIPlatform::V1::CustomJob.
  p item
end
```

### #list_data_labeling_jobs

    def list_data_labeling_jobs(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::DataLabelingJob>
    def list_data_labeling_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil, read_mask: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::DataLabelingJob>

Lists DataLabelingJobs in a Location.
**Overloads**

    def list_data_labeling_jobs(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::DataLabelingJob>

Pass arguments to `list_data_labeling_jobs` via a request object, either of type [ListDataLabelingJobsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListDataLabelingJobsRequest "Google::Cloud::AIPlatform::V1::ListDataLabelingJobsRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::ListDataLabelingJobsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListDataLabelingJobsRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def list_data_labeling_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil, read_mask: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::DataLabelingJob>

Pass arguments to `list_data_labeling_jobs` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The parent of the DataLabelingJob. Format: `projects/{project}/locations/{location}`
- **filter** (::String) ---

  The standard list filter.

  Supported fields:
  - `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
  - `state` supports `=`, `!=` comparisons.
  - `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format.
  - `labels` supports general map functions that is: `labels.key=value` - key:value equality \`labels.key:\* - key existence

  Some examples of using the filter are:
  - `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
  - `state!="JOB_STATE_FAILED" OR display_name="my_job"`
  - `NOT display_name="my_job"`
  - `create_time>"2021-05-18T00:00:00Z"`
  - `labels.keyA=valueA`
  - `labels.keyB:*`
- **page_size** (::Integer) --- The standard list page size.
- **page_token** (::String) --- The standard list page token.
- **read_mask** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-FieldMask), ::Hash) --- Mask specifying which fields to read. FieldMask represents a set of symbolic field paths. For example, the mask can be `paths: "name"`. The "name" here is a field in DataLabelingJob. If this field is not set, all fields of the DataLabelingJob are returned.
- **order_by** (::String) --- A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::DataLabelingJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DataLabelingJob)\>)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::DataLabelingJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DataLabelingJob)\>)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::ListDataLabelingJobsRequest.new

# Call the list_data_labeling_jobs method.
result = client.list_data_labeling_jobs request

# The returned object is of type Gapic::PagedEnumerable. You can iterate
# over elements, and API calls will be issued to fetch pages as needed.
result.each do |item|
  # Each element is of type ::Google::Cloud::AIPlatform::V1::DataLabelingJob.
  p item
end
```

### #list_hyperparameter_tuning_jobs

    def list_hyperparameter_tuning_jobs(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob>
    def list_hyperparameter_tuning_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil, read_mask: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob>

Lists HyperparameterTuningJobs in a Location.
**Overloads**

    def list_hyperparameter_tuning_jobs(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob>

Pass arguments to `list_hyperparameter_tuning_jobs` via a request object, either of type [ListHyperparameterTuningJobsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListHyperparameterTuningJobsRequest "Google::Cloud::AIPlatform::V1::ListHyperparameterTuningJobsRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::ListHyperparameterTuningJobsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListHyperparameterTuningJobsRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def list_hyperparameter_tuning_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil, read_mask: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob>

Pass arguments to `list_hyperparameter_tuning_jobs` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The resource name of the Location to list the HyperparameterTuningJobs from. Format: `projects/{project}/locations/{location}`
- **filter** (::String) ---

  The standard list filter.

  Supported fields:
  - `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
  - `state` supports `=`, `!=` comparisons.
  - `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format.
  - `labels` supports general map functions that is: `labels.key=value` - key:value equality \`labels.key:\* - key existence

  Some examples of using the filter are:
  - `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
  - `state!="JOB_STATE_FAILED" OR display_name="my_job"`
  - `NOT display_name="my_job"`
  - `create_time>"2021-05-18T00:00:00Z"`
  - `labels.keyA=valueA`
  - `labels.keyB:*`
- **page_size** (::Integer) --- The standard list page size.
- **page_token** (::String) --- The standard list page token. Typically obtained via [ListHyperparameterTuningJobsResponse.next_page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListHyperparameterTuningJobsResponse#Google__Cloud__AIPlatform__V1__ListHyperparameterTuningJobsResponse_next_page_token_instance_ "Google::Cloud::AIPlatform::V1::ListHyperparameterTuningJobsResponse#next_page_token (method)") of the previous [JobService.ListHyperparameterTuningJobs](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client#Google__Cloud__AIPlatform__V1__JobService__Client_list_hyperparameter_tuning_jobs_instance_ "Google::Cloud::AIPlatform::V1::JobService::Client#list_hyperparameter_tuning_jobs (method)") call.
- **read_mask** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-FieldMask), ::Hash) --- Mask specifying which fields to read.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-HyperparameterTuningJob)\>)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-HyperparameterTuningJob)\>)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::ListHyperparameterTuningJobsRequest.new

# Call the list_hyperparameter_tuning_jobs method.
result = client.list_hyperparameter_tuning_jobs request

# The returned object is of type Gapic::PagedEnumerable. You can iterate
# over elements, and API calls will be issued to fetch pages as needed.
result.each do |item|
  # Each element is of type ::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob.
  p item
end
```

### #list_model_deployment_monitoring_jobs

    def list_model_deployment_monitoring_jobs(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob>
    def list_model_deployment_monitoring_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil, read_mask: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob>

Lists ModelDeploymentMonitoringJobs in a Location.
**Overloads**

    def list_model_deployment_monitoring_jobs(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob>

Pass arguments to `list_model_deployment_monitoring_jobs` via a request object, either of type [ListModelDeploymentMonitoringJobsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListModelDeploymentMonitoringJobsRequest "Google::Cloud::AIPlatform::V1::ListModelDeploymentMonitoringJobsRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::ListModelDeploymentMonitoringJobsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListModelDeploymentMonitoringJobsRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def list_model_deployment_monitoring_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil, read_mask: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob>

Pass arguments to `list_model_deployment_monitoring_jobs` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The parent of the ModelDeploymentMonitoringJob. Format: `projects/{project}/locations/{location}`
- **filter** (::String) ---

  The standard list filter.

  Supported fields:
  - `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
  - `state` supports `=`, `!=` comparisons.
  - `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format.
  - `labels` supports general map functions that is: `labels.key=value` - key:value equality \`labels.key:\* - key existence

  Some examples of using the filter are:
  - `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
  - `state!="JOB_STATE_FAILED" OR display_name="my_job"`
  - `NOT display_name="my_job"`
  - `create_time>"2021-05-18T00:00:00Z"`
  - `labels.keyA=valueA`
  - `labels.keyB:*`
- **page_size** (::Integer) --- The standard list page size.
- **page_token** (::String) --- The standard list page token.
- **read_mask** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-FieldMask), ::Hash) --- Mask specifying which fields to read
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelDeploymentMonitoringJob)\>)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelDeploymentMonitoringJob)\>)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::ListModelDeploymentMonitoringJobsRequest.new

# Call the list_model_deployment_monitoring_jobs method.
result = client.list_model_deployment_monitoring_jobs request

# The returned object is of type Gapic::PagedEnumerable. You can iterate
# over elements, and API calls will be issued to fetch pages as needed.
result.each do |item|
  # Each element is of type ::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob.
  p item
end
```

### #list_nas_jobs

    def list_nas_jobs(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::NasJob>
    def list_nas_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil, read_mask: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::NasJob>

Lists NasJobs in a Location.
**Overloads**

    def list_nas_jobs(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::NasJob>

Pass arguments to `list_nas_jobs` via a request object, either of type [ListNasJobsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListNasJobsRequest "Google::Cloud::AIPlatform::V1::ListNasJobsRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::ListNasJobsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListNasJobsRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def list_nas_jobs(parent: nil, filter: nil, page_size: nil, page_token: nil, read_mask: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::NasJob>

Pass arguments to `list_nas_jobs` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The resource name of the Location to list the NasJobs from. Format: `projects/{project}/locations/{location}`
- **filter** (::String) ---

  The standard list filter.

  Supported fields:
  - `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
  - `state` supports `=`, `!=` comparisons.
  - `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format.
  - `labels` supports general map functions that is: `labels.key=value` - key:value equality \`labels.key:\* - key existence

  Some examples of using the filter are:
  - `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
  - `state!="JOB_STATE_FAILED" OR display_name="my_job"`
  - `NOT display_name="my_job"`
  - `create_time>"2021-05-18T00:00:00Z"`
  - `labels.keyA=valueA`
  - `labels.keyB:*`
- **page_size** (::Integer) --- The standard list page size.
- **page_token** (::String) --- The standard list page token. Typically obtained via [ListNasJobsResponse.next_page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListNasJobsResponse#Google__Cloud__AIPlatform__V1__ListNasJobsResponse_next_page_token_instance_ "Google::Cloud::AIPlatform::V1::ListNasJobsResponse#next_page_token (method)") of the previous [JobService.ListNasJobs](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client#Google__Cloud__AIPlatform__V1__JobService__Client_list_nas_jobs_instance_ "Google::Cloud::AIPlatform::V1::JobService::Client#list_nas_jobs (method)") call.
- **read_mask** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-FieldMask), ::Hash) --- Mask specifying which fields to read.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::NasJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-NasJob)\>)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::NasJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-NasJob)\>)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::ListNasJobsRequest.new

# Call the list_nas_jobs method.
result = client.list_nas_jobs request

# The returned object is of type Gapic::PagedEnumerable. You can iterate
# over elements, and API calls will be issued to fetch pages as needed.
result.each do |item|
  # Each element is of type ::Google::Cloud::AIPlatform::V1::NasJob.
  p item
end
```

### #list_nas_trial_details

    def list_nas_trial_details(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::NasTrialDetail>
    def list_nas_trial_details(parent: nil, page_size: nil, page_token: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::NasTrialDetail>

List top NasTrialDetails of a NasJob.
**Overloads**

    def list_nas_trial_details(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::NasTrialDetail>

Pass arguments to `list_nas_trial_details` via a request object, either of type [ListNasTrialDetailsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListNasTrialDetailsRequest "Google::Cloud::AIPlatform::V1::ListNasTrialDetailsRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::ListNasTrialDetailsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListNasTrialDetailsRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def list_nas_trial_details(parent: nil, page_size: nil, page_token: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::NasTrialDetail>

Pass arguments to `list_nas_trial_details` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The name of the NasJob resource. Format: `projects/{project}/locations/{location}/nasJobs/{nas_job}`
- **page_size** (::Integer) --- The standard list page size.
- **page_token** (::String) --- The standard list page token. Typically obtained via [ListNasTrialDetailsResponse.next_page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ListNasTrialDetailsResponse#Google__Cloud__AIPlatform__V1__ListNasTrialDetailsResponse_next_page_token_instance_ "Google::Cloud::AIPlatform::V1::ListNasTrialDetailsResponse#next_page_token (method)") of the previous [JobService.ListNasTrialDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client#Google__Cloud__AIPlatform__V1__JobService__Client_list_nas_trial_details_instance_ "Google::Cloud::AIPlatform::V1::JobService::Client#list_nas_trial_details (method)") call.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::NasTrialDetail](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-NasTrialDetail)\>)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::NasTrialDetail](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-NasTrialDetail)\>)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::ListNasTrialDetailsRequest.new

# Call the list_nas_trial_details method.
result = client.list_nas_trial_details request

# The returned object is of type Gapic::PagedEnumerable. You can iterate
# over elements, and API calls will be issued to fetch pages as needed.
result.each do |item|
  # Each element is of type ::Google::Cloud::AIPlatform::V1::NasTrialDetail.
  p item
end
```

### #location_client

    def location_client() -> Google::Cloud::Location::Locations::Client

Get the associated client for mix-in of the Locations.
**Returns**

- (Google::Cloud::Location::Locations::Client)

### #logger

    def logger() -> Logger

The logger used for request/response debug logging.
**Returns**

- (Logger)

### #operations_client

    def operations_client() -> ::Google::Cloud::AIPlatform::V1::JobService::Operations

Get the associated client for long-running operations.
**Returns**

- ([::Google::Cloud::AIPlatform::V1::JobService::Operations](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Operations))

### #pause_model_deployment_monitoring_job

    def pause_model_deployment_monitoring_job(request, options = nil) -> ::Google::Protobuf::Empty
    def pause_model_deployment_monitoring_job(name: nil) -> ::Google::Protobuf::Empty

Pauses a ModelDeploymentMonitoringJob. If the job is running, the server
makes a best effort to cancel the job. Will mark
[ModelDeploymentMonitoringJob.state](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelDeploymentMonitoringJob#Google__Cloud__AIPlatform__V1__ModelDeploymentMonitoringJob_state_instance_ "Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob#state (method)")
to 'PAUSED'.
**Overloads**

    def pause_model_deployment_monitoring_job(request, options = nil) -> ::Google::Protobuf::Empty

Pass arguments to `pause_model_deployment_monitoring_job` via a request object, either of type [PauseModelDeploymentMonitoringJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-PauseModelDeploymentMonitoringJobRequest "Google::Cloud::AIPlatform::V1::PauseModelDeploymentMonitoringJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::PauseModelDeploymentMonitoringJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-PauseModelDeploymentMonitoringJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def pause_model_deployment_monitoring_job(name: nil) -> ::Google::Protobuf::Empty

Pass arguments to `pause_model_deployment_monitoring_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The resource name of the ModelDeploymentMonitoringJob to pause. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Empty))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Empty))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::PauseModelDeploymentMonitoringJobRequest.new

# Call the pause_model_deployment_monitoring_job method.
result = client.pause_model_deployment_monitoring_job request

# The returned object is of type Google::Protobuf::Empty.
p result
```

### #resume_model_deployment_monitoring_job

    def resume_model_deployment_monitoring_job(request, options = nil) -> ::Google::Protobuf::Empty
    def resume_model_deployment_monitoring_job(name: nil) -> ::Google::Protobuf::Empty

Resumes a paused ModelDeploymentMonitoringJob. It will start to run from
next scheduled time. A deleted ModelDeploymentMonitoringJob can't be
resumed.
**Overloads**

    def resume_model_deployment_monitoring_job(request, options = nil) -> ::Google::Protobuf::Empty

Pass arguments to `resume_model_deployment_monitoring_job` via a request object, either of type [ResumeModelDeploymentMonitoringJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ResumeModelDeploymentMonitoringJobRequest "Google::Cloud::AIPlatform::V1::ResumeModelDeploymentMonitoringJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::ResumeModelDeploymentMonitoringJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ResumeModelDeploymentMonitoringJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def resume_model_deployment_monitoring_job(name: nil) -> ::Google::Protobuf::Empty

Pass arguments to `resume_model_deployment_monitoring_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The resource name of the ModelDeploymentMonitoringJob to resume. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Empty))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Empty))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::ResumeModelDeploymentMonitoringJobRequest.new

# Call the resume_model_deployment_monitoring_job method.
result = client.resume_model_deployment_monitoring_job request

# The returned object is of type Google::Protobuf::Empty.
p result
```

### #search_model_deployment_monitoring_stats_anomalies

    def search_model_deployment_monitoring_stats_anomalies(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::ModelMonitoringStatsAnomalies>
    def search_model_deployment_monitoring_stats_anomalies(model_deployment_monitoring_job: nil, deployed_model_id: nil, feature_display_name: nil, objectives: nil, page_size: nil, page_token: nil, start_time: nil, end_time: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::ModelMonitoringStatsAnomalies>

Searches Model Monitoring Statistics generated within a given time window.
**Overloads**

    def search_model_deployment_monitoring_stats_anomalies(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::ModelMonitoringStatsAnomalies>

Pass arguments to `search_model_deployment_monitoring_stats_anomalies` via a request object, either of type [SearchModelDeploymentMonitoringStatsAnomaliesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-SearchModelDeploymentMonitoringStatsAnomaliesRequest "Google::Cloud::AIPlatform::V1::SearchModelDeploymentMonitoringStatsAnomaliesRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::SearchModelDeploymentMonitoringStatsAnomaliesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-SearchModelDeploymentMonitoringStatsAnomaliesRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def search_model_deployment_monitoring_stats_anomalies(model_deployment_monitoring_job: nil, deployed_model_id: nil, feature_display_name: nil, objectives: nil, page_size: nil, page_token: nil, start_time: nil, end_time: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::ModelMonitoringStatsAnomalies>

Pass arguments to `search_model_deployment_monitoring_stats_anomalies` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **model_deployment_monitoring_job** (::String) --- Required. ModelDeploymentMonitoring Job resource name. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`
- **deployed_model_id** (::String) --- Required. The DeployedModel ID of the \[ModelDeploymentMonitoringObjectiveConfig.deployed_model_id\].
- **feature_display_name** (::String) --- The feature display name. If specified, only return the stats belonging to this feature. Format: [ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_name](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelMonitoringStatsAnomalies-FeatureHistoricStatsAnomalies#Google__Cloud__AIPlatform__V1__ModelMonitoringStatsAnomalies__FeatureHistoricStatsAnomalies_feature_display_name_instance_ "Google::Cloud::AIPlatform::V1::ModelMonitoringStatsAnomalies::FeatureHistoricStatsAnomalies#feature_display_name (method)"), example: "user_destination".
- **objectives** (::Array\<[::Google::Cloud::AIPlatform::V1::SearchModelDeploymentMonitoringStatsAnomaliesRequest::StatsAnomaliesObjective](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-SearchModelDeploymentMonitoringStatsAnomaliesRequest-StatsAnomaliesObjective), ::Hash\>) --- Required. Objectives of the stats to retrieve.
- **page_size** (::Integer) --- The standard list page size.
- **page_token** (::String) --- A page token received from a previous [JobService.SearchModelDeploymentMonitoringStatsAnomalies](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client#Google__Cloud__AIPlatform__V1__JobService__Client_search_model_deployment_monitoring_stats_anomalies_instance_ "Google::Cloud::AIPlatform::V1::JobService::Client#search_model_deployment_monitoring_stats_anomalies (method)") call.
- **start_time** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Timestamp), ::Hash) --- The earliest timestamp of stats being generated. If not set, indicates fetching stats till the earliest possible one.
- **end_time** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-Timestamp), ::Hash) --- The latest timestamp of stats being generated. If not set, indicates feching stats till the latest possible one.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::ModelMonitoringStatsAnomalies](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelMonitoringStatsAnomalies)\>)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::PagedEnumerable\<[::Google::Cloud::AIPlatform::V1::ModelMonitoringStatsAnomalies](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelMonitoringStatsAnomalies)\>)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::SearchModelDeploymentMonitoringStatsAnomaliesRequest.new

# Call the search_model_deployment_monitoring_stats_anomalies method.
result = client.search_model_deployment_monitoring_stats_anomalies request

# The returned object is of type Gapic::PagedEnumerable. You can iterate
# over elements, and API calls will be issued to fetch pages as needed.
result.each do |item|
  # Each element is of type ::Google::Cloud::AIPlatform::V1::ModelMonitoringStatsAnomalies.
  p item
end
```

### #universe_domain

    def universe_domain() -> String

The effective universe domain
**Returns**

- (String)

### #update_model_deployment_monitoring_job

    def update_model_deployment_monitoring_job(request, options = nil) -> ::Gapic::Operation
    def update_model_deployment_monitoring_job(model_deployment_monitoring_job: nil, update_mask: nil) -> ::Gapic::Operation

Updates a ModelDeploymentMonitoringJob.
**Overloads**

    def update_model_deployment_monitoring_job(request, options = nil) -> ::Gapic::Operation

Pass arguments to `update_model_deployment_monitoring_job` via a request object, either of type [UpdateModelDeploymentMonitoringJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-UpdateModelDeploymentMonitoringJobRequest "Google::Cloud::AIPlatform::V1::UpdateModelDeploymentMonitoringJobRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::AIPlatform::V1::UpdateModelDeploymentMonitoringJobRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-UpdateModelDeploymentMonitoringJobRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def update_model_deployment_monitoring_job(model_deployment_monitoring_job: nil, update_mask: nil) -> ::Gapic::Operation

Pass arguments to `update_model_deployment_monitoring_job` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **model_deployment_monitoring_job** ([::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelDeploymentMonitoringJob), ::Hash) --- Required. The model monitoring configuration which replaces the resource on the server.
- **update_mask** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Protobuf-FieldMask), ::Hash) ---

  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`
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::Operation)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::Operation)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/ai_platform/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::AIPlatform::V1::JobService::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::AIPlatform::V1::UpdateModelDeploymentMonitoringJobRequest.new

# Call the update_model_deployment_monitoring_job method.
result = client.update_model_deployment_monitoring_job request

# The returned object is of type Gapic::Operation. You can use it to
# check the status of an operation, cancel it, or wait for results.
# Here is how to wait for a response.
result.wait_until_done! timeout: 60
if result.response?
  p result.response
else
  puts "No response received."
end
```