This action is able to access a protected Google Cloud Function by using a provided service account.
Required The path to the service account json. Default "gcloud.json"
.
Required The url of the cloud function.
The method to use for the request. Default "GET"
.
The body of the request. Default ""
.
uses: stikkyapp/google-cloud-function-access@v2
with:
service-json-path: 'gcloud.json'
url: 'https://test.example.org/get'
method: 'POST'
body: '{"foo":"bar"}'