Complete the steps described in the quickstart instructions, and in about five minutes you'll have a simple Java command-line application that makes requests to the Google Chat API.
After following the quickstart setup instructions, run the sample:
gradle run