Skip to main content
Documentation
Technology areas
close
AI and ML
Application development
Application hosting
Compute
Data analytics and pipelines
Databases
Distributed, hybrid, and multicloud
Generative AI
Industry solutions
Networking
Observability and monitoring
Security
Storage
Cross-product tools
close
Access and resources management
Costs and usage management
Google Cloud SDK, languages, frameworks, and tools
Infrastructure as code
Migration
Related sites
close
Google Cloud Home
Free Trial and Free Tier
Architecture Center
Blog
Contact Sales
Google Cloud Developer Center
Google Developer Center
Google Cloud Marketplace
Google Cloud Marketplace Documentation
Google Cloud Skills Boost
Google Cloud Solution Center
Google Cloud Support
Google Cloud Tech Youtube Channel
/
English
Deutsch
Español – América Latina
Français
Português – Brasil
中文 – 简体
日本語
한국어
Console
Sign in
Node.js
Overview
Guides
Reference
Samples
Contact Us
Start free
Documentation
Overview
Guides
Reference
Samples
Technology areas
More
Cross-product tools
More
Related sites
More
Console
Contact Us
Start free
Overview
Library reference docs
areainsights
batch
bigquery-reservation
chat
cloudcontrolspartner
cloudquotas
compute
confidentialcomputing
contact-center-insights
dataform
dataproc
datastream
deploy
developerconnect
dialogflow
dialogflow-cx
discoveryengine
dlp
domains
edgecontainer
edgenetwork
essential-contacts
eventarc
eventarc-publishing
filestore
fleetengine
fleetengine-delivery
functions
gdchardwaremanagement
generativelanguage
CacheServiceClient (v1beta)
CacheServiceClient (v1alpha)
DiscussServiceClient (v1beta3)
DiscussServiceClient (v1beta2)
DiscussServiceClient (v1beta)
DiscussServiceClient (v1alpha)
FileServiceClient (v1beta)
FileServiceClient (v1alpha)
GenerativeServiceClient (v1)
GenerativeServiceClient (v1beta)
GenerativeServiceClient (v1alpha)
ModelServiceClient (v1)
ModelServiceClient (v1beta3)
ModelServiceClient (v1beta2)
ModelServiceClient (v1beta)
ModelServiceClient (v1alpha)
PermissionServiceClient (v1beta3)
PermissionServiceClient (v1beta)
PermissionServiceClient (v1alpha)
PredictionServiceClient (v1beta)
PredictionServiceClient (v1alpha)
RetrieverServiceClient (v1beta)
RetrieverServiceClient (v1alpha)
TextServiceClient (v1beta3)
TextServiceClient (v1beta2)
TextServiceClient (v1beta)
TextServiceClient (v1alpha)
Classes
protos.google.ai.generativelanguage.v1
BatchEmbedContentsRequest
BatchEmbedContentsResponse
Blob
Candidate
Candidate
CitationMetadata
CitationSource
Content
ContentEmbedding
CountTokensRequest
CountTokensResponse
EmbedContentRequest
EmbedContentResponse
GenerateContentRequest
GenerateContentResponse
GenerationConfig
GenerativeService
GetModelRequest
GroundingChunk
GroundingMetadata
GroundingSupport
ListModelsRequest
ListModelsResponse
LogprobsResult
Model
ModelService
Part
PromptFeedback
RetrievalMetadata
SafetyRating
SafetySetting
SearchEntryPoint
Segment
TopCandidates
UsageMetadata
Web
protos.google.ai.generativelanguage.v1alpha
AttributionSourceId
BatchCreateChunksRequest
BatchCreateChunksResponse
BatchDeleteChunksRequest
BatchEmbedContentsRequest
BatchEmbedContentsResponse
BatchEmbedTextRequest
BatchEmbedTextResponse
BatchUpdateChunksRequest
BatchUpdateChunksResponse
BidiGenerateContentClientContent
BidiGenerateContentClientMessage
BidiGenerateContentRealtimeInput
BidiGenerateContentServerContent
BidiGenerateContentServerMessage
BidiGenerateContentSetup
BidiGenerateContentSetupComplete
BidiGenerateContentToolCall
BidiGenerateContentToolCallCancellation
BidiGenerateContentToolResponse
Blob
CacheService
CachedContent
Candidate
Candidate
Chunk
ChunkData
CitationMetadata
CitationSource
CodeExecution
CodeExecutionResult
Condition
Content
ContentEmbedding
ContentFilter
Corpus
CountMessageTokensRequest
CountMessageTokensResponse
CountTextTokensRequest
CountTextTokensResponse
CountTokensRequest
CountTokensResponse
CreateCachedContentRequest
CreateChunkRequest
CreateCorpusRequest
CreateDocumentRequest
CreateFileRequest
CreateFileResponse
CreatePermissionRequest
CreateTunedModelMetadata
CreateTunedModelRequest
CustomMetadata
Dataset
DeleteCachedContentRequest
DeleteChunkRequest
DeleteCorpusRequest
DeleteDocumentRequest
DeleteFileRequest
DeletePermissionRequest
DeleteTunedModelRequest
DiscussService
Document
DynamicRetrievalConfig
EmbedContentRequest
EmbedContentResponse
EmbedTextRequest
EmbedTextResponse
Embedding
Example
ExecutableCode
File
FileData
FileService
FunctionCall
FunctionCallingConfig
FunctionDeclaration
FunctionResponse
GenerateAnswerRequest
GenerateAnswerResponse
GenerateContentRequest
GenerateContentResponse
GenerateMessageRequest
GenerateMessageResponse
GenerateTextRequest
GenerateTextResponse
GenerationConfig
GenerativeService
GetCachedContentRequest
GetChunkRequest
GetCorpusRequest
GetDocumentRequest
GetFileRequest
GetModelRequest
GetPermissionRequest
GetTunedModelRequest
GoogleSearch
GoogleSearchRetrieval
GroundingAttribution
GroundingChunk
GroundingMetadata
GroundingPassage
GroundingPassageId
GroundingPassages
GroundingSupport
Hyperparameters
InputFeedback
ListCachedContentsRequest
ListCachedContentsResponse
ListChunksRequest
ListChunksResponse
ListCorporaRequest
ListCorporaResponse
ListDocumentsRequest
ListDocumentsResponse
ListFilesRequest
ListFilesResponse
ListModelsRequest
ListModelsResponse
ListPermissionsRequest
ListPermissionsResponse
ListTunedModelsRequest
ListTunedModelsResponse
LogprobsResult
Message
MessagePrompt
MetadataFilter
Model
ModelService
Part
Permission
PermissionService
PrebuiltVoiceConfig
PredictRequest
PredictResponse
PredictionService
PromptFeedback
QueryCorpusRequest
QueryCorpusResponse
QueryDocumentRequest
QueryDocumentResponse
RelevantChunk
RetrievalMetadata
RetrieverService
SafetyFeedback
SafetyRating
SafetySetting
Schema
SearchEntryPoint
Segment
SemanticRetrieverChunk
SemanticRetrieverConfig
SpeechConfig
StringList
TextCompletion
TextPrompt
TextService
Tool
ToolConfig
TopCandidates
TransferOwnershipRequest
TransferOwnershipResponse
TunedModel
TunedModelSource
TuningContent
TuningExample
TuningExamples
TuningMultiturnExample
TuningPart
TuningSnapshot
TuningTask
UpdateCachedContentRequest
UpdateChunkRequest
UpdateCorpusRequest
UpdateDocumentRequest
UpdatePermissionRequest
UpdateTunedModelRequest
UsageMetadata
UsageMetadata
VideoMetadata
VoiceConfig
Web
protos.google.ai.generativelanguage.v1beta
AttributionSourceId
BatchCreateChunksRequest
BatchCreateChunksResponse
BatchDeleteChunksRequest
BatchEmbedContentsRequest
BatchEmbedContentsResponse
BatchEmbedTextRequest
BatchEmbedTextResponse
BatchUpdateChunksRequest
BatchUpdateChunksResponse
Blob
CacheService
CachedContent
Candidate
Candidate
Chunk
ChunkData
CitationMetadata
CitationSource
CodeExecution
CodeExecutionResult
Condition
Content
ContentEmbedding
ContentFilter
Corpus
CountMessageTokensRequest
CountMessageTokensResponse
CountTextTokensRequest
CountTextTokensResponse
CountTokensRequest
CountTokensResponse
CreateCachedContentRequest
CreateChunkRequest
CreateCorpusRequest
CreateDocumentRequest
CreateFileRequest
CreateFileResponse
CreatePermissionRequest
CreateTunedModelMetadata
CreateTunedModelRequest
CustomMetadata
Dataset
DeleteCachedContentRequest
DeleteChunkRequest
DeleteCorpusRequest
DeleteDocumentRequest
DeleteFileRequest
DeletePermissionRequest
DeleteTunedModelRequest
DiscussService
Document
DynamicRetrievalConfig
EmbedContentRequest
EmbedContentResponse
EmbedTextRequest
EmbedTextResponse
Embedding
Example
ExecutableCode
File
FileData
FileService
FunctionCall
FunctionCallingConfig
FunctionDeclaration
FunctionResponse
GenerateAnswerRequest
GenerateAnswerResponse
GenerateContentRequest
GenerateContentResponse
GenerateMessageRequest
GenerateMessageResponse
GenerateTextRequest
GenerateTextResponse
GenerationConfig