Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::PipelineService::Paths (v0.20.0)

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

Path helper methods for the PipelineService API.

Methods

#artifact_path

def artifact_path(project:, location:, metadata_store:, artifact:) -> ::String

Create a fully-qualified Artifact resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}

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

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

#custom_job_path

def custom_job_path(project:, location:, custom_job:) -> ::String

Create a fully-qualified CustomJob resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/customJobs/{custom_job}

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

#endpoint_path

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

Create a fully-qualified Endpoint resource string.

The resource will be in the following format:

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

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

#execution_path

def execution_path(project:, location:, metadata_store:, execution:) -> ::String

Create a fully-qualified Execution resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/metadataStores/{metadata_store}/executions/{execution}

Parameters
  • project (String)
  • location (String)
  • metadata_store (String)
  • execution (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)

#network_path

def network_path(project:, network:) -> ::String

Create a fully-qualified Network resource string.

The resource will be in the following format:

projects/{project}/global/networks/{network}

Parameters
  • project (String)
  • network (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)