Google Cloud Platform: Enabling APIs

Enabling Google APIs

The Google Cloud Platform is a comprehensive tool that helps companies manage their IT resources. Completing software projects, built from scratch, is an incredibly time-consuming and wallet-ending endeavor. The cost of this development is due to the nature of the technology as it has to be developed and maintained in an incredibly high-tech environment.

Most businesses cannot afford to have a dedicated R&D department or their own massive server farm. Unless your business is named Tesla, Google or Apple chances are those facilities are out of reach. Thankfully for us all, the Google Cloud platform is there to bring those facilities, of a sort, to smaller businesses and development teams.

Google Cloud Platform: how it works

With Google Cloud Platform (GCP), companies can complete complex, enterprise-grade software projects with the help of Google’s internal infrastructure and a suite of software services. This allows for businesses of limited technological means to create applications that can compete with the biggest businesses around the world.

The technology is all encompassing and can be used to make software for every sector in the tech industry. However, this complexity also comes with its fair share of confusion and the danger of inefficient integration into development projects.

In order to capitalize on this technology, you’ll need to use a few resources. Your project will need to use APIs or application programming interface. Through this, you can use a host of pre-coded and pre-tested coding libraries that can greatly strengthen your software projects.

In this article, we’ll go over how to enable GCP APIs as well as integrating third-party libraries into your project.

The API dashboard

As always, you’ll need to open up the GCP console in your web browser. At the top, you’ll see a products and services tab. Click on the hamburger menu to expand it. From there, go down to find APIs and services. You’ll be redirected to your project’s APIs and services. You’ll also be able to see traffic (requests/sec), errors (percent of requests), and latency (in milliseconds). Before you’ve developed, tested, or deployed your project, these areas should be blank.

Enabling APIs

Select the libraries tab located on the left of the dashboard. You’ll be redirected to the API library. You should see APIs like Dialog Flow for conversational interfaces, Cloud Vision for image content analysis, Google Calendar, and Maps SDK for Android. Click on the desired APIs, then select enable. Again, be sure you’ve chosen the correct project — which should visible in the upper left-hand corner of your Google Cloud Console.

You’ll be to see all of the enabled Cloud APIs on your API dashboard. To disable one, simply go back to that dashboard. In the API manager, simply select disable for the projects you wish to be rid of.

Creating directories with third-party libraries

Sometimes you’ll need to call upon libraries outside of Google, especially if you’re using the App Engine. Whether you’ve found them while exploring GitHub or used outside libraries for previous projects, you’ll be glad to know that Google makes it simple enough to integrate these APIs. All you have to do is vendor them.

First, create a library directory. Then, install the libraries you wish into that library. If you’re using an Python development environment with CLI, you can use the command: pip install -t lib/ <library_name>. Then make sure you remember to vendor those libraries in a configuration file. For the App Engine, you’ll import the vendor functionality, then add the code vendor.add(‘lib’) to the configuration file.

Conclusion

APIs are indeed an integral part of creating robust modern software products efficiently and proficiently. Using a cloud service for your company or your startup is becoming increasingly necessary. Luckily, Google has hundreds of built-in APIs that you can enable on your software projects to make them more viable and reliable.

Vendoring third-party libraries is a simple task through the Google Cloud platform. With just a bit of orientation, persistence and diligence you can easily enable and disable APIs for your Google Cloud product. The Google Cloud allows for a mass proliferation of useful and engaging software no matter the budget or limitations of a company. The cloud is the future and your company should jump on board before your business gets left behind.

By Joshua Althauser

Episode 16: Bigger is not always better: the benefits of working with smaller cloud providers
The benefits of working with smaller cloud providers A conversation with Ryan Pollock, VP Product Marketing and Developer Relationships for Vultr.com - Everyone knows who the big players are in the cloud business. But sometimes, ...
JK Chelladurai
Usage-Based Pricing We are now in an era where many businesses are flipping their business model and shifting from subscription-based pricing to usage-based models, to better cater to the modern ‘pay-as-you-consume’ buyer. So what exactly ...
Louis
Why Services CPQ Is Too Slow Today When PS organizations compete in sales cycles, the first competitor to have a complete quote with accurate pricing, schedules, and an engagement plan will often win. However, getting ...
Dana Gardner
Low-code Development Has Entered a Maturity Spurt Closing the gap between the applications and services a company needs -- and the ones they can actually produce -- has long been a missing keystone for attaining ...
Rajesh Khanna
Implement Hyperautomation to Scale Automation Programs by 3X Most Digital Service Providers (DSPs) struggle to accelerate their path to Hyperautomation due to the complex processes with legacy systems and applications. Although Robotic Process Automation (RPA) plays a ...

SECURITY TRAINING

  • Isc2

    ISC2

    (ISC)² provides IT training, certifications, and exams that run online, on your premises, or in classrooms. Self-study resources are available. You can also train groups of 10 or more of your employees. If you want a job in cybersecurity, this is the route to take.

  • App Academy

    App Academy

    Immersive software engineering programs. No experience required. Pay $0 until you're hired. Join an online info session to learn more

  • Cybrary

    Cybrary

    CYBRARY Open source Cyber Security learning. Free for everyone, forever. The world's largest cyber security community. Cybrary provides free IT training and paid IT certificates. Courses for beginners, intermediates, and advanced users are available.

  • Plural Site

    Pluralsite

    Pluralsight provides online courses on popular programming languages and developer tools. Other courses cover fields such as IT security best practices, server infrastructure, and virtualization.