Cloud Vision V1p4beta1 API - Class Google::Cloud::Vision::V1p4beta1::ImageAnnotator::Rest::ServiceStub (v0.6.0)

Reference documentation and code samples for the Cloud Vision V1p4beta1 API class Google::Cloud::Vision::V1p4beta1::ImageAnnotator::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#async_batch_annotate_files

def async_batch_annotate_files(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the async_batch_annotate_files REST call

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

#async_batch_annotate_images

def async_batch_annotate_images(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the async_batch_annotate_images REST call

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

#batch_annotate_files

def batch_annotate_files(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p4beta1::BatchAnnotateFilesResponse

Baseline implementation for the batch_annotate_files REST call

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

#batch_annotate_images

def batch_annotate_images(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p4beta1::BatchAnnotateImagesResponse

Baseline implementation for the batch_annotate_images REST call

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

#initialize

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