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

gcloud endpoints deploy error unresolved type

I'm trying to deploy a service which requires google protobuf's Timestamp but I am receiving an error. gcloud endpoints services deploy api_descriptor.pb api_config.yaml --validate-only ERROR: (gcloud.endpoints.services.deploy) INVALID_ARGUMENT:…
2
votes
3 answers

Google Endpoints GET request URL parameters [Python]

I am currently working on a small project where I need to write a GET handler. I am working from the Echo example provided in the endpoints documentation. I have my resource container: GET_EMAIL_RESOURCE = endpoints.ResourceContainer( …
2
votes
2 answers

gcloud endpoints deploy Error with timestamp type

I already deployed a lot of google gRPC cloud endpoints with success. But for the first time, i'm using a timestamp type in my proto, and when i'm trying to deploy my gRPC API, i have an error : gcloud endpoints deploy services api_descriptor.pb…
user4653455
2
votes
3 answers

404 after migrating to Google Endpoints V2

We have succesfully used Endpoints V1 for couple of years in our app. Now when trying to migrate to Endpoints V2 it suddenly brakes by just simply not finding the EndpointsServlet and just returns 404 always. I am able to browse the api with…
JariK
  • 161
  • 1
  • 12
2
votes
1 answer

My Java Google Endpoints V2 project is throwing com.google.api.config.ServiceConfigException. What am I missing?

I am seeing below error in logs. What would explain it? I have another similar project that is working fine. I have gone over my pom.xml, web.xml, appengine-web.xml multiple times and cannot see what is missing. This was previously a V1 project.…
2
votes
0 answers

404 NOT_FOUND after migrating to Cloud Endpoints Frameworks version 2.0

I have followed the following links to migrate from V1 to Cloud Endpoints Frameworks version 2.0: Part 1 Part 2 I have deployed the backend module to google app engine but when I try to access an endpoint method such as a list e.g …
2
votes
1 answer

What is the correct way to provide an API Key to a Google Cloud Endpoints 2 API for an app?

I have an API in Google Endpoints, and I've generated the API key needed by the Android App I'm working on to access the API. However I have no idea where to supply the API Key when using generated clients library. Every request made from the app…
2
votes
1 answer

Migration to Cloud Endpoints v2

I have a few Google App Engine standard Java environment applications that are backends for mobile apps, there are both Android and iOS clients. Some time ago I received an email that the Cloud Endpoints v1 will be no longer supported and that I…
2
votes
0 answers

Creating google cloud endpoint V2 using android studio

I am using android studio to generate a google cloud endpoint project. The issue is that my android studio (updated to version 2.x.x, and my SDK also up-to-date) is generating the project with endpoints V1 which is no longer supported. Is there a…
Elio Khattar
  • 320
  • 1
  • 3
  • 16
2
votes
2 answers

Enhancing endpoints in Cloud Endpoints Frameworks 2.0 for App Engine

I have received an email from GCP to migrate my project from Cloud Endpoints 1.0 to Cloud Endpoints Frameworks 2.0. I've followed the steps outlined here: https://cloud.google.com/appengine/docs/java/endpoints/migrating?authuser=0 In my previous…
2
votes
2 answers

Versioning with endpoint V2 on GAE

I have the live version of my app deployed with its endpoints (no problem with that). I also want to easily be able to test other versions (e.g. staging). With endpointV1: no problem. With endpointV2: Everything works fine if I deploy to the live…
2
votes
0 answers

Can't run or debug the api locally

I am following the quick start here tutorial and the api works online as it should. However, when it comes to testing the api locally, the admin server runs as it should but the api itself, which i supposed should be…
Bashawy
  • 115
  • 1
  • 9
2
votes
1 answer

Can't test my api on local server, always redirect to google api. After migrate to endpoints 2.0

All had good on endpoints 1.0. I've done all steps at migrating 2.0 google docs. Update my project successfully, and can run endpoints api explorer. But when I try run endpoints api explorer locally (localhost:8080/_ah/api/explorer) it's redirect me…
2
votes
0 answers

How to authenticate using Firebase with endpoints-proto-datastore?

I've been trying to set up my EndpointsV2 backend (billing has been enabled) with Firebase authentication but am always ending up with either an error when I attempt to generate the OpenAPI spec or a 401 Unauthorized when accessing the API. My…
1
vote
0 answers

Unsupported gRPC frame flag: 1 in response of Cloud Endpoints OpenAPI for Cloud Run with ESPv2

I have deployed a service in GCP cloud endpoint and in backend calling a GRPC service. In GRPC service I have taken a string type param in proto. When I get big string in response I receive error "Unsupported gRPC frame flag: 1" in response from…