Google Functions Deploy with YAML

YAML parameters for Google Functions Deploy

NameTypeDescription
action
Required
StringThe name of the action.
function_name
Required
StringThe name of the Google function.
integration_id
Required
IntegerThe ID of the integration.
name
Required
StringThe name of the action.
trigger_time
Required
StringSpecifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
application_id __
Required
StringThe id of the Google Cloud project.
type
Required
StringThe type of the action. Should be set to GOOGLE_FUNCTIONS_DEPLOY.
server_key
Required
StringThe Google server key (base64 encoded).
runtimeStringThe Cloud Functions execution environment.
command_argsStringAdditional arguments send upon deploying the function.
local_pathStringThe path in the repository.
trigger_conditionStringDefines when the build action should be run. Can be one of ALWAYS, ON_CHANGE, ON_CHANGE_AT_PATH, VAR_IS, VAR_IS_NOT or VAR_CONTAINS.
trigger_condition_pathsString[]Required when trigger_condition is set to ON_CHANGE_AT_PATH.
trigger_variable_keyStringRequired when trigger_condition is set to VAR_IS, VAR_IS_NOT or VAR_CONTAINS. Defines the name of the desired variable.
trigger_variable_valueStringRequired when trigger_condition is set to VAR_IS, VAR_IS_NOT or VAR_CONTAINS. Defines the value of the desired variable which will be compared with its current value.
disabledBooleanWhen set to true the action is disabled. By default it is set to false.

YAML example for Google Functions Deploy

actions:
- action: "Deploy function hello-world"
type: "GOOGLE_FUNCTIONS_DEPLOY"
integration_id: 1
function_name: "hello-world"
application_id: "tokyo-house-138923"
command_args: "--trigger-http"
runtime: "nodejs6"
local_path: "/"
server_key: "ewogICJ0eXBlIjogInNlcnZpY2VfYWnjb3VudCIsCiAgInByb2plY3RfaWQiOiAidG9reW8taG91c2UtMTM3OTIzIiwKICAicHJpdmF0ZV9rZXlfaWQiOiAiYjMzMjc0ZDcWOGMzOGNhZjgwNmU1YWU0YzhkZjUwZjJlMGFhODA3MCIsCiAgInByaXZhdGVfa2V5IjogIi0tLS0tQkVHSU4gUFJJVkFURSBLRVktLS0tLVxuTUlJRXZRSUJBREFOQmdrcWhraUc5dzBCQVFFRk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