Cloud Vision V1p3beta1 API - Class Google::Cloud::Vision::V1p3beta1::ImageAnnotator::Rest::ServiceStub (v0.13.1)

Reference documentation and code samples for the Cloud Vision V1p3beta1 API class Google::Cloud::Vision::V1p3beta1::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)

#batch_annotate_images

def batch_annotate_images(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p3beta1::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)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#initialize

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

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)