lib/google/cloud/vision/v1/image_annotator.rb in google-cloud-vision-v1-0.1.2 vs lib/google/cloud/vision/v1/image_annotator.rb in google-cloud-vision-v1-0.1.3

- old
+ new

@@ -14,8 +14,39 @@ # See the License for the specific language governing permissions and # limitations under the License. # Auto-generated by gapic-generator-ruby. DO NOT EDIT! -require "google/cloud/vision/v1/image_annotator/client" -require "google/cloud/vision/v1/image_annotator/operations" +require "gapic/common" +require "gapic/config" +require "gapic/config/method" + +require "google/cloud/vision/v1/version" + require "google/cloud/vision/v1/image_annotator/credentials" +require "google/cloud/vision/v1/image_annotator/paths" +require "google/cloud/vision/v1/image_annotator/operations" +require "google/cloud/vision/v1/image_annotator/client" + +module Google + module Cloud + module Vision + module V1 + ## + # Service that performs Google Cloud Vision API detection tasks over client + # images, such as face, landmark, logo, label, and text detection. The + # ImageAnnotator service returns detected entities from the images. + # + # To load this service and instantiate a client: + # + # require "google/cloud/vision/v1/image_annotator" + # client = Google::Cloud::Vision::V1::ImageAnnotator::Client.new + # + module ImageAnnotator + end + end + end + end +end + +helper_path = ::File.join __dir__, "image_annotator", "helpers.rb" +require "google/cloud/vision/v1/image_annotator/helpers" if ::File.file? helper_path