// NOTE: This file was generated by the ServiceGenerator. // ---------------------------------------------------------------------------- // API: // Drive API (drive/v3) // Description: // Manages files in Drive including uploading, downloading, searching, // detecting changes, and updating sharing permissions. // Documentation: // https://developers.google.com/drive/ #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: See, edit, create, and delete all of your Google Drive * files * * Value "https://www.googleapis.com/auth/drive" */ GTLR_EXTERN NSString * const kGTLRAuthScopeDrive; /** * Authorization scope: View and manage its own configuration data in your * Google Drive * * Value "https://www.googleapis.com/auth/drive.appdata" */ GTLR_EXTERN NSString * const kGTLRAuthScopeDriveAppdata; /** * Authorization scope: View and manage Google Drive files and folders that you * have opened or created with this app * * Value "https://www.googleapis.com/auth/drive.file" */ GTLR_EXTERN NSString * const kGTLRAuthScopeDriveFile; /** * Authorization scope: View and manage metadata of files in your Google Drive * * Value "https://www.googleapis.com/auth/drive.metadata" */ GTLR_EXTERN NSString * const kGTLRAuthScopeDriveMetadata; /** * Authorization scope: View metadata for files in your Google Drive * * Value "https://www.googleapis.com/auth/drive.metadata.readonly" */ GTLR_EXTERN NSString * const kGTLRAuthScopeDriveMetadataReadonly; /** * Authorization scope: View the photos, videos and albums in your Google * Photos * * Value "https://www.googleapis.com/auth/drive.photos.readonly" */ GTLR_EXTERN NSString * const kGTLRAuthScopeDrivePhotosReadonly; /** * Authorization scope: See and download all your Google Drive files * * Value "https://www.googleapis.com/auth/drive.readonly" */ GTLR_EXTERN NSString * const kGTLRAuthScopeDriveReadonly; /** * Authorization scope: Modify your Google Apps Script scripts' behavior * * Value "https://www.googleapis.com/auth/drive.scripts" */ GTLR_EXTERN NSString * const kGTLRAuthScopeDriveScripts; // ---------------------------------------------------------------------------- // GTLRDriveService // /** * Service for executing Drive API queries. * * Manages files in Drive including uploading, downloading, searching, * detecting changes, and updating sharing permissions. */ @interface GTLRDriveService : GTLRService // No new methods // Clients should create a standard query with any of the class methods in // GTLRDriveQuery.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