Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::IndexEndpointService::Paths (v0.33.0)

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

Path helper methods for the IndexEndpointService API.

Methods

#index_endpoint_path

def index_endpoint_path(project:, location:, index_endpoint:) -> ::String

Create a fully-qualified IndexEndpoint resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

Parameters
  • project (String)
  • location (String)
  • index_endpoint (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#index_path

def index_path(project:, location:, index:) -> ::String

Create a fully-qualified Index resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/indexes/{index}

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