Class GoogleDriveResource

java.lang.Object
org.apache.camel.quarkus.component.google.it.GoogleDriveResource

@Path("/google-drive") public class GoogleDriveResource extends Object
  • Field Details

    • producerTemplate

      @Inject org.apache.camel.ProducerTemplate producerTemplate
  • Constructor Details

    • GoogleDriveResource

      public GoogleDriveResource()
  • Method Details

    • createFile

      @Path("/create") @POST @Consumes("text/plain") @Produces("text/plain") public jakarta.ws.rs.core.Response createFile(String name) throws Exception
      Throws:
      Exception
    • readFile

      @Path("/read") @GET @Produces("text/plain") public jakarta.ws.rs.core.Response readFile(@QueryParam("fileId") String fileId)
    • deleteFile

      @Path("/delete") @DELETE public jakarta.ws.rs.core.Response deleteFile(@QueryParam("fileId") String fileId)