Class DriveFilesEndpointConfiguration

java.lang.Object
org.apache.camel.component.google.drive.GoogleDriveConfiguration
org.apache.camel.component.google.drive.DriveFilesEndpointConfiguration

@ApiParams(apiName="drive-files",description="The files collection of methods",apiMethods={@ApiMethod(methodName="copy",description="Creates a copy of a file and applies any requested updates with patch semantics",signatures="com.google.api.services.drive.Drive$Files$Copy copy(String fileId, com.google.api.services.drive.model.File content)"),@ApiMethod(methodName="create",description="Creates a new file",signatures={"com.google.api.services.drive.Drive$Files$Create create(com.google.api.services.drive.model.File content)","com.google.api.services.drive.Drive$Files$Create create(com.google.api.services.drive.model.File content, com.google.api.client.http.AbstractInputStreamContent mediaContent)"}),@ApiMethod(methodName="delete",description="Permanently deletes a file owned by the user without moving it to the trash",signatures="com.google.api.services.drive.Drive$Files$Delete delete(String fileId)"),@ApiMethod(methodName="download",description="Downloads content of a file",signatures="com.google.api.services.drive.Drive$Files$Download download(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 create 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="list",description="Lists the user\'s files",signatures="com.google.api.services.drive.Drive$Files$List list()"),@ApiMethod(methodName="listLabels",description="Lists the labels on a file",signatures="com.google.api.services.drive.Drive$Files$ListLabels listLabels(String fileId)"),@ApiMethod(methodName="modifyLabels",description="Modifies the set of labels applied to a file",signatures="com.google.api.services.drive.Drive$Files$ModifyLabels modifyLabels(String fileId, com.google.api.services.drive.model.ModifyLabelsRequest content)"),@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="Subscribes to changes to 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 Details

    • DriveFilesEndpointConfiguration

      public DriveFilesEndpointConfiguration()
  • Method Details

    • getChannel

      public com.google.api.services.drive.model.Channel getChannel()
    • setChannel

      public void setChannel(com.google.api.services.drive.model.Channel channel)
    • getContent

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

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

      public com.google.api.services.drive.model.File getFile()
    • setFile

      public void setFile(com.google.api.services.drive.model.File file)
    • 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)
    • getModifyLabelsRequest

      public com.google.api.services.drive.model.ModifyLabelsRequest getModifyLabelsRequest()
    • setModifyLabelsRequest

      public void setModifyLabelsRequest(com.google.api.services.drive.model.ModifyLabelsRequest modifyLabelsRequest)