Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::ModelGardenService::Paths (v1.17.0)

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

Path helper methods for the ModelGardenService API.

Methods

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

#publisher_model_path

def publisher_model_path(publisher:, model:) -> ::String

Create a fully-qualified PublisherModel resource string.

The resource will be in the following format:

publishers/{publisher}/models/{model}

Parameters
  • publisher (String)
  • model (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#reservation_path

def reservation_path(project_id_or_number:, zone:, reservation_name:) -> ::String

Create a fully-qualified Reservation resource string.

The resource will be in the following format:

projects/{project_id_or_number}/zones/{zone}/reservations/{reservation_name}

Parameters
  • project_id_or_number (String)
  • zone (String)
  • reservation_name (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)