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
- (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
- request_pb (::Google::Cloud::AIPlatform::V1::FindNeighborsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::FindNeighborsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::FindNeighborsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#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
- request_pb (::Google::Cloud::AIPlatform::V1::ReadIndexDatapointsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::ReadIndexDatapointsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ReadIndexDatapointsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)