Cloud AutoML V1 API - Module Google::Cloud::AutoML::V1::AutoML::Paths (v0.9.2)

Reference documentation and code samples for the Cloud AutoML V1 API module Google::Cloud::AutoML::V1::AutoML::Paths.

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

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

#model_evaluation_path

def model_evaluation_path(project:, location:, model:, model_evaluation:) -> ::String

Create a fully-qualified ModelEvaluation resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/models/{model}/modelEvaluations/{model_evaluation}

Parameters
  • project (String)
  • location (String)
  • model (String)
  • model_evaluation (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)