A shared folder with AI prompts and code snippets
From workspace: Google Gemini
Team: Gemini
Total snippets: 7
7 snippets
Only prompts related to applications are supported in these Google Cloud products if you are scoped to a folder in the Google Cloud console. If you submit a question that doesn't relate to applications within this scope, then Gemini Cloud Assist provides a generic response stating that folders are intended for application-related prompts. The following list shows example application-related prompts:
#prompt: How many applications are in production? #prompt: Help troubleshoot application example-application.
Gemini for Google Cloud can generate and complete code structures as you enter a request from an IDE or from the Google Cloud console. Gemini for Google Cloud can also help you generate process documentation for code design and development. For example, you can ask Gemini for Google Cloud to help you do the following:
#prompt: Create a function with specific variables in C. #prompt: Create a high-level plan for designing and building and deploying a web app in Google Cloud. #prompt: Create a bare metal kubernetes cluster YAML file with default IP...
You can ask Gemini for Google Cloud to help you accomplish a specific task or set of tasks. For complex tasks, try breaking your prompts into separate steps. For example, you can get procedures and task information with questions like the following:
#prompt: How do I set up a Google Cloud account? #prompt: How do I make a bucket public? #prompt: How can I pull messages from a Pub/Sub subscription? #prompt: How do I use Vertex AI to deploy a model?
You can ask Gemini for Google Cloud to summarize and simplify code functions, and give operational suggestions—for example:
#prompt: "Simplify the code I've selected" (for example, after selecting Python code in an IDE). #prompt: "Summarize what this function does" (for example, after selecting a C code function in an IDE). #prompt: "How do I optimize IAM permissions?"
You can ask Gemini for Google Cloud for information about Google Cloud products and services, general technologies, definitions, and how those concepts and technologies relate to one another. For example, you can ask the following:
#prompt: What does "serverless architecture" mean in Google Cloud? #prompt: What Google Cloud products provide managed Kubernetes cluster support? #prompt: What are the key technical features of BigQuery? #prompt: When should I use Compute...
While there are many ways to use the language and code capabilities in Gemini for Google Cloud, the following sections describe some key areas where Gemini assistance can be most useful. Remember that Gemini for Google Cloud can produce unexpected, incomplete, or erroneous results when you ask for assistance.
.
The questions that you ask Gemini for Google Cloud, including any input information or code you want Gemini to analyze or complete, are called prompts. The answers or code completions that you receive from Gemini are called responses.
When you ask Gemini for Google Cloud for help, you should include as much context and specific detail as possible. Because AI-generated responses are based on a vast range of possibilities, it's important for you to be precise. For the best...