Google Functions Deploy with YAML

YAML parameters for Google Functions Deploy

NameTypeDescription
action RequiredStringThe name of the action.
type RequiredStringThe type of the action. Should be set to GOOGLE_FUNCTION_DEPLOY.
function_name RequiredStringThe name of the Google function.
integration RequiredStringThe ID of the integration.
application_id RequiredStringThe 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

yaml
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: "my_integration"

Last modified on Sep 23, 2024