AI Platform Data Labeling Service V1beta1 API - Module Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Paths (v0.3.5)

Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API module Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Paths.

Path helper methods for the DataLabelingService API.

Methods

#annotated_dataset_path

def annotated_dataset_path(project:, dataset:, annotated_dataset:) -> ::String

Create a fully-qualified AnnotatedDataset resource string.

The resource will be in the following format:

projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}

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

#annotation_spec_set_path

def annotation_spec_set_path(project:, annotation_spec_set:) -> ::String

Create a fully-qualified AnnotationSpecSet resource string.

The resource will be in the following format:

projects/{project}/annotationSpecSets/{annotation_spec_set}

Parameters
  • project (String)
  • annotation_spec_set (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#data_item_path

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

Create a fully-qualified DataItem resource string.

The resource will be in the following format:

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

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

#dataset_path

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

Create a fully-qualified Dataset resource string.

The resource will be in the following format:

projects/{project}/datasets/{dataset}

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

#evaluation_job_path

def evaluation_job_path(project:, evaluation_job:) -> ::String

Create a fully-qualified EvaluationJob resource string.

The resource will be in the following format:

projects/{project}/evaluationJobs/{evaluation_job}

Parameters
  • project (String)
  • evaluation_job (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#evaluation_path

def evaluation_path(project:, dataset:, evaluation:) -> ::String

Create a fully-qualified Evaluation resource string.

The resource will be in the following format:

projects/{project}/datasets/{dataset}/evaluations/{evaluation}

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

#example_path

def example_path(project:, dataset:, annotated_dataset:, example:) -> ::String

Create a fully-qualified Example resource string.

The resource will be in the following format:

projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}/examples/{example}

Parameters
  • project (String)
  • dataset (String)
  • annotated_dataset (String)
  • example (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#instruction_path

def instruction_path(project:, instruction:) -> ::String

Create a fully-qualified Instruction resource string.

The resource will be in the following format:

projects/{project}/instructions/{instruction}

Parameters
  • project (String)
  • instruction (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#project_path

def project_path(project:) -> ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
Returns
  • (::String)