October 2019
Intermediate to advanced
520 pages
13h 5m
English
Now that we have seen how to deploy the function using Google Cloud Console it will be easier to explain the parameters and flags for the gcloud command.
To deploy Cloud Functions, we will use the following command:
gcloud deploy cloud functions $FUNCTION_NAME \--region=$REGION \--entry-point=$ENTRY_POINT \--memory=$MEMORY \--runtime=$RUNTIME \--service-account=$SERVICE_ACCOUNT\--source=$SOURCE \--stage-bucket=$STAGE_BUCKET \--timeout=$TIMEOUT \--retry
Here, we have the following options:
Read now
Unlock full access