12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- // NOTE: This file was generated by the ServiceGenerator.
- // ----------------------------------------------------------------------------
- // API:
- // Cloud Vision API (vision/v1)
- // Description:
- // Integrates Google Vision features, including image labeling, face, logo,
- // and landmark detection, optical character recognition (OCR), and detection
- // of explicit content, into applications.
- // Documentation:
- // https://cloud.google.com/vision/
- #if GTLR_BUILT_AS_FRAMEWORK
- #import "GTLR/GTLRService.h"
- #else
- #import "GTLRService.h"
- #endif
- #if GTLR_RUNTIME_VERSION != 3000
- #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source.
- #endif
- // Generated comments include content from the discovery document; avoid them
- // causing warnings since clang's checks are some what arbitrary.
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Wdocumentation"
- NS_ASSUME_NONNULL_BEGIN
- // ----------------------------------------------------------------------------
- // Authorization scopes
- /**
- * Authorization scope: View and manage your data across Google Cloud Platform
- * services
- *
- * Value "https://www.googleapis.com/auth/cloud-platform"
- */
- GTLR_EXTERN NSString * const kGTLRAuthScopeVisionCloudPlatform;
- /**
- * Authorization scope: Apply machine learning models to understand and label
- * images
- *
- * Value "https://www.googleapis.com/auth/cloud-vision"
- */
- GTLR_EXTERN NSString * const kGTLRAuthScopeVisionCloudVision;
- // ----------------------------------------------------------------------------
- // GTLRVisionService
- //
- /**
- * Service for executing Cloud Vision API queries.
- *
- * Integrates Google Vision features, including image labeling, face, logo, and
- * landmark detection, optical character recognition (OCR), and detection of
- * explicit content, into applications.
- */
- @interface GTLRVisionService : GTLRService
- // No new methods
- // Clients should create a standard query with any of the class methods in
- // GTLRVisionQuery.h. The query can the be sent with GTLRService's execute
- // methods,
- //
- // - (GTLRServiceTicket *)executeQuery:(GTLRQuery *)query
- // completionHandler:(void (^)(GTLRServiceTicket *ticket,
- // id object, NSError *error))handler;
- // or
- // - (GTLRServiceTicket *)executeQuery:(GTLRQuery *)query
- // delegate:(id)delegate
- // didFinishSelector:(SEL)finishedSelector;
- //
- // where finishedSelector has a signature of:
- //
- // - (void)serviceTicket:(GTLRServiceTicket *)ticket
- // finishedWithObject:(id)object
- // error:(NSError *)error;
- //
- // The object passed to the completion handler or delegate method
- // is a subclass of GTLRObject, determined by the query method executed.
- @end
- NS_ASSUME_NONNULL_END
- #pragma clang diagnostic pop
|