Class GoogleSheetsResource


  • @Path("/google-sheets")
    public class GoogleSheetsResource
    extends Object
    • Field Detail

      • producerTemplate

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

      • GoogleSheetsResource

        public GoogleSheetsResource()
    • Method Detail

      • createSheet

        @Path("/create")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public javax.ws.rs.core.Response createSheet​(String title)
                                              throws Exception
        Throws:
        Exception
      • readSheet

        @Path("/read")
        @GET
        @Produces("text/plain")
        public javax.ws.rs.core.Response readSheet​(@QueryParam("spreadsheetId")
                                                   String spreadsheetId)
      • updateSheet

        @Path("/update")
        @PATCH
        @Consumes("text/plain")
        public javax.ws.rs.core.Response updateSheet​(@QueryParam("spreadsheetId")
                                                     String spreadsheetId,
                                                     String title)