Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::MetadataService::Paths (v0.39.0)

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

Path helper methods for the MetadataService 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)

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

#metadata_schema_path

def metadata_schema_path(project:, location:, metadata_store:, metadata_schema:) -> ::String

Create a fully-qualified MetadataSchema resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/metadataStores/{metadata_store}/metadataSchemas/{metadata_schema}

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

#metadata_store_path

def metadata_store_path(project:, location:, metadata_store:) -> ::String

Create a fully-qualified MetadataStore resource string.

The resource will be in the following format:

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

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