Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::DatasetService::Paths (v0.8.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)

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