Java idiomatic client for Cloud Functions.
If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-functions</artifactId>
<version>2.10.0</version>
</dependency>If you are using Gradle without BOM, add this to your dependencies:
implementation 'com.google.cloud:google-cloud-functions:2.10.0'If you are using SBT, add this to your dependencies:
libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.10.0"See the Authentication section in the base directory's README.
The client application making API calls must be granted authorization scopes required for the desired Cloud Functions APIs, and the authenticated principal must have the IAM role(s) required to access GCP resources using the Cloud Functions API calls.