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
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
TuningExample
TuningExamples
TuningSnapshot
TuningTask
UpdateCachedContentRequest
UpdateChunkRequest
UpdateCorpusRequest
UpdateDocumentRequest
UpdatePermissionRequest
UpdateTunedModelRequest
UsageMetadata
UsageMetadata
VideoMetadata
VoiceConfig
Web
protos.google.ai.generativelanguage.v1beta2
CitationMetadata
CitationSource
ContentFilter
CountMessageTokensRequest
CountMessageTokensResponse
DiscussService
EmbedTextRequest
EmbedTextResponse
Embedding
Example
GenerateMessageRequest
GenerateMessageResponse
GenerateTextRequest
GenerateTextResponse
GetModelRequest
ListModelsRequest
ListModelsResponse
Message
MessagePrompt
Model
ModelService
SafetyFeedback
SafetyRating
SafetySetting
TextCompletion
TextPrompt
TextService
protos.google.ai.generativelanguage.v1beta3
BatchEmbedTextRequest
BatchEmbedTextResponse
CitationMetadata
CitationSource
ContentFilter
CountMessageTokensRequest
CountMessageTokensResponse
CountTextTokensRequest
CountTextTokensResponse
CreatePermissionRequest
CreateTunedModelMetadata
CreateTunedModelRequest
Dataset
DeletePermissionRequest
DeleteTunedModelRequest
DiscussService
EmbedTextRequest
EmbedTextResponse
Embedding
Example
GenerateMessageRequest
GenerateMessageResponse
GenerateTextRequest
GenerateTextResponse
GetModelRequest
GetPermissionRequest
GetTunedModelRequest
Hyperparameters
ListModelsRequest
ListModelsResponse
ListPermissionsRequest
ListPermissionsResponse
ListTunedModelsRequest
ListTunedModelsResponse
Message
MessagePrompt
Model
ModelService
Permission
PermissionService
SafetyFeedback
SafetyRating
SafetySetting
TextCompletion
TextPrompt
TextService
TransferOwnershipRequest
TransferOwnershipResponse
TunedModel
TunedModelSource
TuningExample
TuningExamples
TuningSnapshot
TuningTask
UpdatePermissionRequest
UpdateTunedModelRequest
protos.google.api
ClientLibrarySettings
CommonLanguageSettings
CppSettings
CustomHttpPattern
DotnetSettings
GoSettings
Http
HttpRule
JavaSettings
LongRunning
MethodSettings
NodeSettings
PhpSettings
Publishing
PythonSettings
ResourceDescriptor
ResourceReference
RubySettings
protos.google.longrunning
CancelOperationRequest
DeleteOperationRequest
GetOperationRequest
ListOperationsRequest
ListOperationsResponse
Operation
OperationInfo
Operations
WaitOperationRequest
protos.google.protobuf
Annotation
Any
Declaration
DescriptorProto
Duration
EditionDefault
Empty
EnumDescriptorProto
EnumOptions
EnumReservedRange
EnumValueDescriptorProto
EnumValueOptions
ExtensionRange
ExtensionRangeOptions
FeatureSet
FeatureSetDefaults
FeatureSetEditionDefault
FieldDescriptorProto
FieldMask
FieldOptions
FileDescriptorProto
FileDescriptorSet
FileOptions
GeneratedCodeInfo
ListValue
Location
MessageOptions
MethodDescriptorProto
MethodOptions
NamePart
OneofDescriptorProto
OneofOptions
ReservedRange
ServiceDescriptorProto
ServiceOptions
SourceCodeInfo
Struct
Timestamp
UninterpretedOption
Value
protos.google.rpc
Status
Interfaces
protos.google.ai.generativelanguage.v1
IBatchEmbedContentsRequest
IBatchEmbedContentsResponse
IBlob
ICandidate
ICandidate
ICitationMetadata
ICitationSource
IContent
IContentEmbedding
ICountTokensRequest
ICountTokensResponse
IEmbedContentRequest
IEmbedContentResponse
IGenerateContentRequest
IGenerateContentResponse
IGenerationConfig
IGetModelRequest
IGroundingChunk
IGroundingMetadata
IGroundingSupport
IListModelsRequest
IListModelsResponse
ILogprobsResult
IModel
IPart
IPromptFeedback
IRetrievalMetadata
ISafetyRating
ISafetySetting
ISearchEntryPoint
ISegment
ITopCandidates
IUsageMetadata
IWeb
protos.google.ai.generativelanguage.v1alpha
IAttributionSourceId
IBatchCreateChunksRequest
IBatchCreateChunksResponse
IBatchDeleteChunksRequest
IBatchEmbedContentsRequest
IBatchEmbedContentsResponse
IBatchEmbedTextRequest
IBatchEmbedTextResponse
IBatchUpdateChunksRequest
IBatchUpdateChunksResponse
IBidiGenerateContentClientContent
IBidiGenerateContentClientMessage
IBidiGenerateContentRealtimeInput
IBidiGenerateContentServerContent
IBidiGenerateContentServerMessage
IBidiGenerateContentSetup
IBidiGenerateContentSetupComplete
IBidiGenerateContentToolCall
IBidiGenerateContentToolCallCancellation
IBidiGenerateContentToolResponse
IBlob
ICachedContent
ICandidate
ICandidate
IChunk
IChunkData
ICitationMetadata
ICitationSource
ICodeExecution
ICodeExecutionResult
ICondition
IContent
IContentEmbedding
IContentFilter
ICorpus
ICountMessageTokensRequest
ICountMessageTokensResponse
ICountTextTokensRequest
ICountTextTokensResponse
ICountTokensRequest
ICountTokensResponse
ICreateCachedContentRequest
ICreateChunkRequest
ICreateCorpusRequest
ICreateDocumentRequest
ICreateFileRequest
ICreateFileResponse
ICreatePermissionRequest
ICreateTunedModelMetadata
ICreateTunedModelRequest
ICustomMetadata
IDataset
IDeleteCachedContentRequest
IDeleteChunkRequest
IDeleteCorpusRequest
IDeleteDocumentRequest
IDeleteFileRequest
IDeletePermissionRequest
IDeleteTunedModelRequest
IDocument
IDynamicRetrievalConfig
IEmbedContentRequest
IEmbedContentResponse
IEmbedTextRequest
IEmbedTextResponse
IEmbedding
IExample
IExecutableCode
IFile
IFileData
IFunctionCall
IFunctionCallingConfig
IFunctionDeclaration
IFunctionResponse
IGenerateAnswerRequest
IGenerateAnswerResponse
IGenerateContentRequest
IGenerateContentResponse
IGenerateMessageRequest
IGenerateMessageResponse
IGenerateTextRequest
IGenerateTextResponse
IGenerationConfig
IGetCachedContentRequest
IGetChunkRequest
IGetCorpusRequest
IGetDocumentRequest
IGetFileRequest
IGetModelRequest
IGetPermissionRequest
IGetTunedModelRequest
IGoogleSearch
IGoogleSearchRetrieval
IGroundingAttribution
IGroundingChunk
IGroundingMetadata
IGroundingPassage
IGroundingPassageId
IGroundingPassages
IGroundingSupport
IHyperparameters
IInputFeedback
IListCachedContentsRequest
IListCachedContentsResponse
IListChunksRequest
IListChunksResponse
IListCorporaRequest
IListCorporaResponse
IListDocumentsRequest
IListDocumentsResponse
IListFilesRequest
IListFilesResponse
IListModelsRequest
IListModelsResponse
IListPermissionsRequest
IListPermissionsResponse
IListTunedModelsRequest
IListTunedModelsResponse
ILogprobsResult
IMessage
IMessagePrompt
IMetadataFilter
IModel
IPart
IPermission
IPrebuiltVoiceConfig
IPredictRequest
IPredictResponse
IPromptFeedback
IQueryCorpusRequest
IQueryCorpusResponse
IQueryDocumentRequest
IQueryDocumentResponse
IRelevantChunk
IRetrievalMetadata
ISafetyFeedback
ISafetyRating
ISafetySetting
ISchema
ISearchEntryPoint
ISegment
ISemanticRetrieverChunk
ISemanticRetrieverConfig
ISpeechConfig
IStringList
ITextCompletion
ITextPrompt
ITool
IToolConfig
ITopCandidates
ITransferOwnershipRequest
ITransferOwnershipResponse
ITunedModel
ITunedModelSource
ITuningContent
ITuningExample
ITuningExamples
ITuningMultiturnExample
ITuningPart
ITuningSnapshot
ITuningTask
IUpdateCachedContentRequest
IUpdateChunkRequest
IUpdateCorpusRequest
IUpdateDocumentRequest
IUpdatePermissionRequest
IUpdateTunedModelRequest
IUsageMetadata
IUsageMetadata
IVideoMetadata
IVoiceConfig
IWeb
protos.google.ai.generativelanguage.v1beta
IAttributionSourceId
IBatchCreateChunksRequest
IBatchCreateChunksResponse
IBatchDeleteChunksRequest
IBatchEmbedContentsRequest
IBatchEmbedContentsResponse
IBatchEmbedTextRequest
IBatchEmbedTextResponse
IBatchUpdateChunksRequest
IBatchUpdateChunksResponse
IBlob
ICachedContent
ICandidate
ICandidate
IChunk
IChunkData
ICitationMetadata
ICitationSource
ICodeExecution
ICodeExecutionResult
ICondition
IContent
IContentEmbedding
IContentFilter
ICorpus
ICountMessageTokensRequest
ICountMessageTokensResponse
ICountTextTokensRequest
ICountTextTokensResponse
ICountTokensRequest
ICountTokensResponse
ICreateCachedContentRequest
ICreateChunkRequest
ICreateCorpusRequest
ICreateDocumentRequest
ICreateFileRequest
ICreateFileResponse
ICreatePermissionRequest
ICreateTunedModelMetadata
ICreateTunedModelRequest
ICustomMetadata
IDataset
IDeleteCachedContentRequest
IDeleteChunkRequest
IDeleteCorpusRequest
IDeleteDocumentRequest
IDeleteFileRequest
IDeletePermissionRequest
IDeleteTunedModelRequest
IDocument
IDynamicRetrievalConfig
IEmbedContentRequest
IEmbedContentResponse
IEmbedTextRequest
IEmbedTextResponse
IEmbedding
IExample
IExecutableCode
IFile