Reputation: 331
I have a php api service up on an app engine standard instance. I setup cloud endpoints pointing to the service without issues, however none of the service stats are recorded in endpoints > services, and the developer portal only displays "No APIs are available that you have permission to view."
I'm assuming there is some missing configuration. Google's documentation has left me at a loss for what I'm missing.
my app.yaml is simple:
runtime: php72
handlers:
- url: .*
script: auto
Is there anything that my app.yaml needs so that endpoints will pick up the api methods? I do have them defined correctly in the openapi.yaml swagger file and it validated with no issues.
Upvotes: 1
Views: 282
Reputation: 652
Cloud Endpoints does not yet support App Engine Standard applications, with the exception of Python 2.7 and Java 8 for first generation runtimes using the "Endpoints Frameworks".
So the simple answer is that your service is not actually using Cloud Endpoints.
Upvotes: 2