Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::PredictionService::Paths (v0.47.0)

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

Path helper methods for the PredictionService API.

Methods

#endpoint_path

def endpoint_path(project:, location:, endpoint:) -> ::String
def endpoint_path(project:, location:, publisher:, model:) -> ::String

Create a fully-qualified Endpoint resource string.

Overloads
def endpoint_path(project:, location:, endpoint:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/endpoints/{endpoint}

Parameters
  • project (String)
  • location (String)
  • endpoint (String)
def endpoint_path(project:, location:, publisher:, model:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/publishers/{publisher}/models/{model}

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