Do I have to use Google Cloud Platform to integrate Android zero-touch enrollment API? - google-cloud-platform

I've already developed an EMM solution that migrated on Microsoft Azure. Now, I want to integrate Android zero-touch enrollment API and Android Management API into my solution. According to the document, I can use Google Cloud Platform to run the API, but is it compulsory? If I use it, all my new create data will save on Google Cloud, so can I move those data to my current Azure?

To call the API you will need a GCP account as mentioned in the documentation you shared.
However this is only required to call the API. If ou want your application to be hosted on a different cloud that can work, just need the GCP account to generate the API key in order to use the Zero-touch API.

Related

Google Analytics and Google Cloud - what is the. link

We are exploring Google Analytics / Reporting APIs and have noticed that it forwards to the screen where we are asked to create/associate a project in google cloud interface and enable APIs.
We are struggling to understand the link between GA and Google Cloud. So there are things below we are trying to determine.
How is the Google project linked to the clients GA account. Do I need to somehow link it in the project screen.
Once in the Google project screen (Google Cloud Platform) how do I set up the API and get the OAuth and token needed to the API Call
In google cloud analytics dashboard what data will I see. Is it only Google Cloud services or actual GA Data.
GA and Google Cloud APIs how will they be connected. How will GA use these Credentials and both will be linked. If support GA is tracking my website usage or access data. What will enablement of these APIs do in that regard. There is no specific example showing that.
Any advice you can provide would really help me.
thanks,
Aakash

Manage GCP project credentials through API

I'm trying to list all my GCP projects information through API (REST).
I can get basic information thanks to this API: https://cloud.google.com/resource-manager/docs/apis , but I would like to gather the credentials details for the projects.
I can retrieve Google services accounts, but no API Key or OAuth 2.0 Client IDs. I could not find the relevant API documentation page. I'm browsing the documentation https://cloud.google.com/apis#section-7 , but either it's not in here or I don't understand how to proceed. I'm working with the REST API as the idea is to gather those information through Google Apps Script, but if there is documentation / library on another language I would also have a look.
Client IDs can't be created or managed via API. An exception is if you're creating clients for IAP -- then you can use the IAP API.
To manage API Keys, you can use the API Keys API.

How do I make a new API in the Google Cloud Platform console?

In AWS, making a new API is as easy as going to the API Gateway service and clicking "Create API". How do I do the same in GCP? The Endpoints service does not appear to offer any way of creating an API.
At GCP there are several offers to deploy APIs, and as you have pointed Cloud Endpoints do not offer to ways to create aPI, but it provides frameworks to to base on and to integrate with the actual application hosting offers (App Engine, Compute Engine GKE, Cloud Run, Cloud Functions).
I would follow this tutorial in order to create the base for your API and later deploy and test your API. Notice that in those tutorial App Engine is used to deploy your API.

GCP enable services/apis via Rest API or python module

How can I enable/disable APIs/Services in Google Cloud Project via Restful APIs or python?
For example, I want to enable following API/Service in a project.
https://console.developers.google.com/apis/api/iam.googleapis.com/overview?project=
You can programmatically enable or disable a GCP service using the Service Usage API. There are also methods for batch operations and querying service state. See the link below to the documentation.
https://cloud.google.com/service-usage/docs/reference/rest/v1/services

Make API call of one java application from another in cloud foundry?

We have a requirement where we would like to call the API of one java application from another application deployed in the same cloud foundry.
Could you please tell if there is any way to access the api.
Check out the Spring Cloud Netflix project:
http://cloud.spring.io/spring-cloud-netflix/
The service registration and discovery features of Eureka are exactly what you are looking for, and are built for use in a cloud environment.
This article contains code samples:
https://spring.io/blog/2015/01/20/microservice-registration-and-discovery-with-spring-cloud-and-netflix-s-eureka
You can leverage Pivotal Spring Cloud Services in your Spring boot App. You might be using Pivotal SCS libraries.
In order to expose API to an another app, you've to enable service discovery and get registered in Eureka Server.
https://docs.pivotal.io/spring-cloud-services/1-3/common/service-registry/writing-client-applications.html#add-application-dependencies