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

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

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

Inherits

  • Object

Methods

#batch_create_data_objects

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

Baseline implementation for the batch_create_data_objects REST call

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

#batch_delete_data_objects

def batch_delete_data_objects(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the batch_delete_data_objects REST call

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

#batch_update_data_objects

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

Baseline implementation for the batch_update_data_objects REST call

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

#create_data_object

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

Baseline implementation for the create_data_object REST call

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

#delete_data_object

def delete_data_object(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

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

#get_data_object

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

Baseline implementation for the get_data_object REST call

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

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_data_object

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

Baseline implementation for the update_data_object REST call

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