anchor.diff:  gcloud components install beta
   ----
   
  +== The Quickstart
  +
  +Clone the Git repository: `git clone {quickstarts-clone-url}`, or download an {quickstarts-archive-url}[archive].
  +
  +The solution is located in the `funqy-google-cloud-functions-quickstart` {quickstarts-tree-url}/funqy-quickstarts/funqy-google-cloud-functions-quickstart[directory].
  +
  +== Creating the Maven Deployment Project
  +
  +Create an application with the `quarkus-funqy-google-cloud-functions` extension.
  +You can use the following Maven command to create it:
  +
  +[source,shell,subs=attributes+]
  +----
  +mvn io.quarkus:quarkus-maven-plugin:{quarkus-version}:create \
  +    -DprojectGroupId=org.acme \
  +    -DprojectArtifactId=funqy-google-cloud-functions \
  +    -DclassName="org.acme.quickstart.GreetingResource" \
  +    -Dpath="/hello" \
  +    -Dextensions="funqy-google-cloud-functions"
  +----
  +
  +Now, let's remove what's not needed inside the generated application:
  +
  +- Remove the dependency `io.quarkus:quarkus-reasteasy` from your `pom.xml` file.
  +- Remove the generated `org.acme.quickstart.GreetingResource` class.
  +- Remove the `index.html` from `resources/META-INF/resources` or it will be picked up instead of your Function.
  +- Remove the existing tests.
  +
   == The Code
   
   There is nothing special about the code and more importantly nothing Google Cloud specific.  Funqy functions can be deployed to many different
  
positive.code: 
  [source]
  ----
  curl localhost:8080 -d '{"data":{"data":"hello"}}'
  ----
  
  This will call your PubSub background function with a PubSubMessage `{"data":"hello"}`.
  
negative.code: 
  [source,property]
  ----
  quarkus.funqy.export=helloPubSubWorld
  ----
  
  == Build and Deploy to Google Cloud
  