Skip to main content
  1. Data Science Blog/

Google Cloud APIs

·2525 words·12 mins· loading · ·
Cloud Computing API Development GCP Cloud API Development Cloud Computing Cloud Services Development Environment Cloud Integration Cloud Development

On This Page

Table of Contents
Share with :

Google Cloud APIs

Google Cloud APIs
#

Introduction
#

Hundreds of services from Google are available to consumers as API. Every API has a specific purpose. Over a period of time, google keeps clubbing these API endpoints (a url/place where a service is available), cleaning their code and improving the capabilities of these services. Therefore, sometimes it looks endpoint or pip package is the same, but its API name is different. Recently when google clubbed their many AI APIs they are moved under VertexAI and API endpoint changed to aiplatform.googleapi.com. To bring some clarity for my own sake and some of you may like this, I wrote this article.

Suppose you want to try these API services from your local machine or on premise machine. You need to do the following.

  1. You need to install google cloud SDK on the machine.
  2. Use gcloud command to connect google project. Because when you use google cloud API, Google will charge you for that. And all the charges are against some resources (service API, virtual machine, storage, processing etc). These resources are managed under a Google project. You can set budget for these services at project level. Thus, it becomes easy to track your expenses and budget.
  3. Create virtual environment using python virtualenv command or conda command
  4. Activate the virtual environment.
  5. pip install the package in that environment (for this you can refer the table below)
  6. Write your code in python to consume the API service.
  7. Execute the code on the command prompt.

At the GCP (cloud.google.com) end, you need to

  1. Enable the corresponding API.
  2. Create the API key. Sometimes you may access the service with API key.
  3. Create a service user and authorize this service user to access that API service.

Google API List and Endpoints
#

No.API NameAPI EndpointPIP Installation CommandDescription
1.Cloud AI Hub APIaiplatform.googleapis.compip install google-cloud-aiplatformProvides sharing and discovering of machine learning pipelines, models, and more.
2.Cloud AI Platform (Unified) APIaiplatform.googleapis.compip install google-cloud-aiplatformProvides unified access to Vertex AI services, including AutoML, Pipelines, data labeling and model deployment.
3.Cloud Vertex AI APIaiplatform.googleapis.compip install google-cloud-aiplatformProvides unified access to Vertex AI services, including AutoML, Pipelines, and more.
4.Cloud Vertex AI Data Labeling APIaiplatform.googleapis.compip install google-cloud-aiplatformEnables data labeling for machine learning datasets.
5.Cloud Vertex AI Dataset APIaiplatform.googleapis.compip install google-cloud-aiplatformManages datasets for machine learning models in Vertex AI.
6.Cloud Vertex AI Endpoint APIaiplatform.googleapis.compip install google-cloud-aiplatformManages machine learning model endpoints in Vertex AI.
7.Cloud Vertex AI Image Annotation APIaiplatform.googleapis.compip install google-cloud-aiplatformOffers image annotation services for custom machine learning datasets.
8.Cloud Vertex AI Job APIaiplatform.googleapis.compip install google-cloud-aiplatformManages training and batch prediction jobs in Vertex AI.
9.Cloud Vertex AI Model APIaiplatform.googleapis.compip install google-cloud-aiplatformManages machine learning models in Vertex AI.
10.Cloud Vertex AI Pipeline APIaiplatform.googleapis.compip install google-cloud-aiplatformEnables building and deploying machine learning pipelines in Vertex AI.
11.Cloud Vertex AI Prediction APIaiplatform.googleapis.compip install google-cloud-aiplatformOffers online and batch prediction services in Vertex AI.
12.Cloud Vertex AI Specialist Search APIaiplatform.googleapis.compip install google-cloud-aiplatformAllows searching for AI specialists and experts in Vertex AI.
13.Cloud API Gateway APIapigateway.googleapis.compip install google-cloud-apigatewayProvides a fully managed API gateway for serverless applications.
14.Cloud App Engine Admin APIappengine.googleapis.compip install google-cloud-appengineEnables the management of App Engine applications.
15.Cloud AutoML Natural Language APIautoml.googleapis.compip install google-cloud-automlProvides custom machine learning models for natural language processing.
16.Cloud AutoML Translation APIautoml.googleapis.compip install google-cloud-automlEnables building custom machine learning models for translation tasks.
17.Cloud AutoML Vision APIautoml.googleapis.compip install google-cloud-automlOffers custom machine learning models for image recognition.
18.Cloud AI Platform Jobs APIml.googleapis.compip install google-cloud-aiplatformManages training and batch prediction jobs for machine learning models.
19.Cloud AI Platform Model Builder APIml.googleapis.compip install google-cloud-aiplatformAllows building custom machine learning models using a simple UI.
20.Cloud AI Platform Prediction APIml.googleapis.compip install google-cloud-aiplatformOffers online and batch prediction services for machine learning models.
21.Cloud AI Platform Training APIml.googleapis.compip install google-cloud-aiplatformEnables training and serving machine learning models on Google Cloud.
22.Cloud AI Platform Vizier APIml.googleapis.compip install google-cloud-aiplatformProvides hyperparameter tuning for machine learning models.
23.Cloud Machine Learning Engine APIml.googleapis.compip install google-cloud-mlAllows for training and deploying machine learning models using TensorFlow.
24.Cloud Speech-to-Text APIspeech.googleapis.compip install google-cloud-speechAllows converting audio to text using machine learning.
25.Cloud Text-to-Speech APItexttospeech.googleapis.compip install google-cloud-texttospeechEnables converting text into natural-sounding speech.
26.Cloud Translation APItranslate.googleapis.compip install google-cloud-translateProvides translation capabilities for Google Cloud Platform resources.
27.Cloud Video Intelligence APIvideointelligence.googleapis.compip install google-cloud-videointelligenceExtracts insights from videos using machine learning.
28.Cloud Vision APIvision.googleapis.compip install google-cloud-visionProvides image recognition capabilities for Google Cloud Platform resources.
29.Cloud BigQuery APIbigquery.googleapis.compip install google-cloud-bigqueryEnables super-fast SQL queries using the processing power of Google’s infrastructure.
30.Cloud Bigtable APIbigtable.googleapis.compip install google-cloud-bigtableProvides a fully managed, scalable NoSQL database service.
31.Cloud Billing Budget APIbillingbudgets.googleapis.compip install google-cloud-billing-budgetManages budget notifications for Google Cloud billing.
32.Cloud Asset APIcloudasset.googleapis.compip install google-cloud-assetOffers access to the resource inventory for Google Cloud Platform.
33.Cloud Billing APIcloudbilling.googleapis.compip install google-cloud-billingAllows for the management of Google Cloud billing accounts and budgets.
34.Cloud Build APIcloudbuild.googleapis.compip install google-cloud-buildEnables building and testing applications in the cloud using containers.
35.Cloud Debugger APIclouddebugger.googleapis.compip install google-cloud-debuggerOffers debugging capabilities for cloud applications.
36.Cloud Error Reporting APIclouderrorreporting.googleapis.compip install google-cloud-error-reportingAutomatically reports errors raised by running cloud services.
37.Cloud Functions APIcloudfunctions.googleapis.compip install google-cloud-functionsEnables the deployment and management of event-driven serverless functions.
38.Cloud IoT Core APIcloudiot.googleapis.compip install google-cloud-iotOffers IoT device management and data ingestion for IoT applications.
39.Cloud Key Management Service APIcloudkms.googleapis.compip install google-cloud-kmsEnables the management of cryptographic keys for Google Cloud resources.
40.Cloud Profiler APIcloudprofiler.googleapis.compip install google-cloud-profilerProvides application performance profiling for cloud applications.
41.Cloud Resource Manager APIcloudresourcemanager.googleapis.compip install google-cloud-resource-managerManages Google Cloud resources and IAM policies programmatically.
42.Cloud Resource Manager API (Folders)cloudresourcemanager.googleapis.compip install google-cloud-resource-managerManages and organizes resources into folders programmatically.
43.Cloud Resource Manager API (Tagging)cloudresourcemanager.googleapis.compip install google-cloud-resource-managerEnables adding and managing labels (tags) for Google Cloud resources.
44.Cloud Scheduler APIcloudscheduler.googleapis.compip install google-cloud-schedulerProvides job scheduling for Google Cloud resources.
45.Cloud Shell APIcloudshell.googleapis.compip install google-cloud-shellProvides authenticated access to Cloud Shell sessions.
46.Cloud Shell API (Public)cloudshell.googleapis.compip install google-cloud-shellOffers public access to Cloud Shell sessions.
47.Cloud Tasks APIcloudtasks.googleapis.compip install google-cloud-tasksAllows for managing and executing tasks asynchronously.
48.Cloud Tasks Queue APIcloudtasks.googleapis.compip install google-cloud-tasksAllows for creating and managing queues to run tasks in the background.
49.Cloud Trace APIcloudtrace.googleapis.compip install google-cloud-traceCaptures, analyzes, and displays the latency data for applications.
50.Cloud Composer APIcomposer.googleapis.compip install google-cloud-composerOffers workflow orchestration for managing complex pipelines.
51.Cloud Compute Engine APIcompute.googleapis.compip install google-cloud-computeAllows for the management of virtual machine instances in Google Compute Engine.
52.Cloud Kubernetes Engine APIcontainer.googleapis.compip install google-cloud-containerProvides a managed Kubernetes service for containerized applications.
53.Cloud Container Registry APIcontainerregistry.googleapis.compip install google-cloud-containerregistryProvides secure, private Docker container image storage and management.
54.Cloud Data Catalog APIdatacatalog.googleapis.compip install google-cloud-datacatalogOffers metadata management and data discovery for enterprise data assets.
55.Cloud Dataflow APIdataflow.googleapis.compip install google-cloud-dataflowEnables the processing of large-scale data in real-time or batch mode using Apache Beam.
56.Cloud Dataprep APIdataprep.googleapis.compip install google-cloud-dataprepOffers intelligent data preparation and cleaning to simplify analytics workflows.
57.Cloud Dataproc APIdataproc.googleapis.compip install google-cloud-dataprocProvides fast, easy-to-use, fully managed cloud services for running Apache Spark and Hadoop.
58.Cloud Datastore APIdatastore.googleapis.compip install google-cloud-datastoreA highly scalable NoSQL database service.
59.Cloud Deployment Manager APIdeploymentmanager.googleapis.compip install google-cloud-deployment-managerAutomates the deployment and management of Google Cloud resources.
60.Cloud Data Loss Prevention (DLP) APIdlp.googleapis.compip install google-cloud-dlpProvides data loss prevention (DLP) capabilities for sensitive data detection and redaction.
61.Cloud DLP APIdlp.googleapis.compip install google-cloud-dlpProvides data loss prevention (DLP) capabilities for sensitive data detection and redaction.
62.Cloud Document AI APIdocumentai.googleapis.compip install google-cloud-documentaiEnables intelligent document processing and understanding.
63.Cloud Endpoints APIendpoints.googleapis.compip install google-cloud-endpointsOffers development, deployment, and management of APIs on Google Cloud.
64.Cloud Firestore APIfirestore.googleapis.compip install google-cloud-firestoreA flexible, scalable NoSQL database for web and mobile applications.
65.Cloud Game Servers Management APIgameservices.googleapis.compip install google-cloud-gameservicesProvides game server management for multiplayer game developers.
66.Cloud Healthcare APIhealthcare.googleapis.compip install google-cloud-healthcareOffers healthcare-specific data storage and processing capabilities.
67.Cloud Identity and Access Management APIiam.googleapis.compip install google-cloud-iamOffers identity and access management for Google Cloud resources.
68.Cloud Identity-Aware Proxy APIiap.googleapis.compip install google-cloud-iapProvides identity-aware access control for applications deployed on Google Cloud.
69.Cloud Identity Platform APIidentitytoolkit.googleapis.compip install google-cloud-identity-toolkitProvides identity and authentication for Google Cloud applications.
70.Cloud Talent Solution APIjobs.googleapis.compip install google-cloud-talentProvides talent management solutions such as job search and matching.
71.Cloud Talent Solution Client APIjobs.googleapis.compip install google-cloud-talentEnables search and match functionality for Cloud Talent Solution.
72.Cloud Natural Language APIlanguage.googleapis.compip install google-cloud-languageOffers natural language understanding for text analysis.
73.Cloud Life Sciences APIlifesciences.googleapis.compip install google-cloud-life-sciencesProvides services for genomics and life science data processing.
74.Cloud Logging APIlogging.googleapis.compip install google-cloud-loggingAllows for collecting and viewing logs, monitoring application performance, and debugging.
75.Cloud Memorystore for Memcached APImemcache.googleapis.compip install google-cloud-memcacheOffers fully managed Memcached instances for in-memory caching.
76.Cloud Monitoring APImonitoring.googleapis.compip install google-cloud-monitoringProvides monitoring and alerting services for Google Cloud resources.
77.Cloud AI Platform Notebooks APInotebooks.googleapis.compip install google-cloud-notebooksProvides managed Jupyter Notebook instances for data analysis and machine learning.
78.Cloud OS Config APIosconfig.googleapis.compip install google-cloud-os-configManages package installations and configurations for VM instances.
79.Cloud OS Login APIoslogin.googleapis.compip install google-cloud-os-loginEnables programmatic access to Google Cloud VM instances using OS Login.
80.Cloud Pub/Sub APIpubsub.googleapis.compip install google-cloud-pubsubAllows for message-oriented communication between independent applications.
81.Cloud Memorystore APIredis.googleapis.compip install google-cloud-redisOffers fully managed Redis instances for in-memory caching.
82.Cloud Memorystore for Redis APIredis.googleapis.compip install google-cloud-redisProvides fully managed Redis instances for in-memory caching.
83.Cloud Retail APIretail.googleapis.compip install google-cloud-retailProvides retail-specific AI and data analytics solutions.
84.Cloud Runtime Configuration APIruntimeconfig.googleapis.compip install google-cloud-runtimeconfigProvides access to runtime configuration for cloud services.
85.Cloud Secret Manager APIsecretmanager.googleapis.compip install google-cloud-secret-managerOffers secure storage, access, and management of secrets.
86.Cloud Security Command Center APIsecuritycenter.googleapis.compip install google-cloud-security-centerProvides security and data risk insights for Google Cloud resources.
87.Cloud Service Directory APIservice-directory.googleapis.compip install google-cloud-servicedirectoryEnables management and discovery of services for microservices architectures.
88.Cloud Service Usage APIserviceusage.googleapis.compip install google-cloud-service-usageAllows managing API enablement and usage for Google Cloud services.
89.Cloud Source Repositories APIsourcerepo.googleapis.compip install google-cloud-sourcerepoOffers Git version control for code hosted on Google Cloud.
90.Cloud Spanner APIspanner.googleapis.compip install google-cloud-spannerOffers a globally distributed, horizontally scalable, and strongly consistent database service.
91.Cloud SQL APIsqladmin.googleapis.compip install google-cloud-sqlEnables the management and administration of relational databases on Google Cloud.
92.Cloud SSL Certificates APIsslcertificates.googleapis.compip install google-cloud-ssl-certificatesManages SSL certificates for Google Cloud resources.
93.Cloud Storage APIstorage.googleapis.compip install google-cloud-storageEnables interaction with Google Cloud Storage, a scalable object storage service.
94.Cloud Video Intelligence (Unified) APIvideointelligence.googleapis.compip install google-cloud-videointelligenceOffers video analysis and recognition services with improved accuracy.
95.Cloud Workflows APIworkflows.googleapis.compip install google-cloud-workflowsAllows building, deploying, and managing workflows.

Price of the API Services
#

The price for each of these API services is different. You can know that using the following link. https://console.cloud.google.com/apis/library/{API-Endpoint} API-Endpoint you can refer to the table below. Then you can get the price information from the price tab. For example https://console.cloud.google.com/apis/library/vision.googleapis.com you can the price of the vision service.

If you are using AI API services, then the price depends on what specific AI service you are using. For example.

  • AutoML Human Labeled Images With 1 Rater
  • AutoML Human Labeled Images With 3 Raters
  • AutoML Image Classification Batch Prediction for AutoML Vision or Vertex AI
  • AutoML Image Classification Model Training Compute Hours
  • AutoML Image Classification Model Training First Compute Hours
  • AutoML Image Classification On-Device Model Training for AutoML Vision or Vertex AI
  • AutoML Image Classification Model Online Predictions
  • AutoML Image Classification Model Deployment for AutoML Vision or Vertex AI
  • AutoML Image Classification Model Training for AutoML Vision or Vertex AI
  • AutoML Image Object Detection Batch Prediction for AutoML Vision or Vertex AI
  • AutoML Object Detection On-Device Model Training for AutoML Vision or Vertex AI
  • AutoML Image Object Detection Model Deployment for AutoML Vision or Vertex AI
  • AutoML Image Object Detection Model Training for AutoML Vision or Vertex AI
  • Crop Hints Operations
  • Document Text Detection Operations
  • Face Detection Operations
  • Image Properties Operations
  • Label Detection Operations
  • Landmark Detection Operations
  • Logo Detection Operations
  • Object Localization Operations
  • Safe Search Detection Operations
  • Text Detection Operations
  • Web Detection Operations
  • Product Search Metadata Storage

Important Google Cloud Commands
#

  • $gcloud help - Displays help for a specific gcloud command.
  • $gcloud –help - Displays a list of all available gcloud commands.
  • $gcloud –version - Displays the version of the gcloud CLI.
  • $gcloud init - Initializes the gcloud CLI and sets your default project.
  • $gcloud projects list - Lists all of your Google Cloud projects.
  • $gcloud compute instances create - Creates a new Compute Engine virtual machine instance.
  • $gcloud compute instances list - Lists all of your Compute Engine virtual machine instances.
  • $gcloud compute instances start - Starts a Compute Engine virtual machine instance.
  • $gcloud compute instances stop - Stops a Compute Engine virtual machine instance.
  • $gcloud compute instances delete - Deletes a Compute Engine virtual machine instance.
  • $gcloud compute firewall-rules create - Creates a new Compute Engine firewall rule.
  • $gcloud compute firewall-rules list - Lists all of your Compute Engine firewall rules.
  • $gcloud compute firewall-rules delete - Deletes a Compute Engine firewall rule.
  • $ gcloud iam service-accounts create SERVICE_ACCOUNT_NAME
  • $ gcloud projects add-iam-policy-binding PROJECT_ID
  • $ gcloud auth application-default login
  • $ gcloud services enable pubsub.googleapis.com
  • $ gcloud services disable pubsub.googleapis.com

Google Cloud SDK: Tools for all languages
#

  • Cheatsheet of Google Cloud Commands
  • “Google Cloud CLI” lets you manage resources and services from the command line. It also contains service and data emulators to speed up local development.
  • “Cloud Shell” lets you code or use a terminal directly in the web-browser.
  • “Cloud Code” provides IDE extensions for VSCode and IntelliJ.

Google Cloud Libraries
#

Dr. Hari Thapliyaal's avatar

Dr. Hari Thapliyaal

Dr. Hari Thapliyal is a seasoned professional and prolific blogger with a multifaceted background that spans the realms of Data Science, Project Management, and Advait-Vedanta Philosophy. Holding a Doctorate in AI/NLP from SSBM (Geneva, Switzerland), Hari has earned Master's degrees in Computers, Business Management, Data Science, and Economics, reflecting his dedication to continuous learning and a diverse skill set. With over three decades of experience in management and leadership, Hari has proven expertise in training, consulting, and coaching within the technology sector. His extensive 16+ years in all phases of software product development are complemented by a decade-long focus on course design, training, coaching, and consulting in Project Management. In the dynamic field of Data Science, Hari stands out with more than three years of hands-on experience in software development, training course development, training, and mentoring professionals. His areas of specialization include Data Science, AI, Computer Vision, NLP, complex machine learning algorithms, statistical modeling, pattern identification, and extraction of valuable insights. Hari's professional journey showcases his diverse experience in planning and executing multiple types of projects. He excels in driving stakeholders to identify and resolve business problems, consistently delivering excellent results. Beyond the professional sphere, Hari finds solace in long meditation, often seeking secluded places or immersing himself in the embrace of nature.

Comments:

Share with :

Related

What is a Digital Twin?
·805 words·4 mins· loading
Industry Applications Technology Trends & Future Computer Vision (CV) Digital Twin Internet of Things (IoT) Manufacturing Technology Artificial Intelligence (AI) Graphics
What is a digital twin? # A digital twin is a virtual representation of a real-world entity or …
Frequencies in Time and Space: Understanding Nyquist Theorem & its Applications
·4103 words·20 mins· loading
Data Analysis & Visualization Computer Vision (CV) Mathematics Signal Processing Space Exploration Statistics
Applications of Nyquists theorem # Can the Nyquist-Shannon sampling theorem applies to light …
The Real Story of Nyquist, Shannon, and the Science of Sampling
·1146 words·6 mins· loading
Technology Trends & Future Interdisciplinary Topics Signal Processing Remove Statistics Technology Concepts
The Story of Nyquist, Shannon, and the Science of Sampling # In the early days of the 20th century, …
BitNet b1.58-2B4T: Revolutionary Binary Neural Network for Efficient AI
·2637 words·13 mins· loading
AI/ML Models Artificial Intelligence (AI) AI Hardware & Infrastructure Neural Network Architectures AI Model Optimization Language Models (LLMs) Business Concepts Data Privacy Remove
Archive Paper Link BitNet b1.58-2B4T: The Future of Efficient AI Processing # A History of 1 bit …
Ollama Setup and Running Models
·1753 words·9 mins· loading
AI and NLP Ollama Models Ollama Large Language Models Local Models Cost Effective AI Models
Ollama: Running Large Language Models Locally # The landscape of Artificial Intelligence (AI) and …