Vector Search V1 API - Class Google::Cloud::VectorSearch::V1::DataObjectSearchService::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the Vector Search V1 API class Google::Cloud::VectorSearch::V1::DataObjectSearchService::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#aggregate_data_objects

def aggregate_data_objects(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VectorSearch::V1::AggregateDataObjectsResponse

Baseline implementation for the aggregate_data_objects REST call

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

#batch_search_data_objects

def batch_search_data_objects(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VectorSearch::V1::BatchSearchDataObjectsResponse

Baseline implementation for the batch_search_data_objects REST call

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

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#query_data_objects

def query_data_objects(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VectorSearch::V1::QueryDataObjectsResponse

Baseline implementation for the query_data_objects REST call

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

#search_data_objects

def search_data_objects(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VectorSearch::V1::SearchDataObjectsResponse

Baseline implementation for the search_data_objects 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)