Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::JobService::Rest::ServiceStub (v0.48.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::JobService::Rest::ServiceStub.

REST service stub for the JobService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#cancel_batch_prediction_job

def cancel_batch_prediction_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the cancel_batch_prediction_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#cancel_custom_job

def cancel_custom_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the cancel_custom_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#cancel_data_labeling_job

def cancel_data_labeling_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the cancel_data_labeling_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#cancel_hyperparameter_tuning_job

def cancel_hyperparameter_tuning_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the cancel_hyperparameter_tuning_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#cancel_nas_job

def cancel_nas_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the cancel_nas_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_batch_prediction_job

def create_batch_prediction_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::BatchPredictionJob

Baseline implementation for the create_batch_prediction_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_custom_job

def create_custom_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::CustomJob

Baseline implementation for the create_custom_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_data_labeling_job

def create_data_labeling_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::DataLabelingJob

Baseline implementation for the create_data_labeling_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_hyperparameter_tuning_job

def create_hyperparameter_tuning_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob

Baseline implementation for the create_hyperparameter_tuning_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_model_deployment_monitoring_job

def create_model_deployment_monitoring_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob

Baseline implementation for the create_model_deployment_monitoring_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_nas_job

def create_nas_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::NasJob

Baseline implementation for the create_nas_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_batch_prediction_job

def delete_batch_prediction_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_batch_prediction_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_custom_job

def delete_custom_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_custom_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_data_labeling_job

def delete_data_labeling_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_data_labeling_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_hyperparameter_tuning_job

def delete_hyperparameter_tuning_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_hyperparameter_tuning_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_model_deployment_monitoring_job

def delete_model_deployment_monitoring_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_model_deployment_monitoring_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_nas_job

def delete_nas_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_nas_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_batch_prediction_job

def get_batch_prediction_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::BatchPredictionJob

Baseline implementation for the get_batch_prediction_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_custom_job

def get_custom_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::CustomJob

Baseline implementation for the get_custom_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_data_labeling_job

def get_data_labeling_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::DataLabelingJob

Baseline implementation for the get_data_labeling_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_hyperparameter_tuning_job

def get_hyperparameter_tuning_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob

Baseline implementation for the get_hyperparameter_tuning_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_model_deployment_monitoring_job

def get_model_deployment_monitoring_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob

Baseline implementation for the get_model_deployment_monitoring_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_nas_job

def get_nas_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::NasJob

Baseline implementation for the get_nas_job REST call

Parameters
  • request_pb (::Google::Cloud::AIPlatform::V1::GetNasJobRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_nas_trial_detail

def get_nas_trial_detail(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::NasTrialDetail

Baseline implementation for the get_nas_trial_detail REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_batch_prediction_jobs

def list_batch_prediction_jobs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListBatchPredictionJobsResponse

Baseline implementation for the list_batch_prediction_jobs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_custom_jobs

def list_custom_jobs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListCustomJobsResponse

Baseline implementation for the list_custom_jobs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_data_labeling_jobs

def list_data_labeling_jobs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListDataLabelingJobsResponse

Baseline implementation for the list_data_labeling_jobs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_hyperparameter_tuning_jobs

def list_hyperparameter_tuning_jobs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListHyperparameterTuningJobsResponse

Baseline implementation for the list_hyperparameter_tuning_jobs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_model_deployment_monitoring_jobs

def list_model_deployment_monitoring_jobs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListModelDeploymentMonitoringJobsResponse

Baseline implementation for the list_model_deployment_monitoring_jobs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_nas_jobs

def list_nas_jobs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListNasJobsResponse

Baseline implementation for the list_nas_jobs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_nas_trial_details

def list_nas_trial_details(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListNasTrialDetailsResponse

Baseline implementation for the list_nas_trial_details REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#pause_model_deployment_monitoring_job

def pause_model_deployment_monitoring_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the pause_model_deployment_monitoring_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#resume_model_deployment_monitoring_job

def resume_model_deployment_monitoring_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the resume_model_deployment_monitoring_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#search_model_deployment_monitoring_stats_anomalies

def search_model_deployment_monitoring_stats_anomalies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::SearchModelDeploymentMonitoringStatsAnomaliesResponse

Baseline implementation for the search_model_deployment_monitoring_stats_anomalies REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_model_deployment_monitoring_job

def update_model_deployment_monitoring_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_model_deployment_monitoring_job REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)