Skip to main content
Google Gemini
37 actions · 10 events · 2 auth methods
AI

Getting Started

1

Create or Select a Project

Set up a new project or select an existing one. See Organizations & Projects.
2

Configure the Connector

Enable the connector and set up a Connector Profile in your project. See Setup Connector Profile.

Connector Profile · API Key

Best for quick prototyping and single-project use via Google AI Studio.

Connector Profile · OAuth 2.0

Use for applications needing user-context authorization and broader GCP permissions. Supports tuning and retriever acces…
Optionally, configure receiving Events for Google Gemini into StackOne.

Webhooks setup

3

Link an Account

Link an account from the dashboard (or via StackOne Hub).See the guide for the authentication type chosen in the Connector Profile:

Link Account · API Key

Link Account · OAuth 2.0

4

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Actions

|
|
37 actions
Action
Description
Required scopes
Create Cached Content
Cache content for reuse across multiple requests
Get Cached Content
Retrieve cached content details and status
List Cached Contents
List all cached content resources
Update Cached Content
Partially update cached content properties (extend TTL) — uses PATCH, not full replace
Delete Cached Content
Delete a cached content resource
Generate Content
Generate text content from a prompt using a Gemini model
Stream Generate Content
Stream generated content in real-time using Server-Sent Events
Batch Embed Contents
Generate embeddings for multiple items in a single synchronous call
Embed Content
Generate high-quality embedding vectors for text or multimodal content using Gemini embedding models
Async Batch Embed Content
Enqueue large batches of embedding requests for cost-effective asynchronous processing
Get File
Get metadata about an uploaded file
List Files
List all uploaded files
Register File
Register Google Cloud Storage objects as Gemini files without uploading
Delete File
Delete an uploaded file
Generate Image
Generate images using Imagen 4 models (paid account required)
List Models
List all available Gemini models
Get Model
Get details about a specific Gemini model
Get Operation Status
Get status of a long-running operation (batch, video generation, etc.)
Cancel Operation
Cancel a long-running operation
List Operations
List all long-running operations
Count Tokens
Count tokens in a prompt without generating content
Generate Video
Generate videos using Veo models (paid account or quota required)
Create File Search Store
Create an empty file search store for document indexing and retrieval
List File Search Stores
List all file search stores
Get File Search Store
Get details of a specific file search store
Delete File Search Store
Delete a file search store
Import File To Search Store
Import a file from the Files API into a file search store for semantic search
List File Search Store Documents
List all documents in a file search store
Get File Search Store Document
Get details of a specific document within a file search store
Delete File Search Store Document
Delete a specific document from a file search store
List Webhooks
List all webhooks registered on the project.
Get Webhook
Get a single webhook by id.
Ping Webhook
Send a test delivery to a webhook’s endpoint.
Create Webhook
Register a webhook on the project.
Update Webhook
Update a webhook’s endpoint, event list, or display name.
Rotate Webhook Signing Secret
Issue a new signing secret for a webhook.
Delete Webhook
Delete a webhook from the project.

Events

|
10 events
Event
Description
Tags
Active Check
Responds 200 OK to ping deliveries and any event type without a registered handler.
Webhooks
Batch Succeeded
Fired when a batch job finishes processing successfully.
Batch
Batch Failed
Fired when a batch job terminates with a system or validation error.
Batch
Batch Expired
Fired when a batch job is not processed within its 24-hour window.
Batch
Batch Cancelled
Fired when a batch job is cancelled by the user.
Batch
Interaction Completed
Fired when a long-running interaction finishes successfully.
Interactions
Interaction Failed
Fired when a long-running interaction terminates with an error.
Interactions
Interaction Requires Action
Fired when a background interaction pauses and waits for a function call result.
Interactions
Interaction Cancelled
Fired when a long-running interaction is cancelled.
Interactions
Video Generated
Fired when a Veo video generation job finishes and the file is ready.
Video