规划用于 GCP 的外部函数

本主题可帮助您准备使用 Google Cloud Console 用户界面,为 GCP (Google Cloud Platform) 创建外部函数。

先决条件

以下说明假设您是经验丰富的 Google Cloud Console 用户。

要为 GCP 创建外部函数,必须具备以下条件:

创建工作表以跟踪所需信息

完成在 Google Cloud Console 中创建外部函数的任务时,需要在创建过程的每个步骤中输入特定的值(例如 Cloud Function Trigger URL)。通常情况下,后续步骤中需要您输入的值。

为了便于记录/跟踪这些信息,我们提供了一份工作表,其中对每个必填值都设置了字段:

================================================================================
=================== Tracking Worksheet: Google Cloud Console ===================
================================================================================

****** Step 1: Cloud Function (Remote Service) Info ****************************

Cloud Function Trigger URL: ____________________________________________________


****** Step 2: API Config File Info ********************************************

Path Suffix: ___________________________________________________________________
Configuration File Name: _______________________________________________________


****** Step 2: API Gateway (Proxy Service) Info ********************************

Managed Service Identifier: ____________________________________________________
Gateway Base URL : _____________________________________________________________


****** Steps 3-4: API Integration & External Function Info *********************

API Integration Name: __________________________________________________________
API_GCP_SERVICE_ACCOUNT: _______________________________________________________

External Function Name: ________________________________________________________


****** Step 5: Security Info ***************************************************

Security Definition Name: ______________________________________________________

后续步骤

Step 1: Create the remote service (Google Cloud Function) in the console