Google Functions Deploy with YAML

YAML parameters for Google Functions Deploy

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to GOOGLE_FUNCTION_DEPLOY.
function_name
Required
StringThe name of the Google function.
integration_hash
Required
StringThe ID of the integration.
application_id
Required
StringThe id of the Google Cloud project.
regionStringRegion in which function can be found or will be created.
runtimeStringThe Cloud Functions execution environment. Options: nodejs6, nodejs8, nodejs10, nodejs12, python37, go111.
command_argsStringAdditional arguments sent upon deploying the function.
local_pathStringThe path in the repository.

YAML example for Google Functions Deploy

actions:
- action: "Deploy function hello-world"
  type: "GOOGLE_FUNCTION_DEPLOY"
  local_path: "/"
  application_id: "hello-world"
  region: "europe-west3"
  function_name: "hello-world-0"
  runtime: "nodejs12"
  command_args: "--trigger-http"
  integration_hash: "5ddb7c180fb38be67bd78a88a"