Get startedGet started for free

Introducing Gemini for application developers

1. Introducing Gemini for application developers

This is a developer. Let's learn how developers can use Gemini assistance to develop applications. This developer needs to migrate their code to a different language, and they need to generate code that is tailored to their company's proprietary database. They've been given this direction from their manager with a tight timeline. The developer knows how long exhausting and costly the process of modernizing code can be. But they suddenly remember they've heard about Gemini for Google Cloud and decide to use it to help them write better code fast, debug errors, and create reliable and scalable functionality for their company's website. Let's observe this developer as they use Gemini to simplify the task at hand. First, the developer opens VS code and finds the database connection function that connects their front end website to their back end product database. It's written in C++, and they hope to migrate it to go. We now see the developer open Gemini Code is within VS code and type their conversion request in the chat window. The developer is thrilled to make this request in natural language. By typing in the phrase, convert this function to go and use Cloud SQL, Gemini can understand the context and function that is being referenced, all without leaving the IDE and without having to context switch. Just like that, a converted function appears. The function referenced has now been converted from C++ to go. Our developer is in awe. Gemini converted the code to go and inferred that their Postgres connection needed to be converted to a Cloud SQL database. Because Gemini is trained on Google Cloud specific products and best practices, the developer reviews the generated code and feels confident with this conversion. Next, our developer wants to generate some code by using Gemini. They write a comment and natural language where they explain the function they want to create. After typing out the comment, they click the magic wand, and just like that, Gemini generated the function for them, pulled in appropriate product related API calls, and used functions and methods from their company's SDK and code base. Now our developer is celebrating. They are in awe of all the time, money, resourcing and training hours they've saved without sacrificing quality, and all thanks to Gemini. What's this? They get a new email to start working on a new project that requires them to develop a new product filtering feature to improve customer experience. They are excited to start the next project. Now that they know about Gemini, they open VS code, and instead of writing the function themselves, they simply write a comment in natural language, click on the Magic Wand, and Gemini generates the code for them. Gemini generated code. Here, you can also see that Gemini pulled in very specific methods and functions from their company's code base. This is huge. Typically, writing such code would require them to look up these functions, and that would take a lot of time. The developer then asked Gemini to explain code. Write a test plan and test cases and provide commands to deploy the app to production. Great. Our developer is ready to push their changes to production and ask Gemini how to deploy their application? Success, they got an endpoint, and it worked. Time to celebrate. Our developer quickly generated code deployed and generated tests all without leaving their development environment. With all that time saved, they can now finally get around to finishing their crocheting project. Thanks, Gemini. What will you build?

2. Let's practice!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.