Questions tagged [google-cloud-endpoints]

Google Cloud Endpoints is a technology developed by Google for use on Google App Engine to allow developers to develop and host APIs easily, and to generate strongly-typed client libraries for Java (Android) and Objective-C (iOS), and dynamically-typed libraries for JavaScript.

Google Cloud Endpoints is a technology developed by Google for use on Google App Engine to allow developers to develop and host APIs easily.

Features

  • Support for Java and Python runtimes
  • Built on Google's API infrastructure - it works with many of the same tools and libraries used for Google's own APIs, such as the APIs Explorer and APIs Console
  • Automatically-generated, statically-typed client libraries for Android and iOS - these libraries are using the same Google-authored Java and Objective-C libraries you would use to access other Google-provided APIs such as the Calendar API
  • Dynamically-typed JS client library - again, the same library you use to access other Google-provided APIs in JS, which is called Google JavaScript client library
  • Built in support for OAuth 2
  • Integration with the Google Plugin for Eclipse - this allows you to automatically create an API based on a model, or an App Engine application to back an existing Android app
  • Support for local development - you can build and test your API using the App Engine development environment, just as with other App Engine features

Learn More

Check out the Java and Python documentation for more details on using Endpoints.

2491 questions
0
votes
2 answers

How do you reuse the same openapi.yaml file for production and development

We are using a GitOps model for deploying our software. Everything in dev branch goes to the dev environment and everything in main gets deployed to production. All good and fine except that we use Google Cloud Endpoints that rely in the host…
tonicebrian
  • 4,715
  • 5
  • 41
  • 65
0
votes
0 answers

ClassNotFoundException when running `mvn endpoints-framework:openApiDocs` with kotlin

I am trying to create openapi.json file through maven command by following GCP open api guide. This is my TestApi class. (kotlin) @Api(name = "echo1", version = "v1") class TestApi { @ApiMethod(name = "echo1") fun echo(message: Message,…
pistolcaffe
  • 849
  • 1
  • 8
  • 15
0
votes
1 answer

How can I get my react app in cloud storage and app engine api to be under the same domain?

I have recently moved to GCP for cloud hosting. I have a react app hosted in cloud storage and a Go REST api hosted on app engine. I am trying to figure out how I can use the same domain name for both of these. For…
0
votes
1 answer

502 Server Error on (GRPC Transcoding) REST API and 200 OK on GRPC - Cloud Endpoints on GKE

After having deployed my GPRPC server on GKE with ESP and Cloud Endpoints api_config file, I am able to test correctly (200 OK) the requests using the GRPC client but all CURL requests using REST API transcoded fail with a weird : "502 Server Error…
0
votes
1 answer

Cloud Endpoints support for proto3 Any type during JSON transcoding

We are exploring google Cloud Endpoints to expose gRPC services as REST APIs. These services use proto3 messages containing Any type fields. Does Cloud Endpoints' Extensible Service Proxy (ESP) support JSON transcoding of Any fields embedding custom…
NevinJ
  • 61
  • 3
0
votes
0 answers

How can you configure the ObjectMapper used by AppEngine

I have a AppEngine project that is served using Google Cloud EndPoints. Some of the Request and Response objects (which I have no control over) have no attributes. When those endpoints are invoked the call will fail…
William
  • 20,150
  • 8
  • 49
  • 91
0
votes
1 answer

Difficulty with gcloud run service - migrating to espV2

Ive been following the documentation (https://cloud.google.com/endpoints/docs/openapi/get-started-cloud-run#configure_esp) I am able to load an image (Hello example), create endpoints, and run it as a service.....however, whenever I follow the…
0
votes
0 answers

Can Django admin url be on a swagger file using drf-yasg?

I am deploying a Django API on Google Endpoint. Google endpoint needs a documentatin generated with openapi2.0 to set all endpoint. If an url is not defined on the yaml file generated by openapi (here by drf-yasg) the endpoint can not be reached…
Kimor
  • 532
  • 4
  • 17
0
votes
0 answers

Exposing Private Gke to API Gateway

Having a GKE cluster with micro service . External IP of a service belongs to private subnet. I want to expose a specific end points of the micro services to internet . Since there is no dns name , I cannot able to integrate with API Gateway .…
0
votes
0 answers

Google Cloud Endpoints POST returning Jwt issuer is not configured

I am setting up a POST request on our Google Cloud Endpoints, but its always returning: { "message": "Jwt issuer is not configured", "code": 401 } I believe I checked everything but it still not working. I am not sure if there is a missing file…
0
votes
3 answers

Google API Gateway: Assign config via gcloud CLI

I'm looking for a way to automate config updates for Google API Gateway, i.e. change config for an existing instance of "API Gateway" in a single step. What I've tried so far, assuming that new API config name is "my-new-config" and API Gateway name…
0
votes
2 answers

NoSuchMethodError for com.google.api.Service.hasQuota after appengineDeploy

After deploying my Google Endpoints API I get the error below even if I hit just the server url / or /_ah/warmup Uncaught exception from servlet java.lang.NoSuchMethodError: com.google.api.Service.hasQuota()Z at…
abhideep
  • 125
  • 6
0
votes
1 answer

GCP Cloud endpoint portal does not show xml definition defined in swagger

Having an issue with displaying xml structure defined in swagger file on cloud endpoint portal (Developer portal) for example it does not show the namespaces and example defined, but it works fine when uploaded on swagger editor Following is example…
0
votes
2 answers

"Unable to load RELATIVE ref" for openapi-run.yaml in GCP Endpoints

I use Google Cloud Build to build GCP Endpoints which relies on openapi-run.yaml to define the API. I have a large JSON schema file of which I want to refer to in the openapi-run.yaml: /testRef: get: summary: test for Reference …
0
votes
0 answers

Ingress loadbalanding issue(healthcheck) with GCP Cloud Endpoint (ESPv2)

I am trying to use Ingress instead of Service type: Loadbalance in front of my Cloud Endpoint enabled API. And I face the "UNHEALTHY" status for the backend. I added readiness and liveness probes for the ESPv2 but I still see the same issue. Is…