跳到主要内容

Google Functions Deploy with YAML

List of YAML parameters and examples for the "Google Functions Deploy"

YAML parameters for Google Functions Deploy

名称类型描述
action
必填
String操作名称
type
必填
StringThe type of the action. Should be set to GOOGLE_FUNCTION_DEPLOY.
function_name
必填
StringThe name of the Google function.
integration_hash
必填
StringThe ID of the integration.
application_id
必填
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"