We have an app engine service which exposes several APIs which are secured by GCP cloud endpoints, Below is open API definition YAML file just for reference, not the actual one. We need to call this service's endpoint from other app engine service, Is there any way to bypass traffic coming from same project and network from endpoints 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>"
Note: Same APIs is getting called from outside the project network and GCP which needs to be secured.