Questions tagged [google-cloud-endpoints-v2]

Google Cloud Endpoints Frameworks v2 replaces v1. Migration to v2 encouraged now, required as of August 2, 2018.

Google Cloud Endpoints Frameworks v1 is deprecated as of August 2, 2017. Users of v1 are encouraged to migrate to Cloud Endpoints Frameworks v2 at their earliest convenience. The v1 Endpoints Frameworks will cease to serve traffic on August 2, 2018.

Google Cloud Endpoints Frameworks v2 (in both Java and Python) have been generally available since February 2017. They have a streamlined serving path and include several improvements over v1:

  • they reduce warmup time,
  • they reduce latency per-call, and
  • they have a much better local debugging experience.

They also support custom paths and custom domain names, and they optionally allow API management features such as monitoring and API keys. The new versions are also open sourced (Java, Python).

201 questions
2
votes
1 answer

Will Cloud Endpoints Frameworks support Java11 in the future?

I'm thinking about migrating my App Engine Project to Java11. Will Cloud Endpoints Frameworks eventually support Java11 or do I need to switch to a different framework?
2
votes
1 answer

How to cancel google cloud endpoints request in Android using the generated client library?

In the documentation it shows this example of how to execute a google cloud endpoints api request using the android client lib: ScoreCollection scores = service.scores().list().execute(); Is there a way to cancel this request? I can't figure out…
2
votes
1 answer

Getting Started with Endpoints for Cloud Run - Request Timeout or Request Too Large Errors

Preface I've just finished the Getting Started with Endpoints for Cloud Run tutorial for the second time. When I first tried running this tutorial with my own Cloud Run app, I got either a 413 Request too large or 504 Upstream request timeout error.…
2
votes
1 answer

Enabling SSL on GKE endpoints not working correctly

I created API on GKE using cloud endpoints. It is working fine without Https You can try it here API without Https I followed the instructions which mention here Enabling SSL for cloud endpoint after setup everything which is mention in this page…
2
votes
1 answer

Google endpoint path template "Path does not match any requirement URI template."

Hi to all I created and used openAPI by yaml and I created endpoint that maps 2 cloud functions which use path templating to route the call no error by google sdk cli. Now I call by POST…
2
votes
0 answers

Bind IP (GKE LoadBalancer IP) to Google Cloud Endpoint

I have a simple question but struggling on it (For a while now, following a lot of Google Tutorials tho..). Context: I have a GKE (Google Kubernetes Engine) cluster which has workloads (Load Balancers, Pods, etc) I have a LoadBalancer for…
2
votes
2 answers

Google Endpoints Error: Firebase ID token has incorrect "aud" (audience) claim. Expected ... but got

I have seen similar questions however my use-case seems different. Let me explain. I have a SINGLE project. I am using Firebase Authentication in the project I have created a Node JS based http Cloud Function to different routes. Using Postman I…
2
votes
2 answers

Google Endpoints YAML file update: Is there a simpler method

When using Google Endpoints with Cloud Run to provide the container service, one creates a YAML file (stagger 2.0 format) to specify the paths with all configurations. For EVERY CHANGE the following is what I do (based on the documentation…
RmR
  • 1,917
  • 1
  • 22
  • 35
2
votes
1 answer

Google cloud endpoints - support for Google Cloud endpoint framework 2.0 in python 3.7

We currently have an application that is written in python 2.7 in GAE. We use google cloud endpoint framework 2.0 described here. the documentation clearly states that this is not supported on python 3.7. Google has announced end of support for…
2
votes
2 answers

Failed to deploy Cloud Endpoint with OpenApi

I have Python 2.7 API server using Google Cloud Endpoints framework. I follow the example from GitHub and code my service and configurations as explained in the documentation. When I'm trying to deploy the endpoint using gcloud endpoints services…
2
votes
0 answers

Restricting Google Cloud Endpoints with API key

I'm using Google Cloud Endpoints v2 for java. I create endpoints method and restrict it through API. After this, I create API from GCP console. I'm calling endpoints method from android using client libs. Here is how I'm calling any method. …
2
votes
1 answer

Restricting my endpoints with API Key in java

I'm using cloud endpoints v2 for java. My problem is that anyone can access these endpoints method through API Explorer or from directly URL someone know. I want to protect my endpoints. I read documentation how to restrict Whole API or some methods…
2
votes
0 answers

I get errors ('module-discoveryDocs.zip' doesn't exist) when setting project module dependencies in google endpoints version 2

I have errors when setting project module dependencies in google endpoints version 2. I tried endpointsServer project(path: ':module-one', configuration: 'endpoints') In endpoints version 1.0 you can just do deploy project(path: ':module-one',…
2
votes
2 answers

no matching index found - GAE

I'm deploying a little backend with some methods. One of them makes a simple query to retrieve a list of objects. This is the method: @ApiMethod(path = "getMessagesByCity", name = "getMessagesByCity", httpMethod = ApiMethod.HttpMethod.POST) …
2
votes
0 answers

Enable API key in Google Cloud Endpoint

I'm developing a Cloud Endpoint in Google App Engine Standard (Google Cloud), and API calls are woeking both locally and in deployed Google App Engine. I'm trying to Restricting API Access with API Keys as specified here, following step by…
1 2
3
13 14