Interface GoogleCloudFunctionDestination

All Superinterfaces:
ExtensionDestination

public interface GoogleCloudFunctionDestination extends ExtensionDestination

For GoogleCloudFunction destinations, you need to grant permissions to the extensions@commercetools-platform.iam.gserviceaccount.com service account to invoke your function. If your function's version is 1st gen, grant the service account the IAM role Cloud Functions Invoker. For version 2nd gen, assign the IAM role Cloud Run Invoker using the Cloud Run console.


Example to create an instance using the builder pattern

     GoogleCloudFunctionDestination googleCloudFunctionDestination = GoogleCloudFunctionDestination.builder()
             .url("{url}")
             .build()