Class DriveFilesEndpointConfiguration


  • @ApiParams(apiName="drive-files",description="The files collection of methods",apiMethods={@ApiMethod(methodName="copy",description="Creates a copy of the specified file",signatures="com.google.api.services.drive.Drive$Files$Copy copy(String fileId, com.google.api.services.drive.model.File content)"),@ApiMethod(methodName="delete",description="Permanently deletes a file by ID",signatures="com.google.api.services.drive.Drive$Files$Delete delete(String fileId)"),@ApiMethod(methodName="emptyTrash",description="Permanently deletes all of the user\'s trashed files",signatures="com.google.api.services.drive.Drive$Files$EmptyTrash emptyTrash()"),@ApiMethod(methodName="export",description="Exports a Google Workspace document to the requested MIME type and returns exported byte content",signatures="com.google.api.services.drive.Drive$Files$Export export(String fileId, String mimeType)"),@ApiMethod(methodName="generateIds",description="Generates a set of file IDs which can be provided in insert or copy requests",signatures="com.google.api.services.drive.Drive$Files$GenerateIds generateIds()"),@ApiMethod(methodName="get",description="Gets a file\'s metadata or content by ID",signatures="com.google.api.services.drive.Drive$Files$Get get(String fileId)"),@ApiMethod(methodName="insert",description="Insert a new file",signatures={"com.google.api.services.drive.Drive$Files$Insert insert(com.google.api.services.drive.model.File content)","com.google.api.services.drive.Drive$Files$Insert insert(com.google.api.services.drive.model.File content, com.google.api.client.http.AbstractInputStreamContent mediaContent)"}),@ApiMethod(methodName="list",description="Lists the user\'s files",signatures="com.google.api.services.drive.Drive$Files$List list()"),@ApiMethod(methodName="patch",description="Updates a file\'s metadata and/or content",signatures="com.google.api.services.drive.Drive$Files$Patch patch(String fileId, com.google.api.services.drive.model.File content)"),@ApiMethod(methodName="touch",description="Set the file\'s updated time to the current server time",signatures="com.google.api.services.drive.Drive$Files$Touch touch(String fileId)"),@ApiMethod(methodName="trash",description="Moves a file to the trash",signatures="com.google.api.services.drive.Drive$Files$Trash trash(String fileId)"),@ApiMethod(methodName="untrash",description="Restores a file from the trash",signatures="com.google.api.services.drive.Drive$Files$Untrash untrash(String fileId)"),@ApiMethod(methodName="update",description="Updates a file\'s metadata and/or content",signatures={"com.google.api.services.drive.Drive$Files$Update update(String fileId, com.google.api.services.drive.model.File content)","com.google.api.services.drive.Drive$Files$Update update(String fileId, com.google.api.services.drive.model.File content, com.google.api.client.http.AbstractInputStreamContent mediaContent)"}),@ApiMethod(methodName="watch",description="Subscribe to changes on a file",signatures="com.google.api.services.drive.Drive$Files$Watch watch(String fileId, com.google.api.services.drive.model.Channel content)")},aliases={})
    @UriParams
    @Configurer(extended=true)
    public final class DriveFilesEndpointConfiguration
    extends GoogleDriveConfiguration
    Camel endpoint configuration for Drive.Files.
    • Constructor Detail

      • DriveFilesEndpointConfiguration

        public DriveFilesEndpointConfiguration()
    • Method Detail

      • getContent

        public com.google.api.services.drive.model.File getContent()
      • setContent

        public void setContent​(com.google.api.services.drive.model.File content)
      • getContentChannel

        public com.google.api.services.drive.model.Channel getContentChannel()
      • setContentChannel

        public void setContentChannel​(com.google.api.services.drive.model.Channel contentChannel)
      • getFileId

        public String getFileId()
      • setFileId

        public void setFileId​(String fileId)
      • getMediaContent

        public com.google.api.client.http.AbstractInputStreamContent getMediaContent()
      • setMediaContent

        public void setMediaContent​(com.google.api.client.http.AbstractInputStreamContent mediaContent)
      • getMimeType

        public String getMimeType()
      • setMimeType

        public void setMimeType​(String mimeType)