Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::ModelService::Paths (v0.60.0)

Reference documentation and code samples for the Vertex AI V1 API module Google::Cloud::AIPlatform::V1::ModelService::Paths.

Path helper methods for the ModelService API.

Methods

#endpoint_path

def endpoint_path(project:, location:, endpoint:) -> ::String
def endpoint_path(project:, location:, publisher:, model:) -> ::String

Create a fully-qualified Endpoint resource string.

Overloads
def endpoint_path(project:, location:, endpoint:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/endpoints/{endpoint}

Parameters
  • project (String)
  • location (String)
  • endpoint (String)
def endpoint_path(project:, location:, publisher:, model:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/publishers/{publisher}/models/{model}

Parameters
  • project (String)
  • location (String)
  • publisher (String)
  • model (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#model_evaluation_path

def model_evaluation_path(project:, location:, model:, evaluation:) -> ::String

Create a fully-qualified ModelEvaluation resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}

Parameters
  • project (String)
  • location (String)
  • model (String)
  • evaluation (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#model_evaluation_slice_path

def model_evaluation_slice_path(project:, location:, model:, evaluation:, slice:) -> ::String

Create a fully-qualified ModelEvaluationSlice resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}

Parameters
  • project (String)
  • location (String)
  • model (String)
  • evaluation (String)
  • slice (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#model_path

def model_path(project:, location:, model:) -> ::String

Create a fully-qualified Model resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/models/{model}

Parameters
  • project (String)
  • location (String)
  • model (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#pipeline_job_path

def pipeline_job_path(project:, location:, pipeline_job:) -> ::String

Create a fully-qualified PipelineJob resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}

Parameters
  • project (String)
  • location (String)
  • pipeline_job (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#training_pipeline_path

def training_pipeline_path(project:, location:, training_pipeline:) -> ::String

Create a fully-qualified TrainingPipeline resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}

Parameters
  • project (String)
  • location (String)
  • training_pipeline (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)