我们提供了一个应用引擎服务,该服务公开了受GCP云端点保护的多个API,以下是开放的API定义YAML文件,仅供参考,而非实际的。 我们需要从其他App Engine服务调用该服务的端点,是否有任何方法可以绕过来自端点ESP的来自同一项目和网络的流量?
x-google-allow: all
swagger: '2.0'
info:
description: 'Sample app'
version: 0.1.0
host: service-api-server-project-id.appspot.com
schemes:
- https
paths
"/metrics":
get:
tags:
- metrics
summary: Query for metrics data
description: Application metrics
operationId: metrics
produces:
- application/json
responses:
'200':
description: successful retrieval of metrics
security:
- google_id_token_ic: []
securityDefinitions:
google_id_token_cor:
authorizationUrl: ""
flow: "implicit"
type: "oauth2"
x-google-issuer: "<placeholder>"
x-google-jwks_uri: "<placeholder>"
x-google-audiences: "<placeholder>"
注意:需要从项目网络和GCP外部调用相同的API,这些API需要加以保护。