Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::DatasetService::Paths (v0.37.0)

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

Path helper methods for the DatasetService API.

Methods

#annotation_spec_path

def annotation_spec_path(project:, location:, dataset:, annotation_spec:) -> ::String

Create a fully-qualified AnnotationSpec resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}

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

#data_item_path

def data_item_path(project:, location:, dataset:, data_item:) -> ::String

Create a fully-qualified DataItem resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}

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

#dataset_path

def dataset_path(project:, location:, dataset:) -> ::String

Create a fully-qualified Dataset resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/datasets/{dataset}

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

#dataset_version_path

def dataset_version_path(project:, location:, dataset:, dataset_version:) -> ::String

Create a fully-qualified DatasetVersion resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}

Parameters
  • project (String)
  • location (String)
  • dataset (String)
  • dataset_version (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)

#saved_query_path

def saved_query_path(project:, location:, dataset:, saved_query:) -> ::String

Create a fully-qualified SavedQuery resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}

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