Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::GenAiTuningService::Paths (v0.53.0)

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

Path helper methods for the GenAiTuningService API.

Methods

#context_path

def context_path(project:, location:, metadata_store:, context:) -> ::String

Create a fully-qualified Context resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/metadataStores/{metadata_store}/contexts/{context}

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

#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_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)

#tuning_job_path

def tuning_job_path(project:, location:, tuning_job:) -> ::String

Create a fully-qualified TuningJob resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/tuningJobs/{tuning_job}

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