Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::MatchService::Rest::ServiceStub (v0.43.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::MatchService::Rest::ServiceStub.

REST service stub for the MatchService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#find_neighbors

def find_neighbors(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::FindNeighborsResponse

Baseline implementation for the find_neighbors REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#read_index_datapoints

def read_index_datapoints(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ReadIndexDatapointsResponse

Baseline implementation for the read_index_datapoints REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)