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
1 answer

How do you customize the java JSON serialization done by Google Cloud Endpoints?

Below is the relevant method. One of the properties is of LocalDate (Joda). @ApiMethod( name = "taxforms.get", path = "tax-forms", httpMethod = ApiMethod.HttpMethod.GET ) public TaxDataList retrieveTaxDataList( HttpServletRequest…
Bruce Wilcox
  • 354
  • 1
  • 2
  • 11
0
votes
1 answer

How to make http cloud function only accessible from cloud endpoints

My architecture is: I have bunch of cloud functions (firebase) I have setup a ESPv2 based cloud endpoints setup with cloud run with the cloud functions as backend I have a SPA running on firebase hosting which is making calls to the endpoints (15…
0
votes
0 answers

How to perform authentication with Google Cloud Endpoints?

We are migrating part of our web app to a native mobile app (iOS and Android). We store all user info in our own database, including authentication info (username & pwd). We have a REST API for use by mobile apps and are trying to implement that…
Mike Dee
  • 558
  • 1
  • 5
  • 13
0
votes
2 answers

GET with query parameter produces "not found"

I'm just getting started with Google Cloud Endpoints. I'm trying to add a new method to the Echo example to simply use a GET instead of a POST. After deploying, it seems that the new API method can't be found. For the life of me, I can't figure…
Mike Dee
  • 558
  • 1
  • 5
  • 13
0
votes
1 answer

Google endpoint service use as proxy to call other api

I am trying to figure out if there is a way to use cloud endpoint product to call other apis. So for example I found the configuration where you can call a cloud endpoint get: description: "Returns example" summary: "Example" …
0
votes
2 answers

Monitoring how many request by key

I Possible trace how many requests an API key made on my gateway URL? Because I need to create a report of the API usage. Thanks
0
votes
0 answers

Google API Client fails to initialize Cloud Endpoints API

I have an API built on Google Cloud Endpoints and am having trouble loading the endpoints through gapi.client using the API's discovery doc. The gapi.client library loads without issue, but my API fails to initialize because gapi.client is…
dzimney
  • 565
  • 1
  • 5
  • 15
0
votes
1 answer

How to specify cache control in Google Endpoints Framework

I try to control the cache headers of the response of my endpoint method (built on Google Standard AppEngine). I found this two annotation ApiCacheControl and ApiMethodCacheControl in the framework, but they seem not working; my method response…
0
votes
2 answers

Cloud Run + Cloud Endpoints + Service Account Authentication – works in curl but doesn't when using fetch API in JS

I've configured a cloud endpoint that executes a GCF. Everything works fine when the cloud run service is allowing allUsers to call the API. Once I remove the allUsers and authenticate using the service account, I get 403 errors showing up in the…
0
votes
2 answers

Unable to parse Open API, or Google Service Configuration specification from openapiapp.yaml

I try to follow exactly [this tutorial] (https://cloud.google.com/community/tutorials/exposing-aspnet-webapi-using-dotnetcore-with-cloud-endpoints ), but I get the following error at trying gcloud endpoints services deploy openapi.yaml : ERROR:…
0
votes
0 answers

How to inject not null @RepositoryRestResource into @RestController

In my GCP Endpoints project @RepositoryRestResource gets injected into the @RestController as null. As a result I get a NullPointer of course. How to inject the properly initiated repository into controller? Repository class, controller, application…
0
votes
1 answer

getting custom attributes defined in openApi spec

I have created a managed service in google endpoints by defining an openApi.json file of my service. Along with service details I have added custom attributes in my openApi.json using x-*** keys, with this i get a valid openApi spec and have…
0
votes
1 answer

Scope not working in Google endpoint open yaml security definition

I have a JWT token that i want to validate with the open yaml security definition for a google endpoint. But it is checking only token from same issuer and audience.I dont see this checking anything else.So anyone with same issuer and audience is…
0
votes
1 answer

JWT verification fails with ESPv2 with Firebase authentication

I was building authenticated Cloud functions usingCloud functions with ESPV2 and Firebase authentication and API Management. Once I got the JWT token from firebase after authentication, I tried curl to the link with the token in Authorization as…
0
votes
0 answers

How to run on demand scripts on server-side that could create a new file via Google Cloud Endpoints?

I'd like to ask if it's possible to run scripts (bash, etc) that could read and create files, from Google Cloud Endpoints. Which Google products are appropriate? How to configure this? (Java) (There are many google products, but the development…
uan
  • 857
  • 7
  • 17