O
- OAUTH - enum entry in com.google.genai.types.AuthType.Known
OAuth auth.
- oauthConfig() - function in com.google.genai.types.AuthConfig
- Config for user oauth.
- oauthConfig(com.google.genai.types.AuthConfigOauthConfig) - function in com.google.genai.types.AuthConfig.Builder
- Setter for oauthConfig.
- oauthConfig(com.google.genai.types.AuthConfigOauthConfig.Builder) - function in com.google.genai.types.AuthConfig.Builder
- Setter for oauthConfig builder.
- OBJECT - enum entry in com.google.genai.types.Type.Known
OpenAPI object type
- objectMapper() - function in com.google.genai.JsonSerializable
- objectMapper() - function in com.google.genai.JsonSerializable
- OFF - enum entry in com.google.genai.types.HarmBlockThreshold.Known
Turn off the safety filter entirely.
- OIDC_AUTH - enum entry in com.google.genai.types.AuthType.Known
OpenID Connect (OIDC) Auth.
- oidcConfig() - function in com.google.genai.types.AuthConfig
- Config for user OIDC auth.
- oidcConfig(com.google.genai.types.AuthConfigOidcConfig) - function in com.google.genai.types.AuthConfig.Builder
- Setter for oidcConfig.
- oidcConfig(com.google.genai.types.AuthConfigOidcConfig.Builder) - function in com.google.genai.types.AuthConfig.Builder
- Setter for oidcConfig builder.
- ON_DEMAND - enum entry in com.google.genai.types.TrafficType.Known
The request was processed using Pay-As-You-Go quota.
- ON_DEMAND_FLEX - enum entry in com.google.genai.types.TrafficType.Known
Type for Flex traffic.
- ON_DEMAND_PRIORITY - enum entry in com.google.genai.types.TrafficType.Known
Type for Priority Pay-As-You-Go traffic.
- Operation - class in com.google.genai.types
- A long-running operation.
- operationName() - function in com.google.genai.types.EvaluateDatasetRun
- Output only.
- operationName(java.lang.String) - function in com.google.genai.types.EvaluateDatasetRun.Builder
- Setter for operationName.
- operationName() - function in com.google.genai.types.FetchPredictOperationParameters
- The server-assigned name for the operation.
- operationName(java.lang.String) - function in com.google.genai.types.FetchPredictOperationParameters.Builder
- Setter for operationName.
- operationName() - function in com.google.genai.types.GetOperationParameters
- The server-assigned name for the operation.
- operationName(java.lang.String) - function in com.google.genai.types.GetOperationParameters.Builder
- Setter for operationName.
- Operations - class in com.google.genai
- Provides methods for managing the long-running operations.
- OperationsConverters - class in com.google.genai
- Internal SDK converter functions.
- OPTIMIZED - enum entry in com.google.genai.types.VideoCompressionQuality.Known
Optimized video compression quality. This will produce videos with a compressed, smaller file size.
- OTHER - enum entry in com.google.genai.types.BlockedReason.Known
The prompt was blocked for other reasons. For example, it may be due to the prompt's language, or because it contains other harmful content.
- OTHER - enum entry in com.google.genai.types.FinishReason.Known
All other reasons that stopped the token generation.
- outcome() - function in com.google.genai.types.CodeExecutionResult
- Required.
- outcome(com.google.genai.types.Outcome) - function in com.google.genai.types.CodeExecutionResult.Builder
- Setter for outcome.
- outcome(com.google.genai.types.Outcome.Known) - function in com.google.genai.types.CodeExecutionResult.Builder
- Setter for outcome given a known enum.
- outcome(java.lang.String) - function in com.google.genai.types.CodeExecutionResult.Builder
- Setter for outcome given a string.
- Outcome - class in com.google.genai.types
- Outcome of the code execution.
- Outcome.Known - class in com.google.genai.types.Outcome
- Enum representing the known values for Outcome.
- OUTCOME_DEADLINE_EXCEEDED - enum entry in com.google.genai.types.Outcome.Known
Code execution ran for too long, and was cancelled. There may or may not be a partial output present.
- OUTCOME_FAILED - enum entry in com.google.genai.types.Outcome.Known
Code execution finished but with a failure. `stderr` should contain the reason.
- OUTCOME_OK - enum entry in com.google.genai.types.Outcome.Known
Code execution completed successfully.
- OUTCOME_UNSPECIFIED - enum entry in com.google.genai.types.Outcome.Known
Unspecified status. This value should not be used.
- OUTPAINT - enum entry in com.google.genai.types.VideoGenerationMaskMode.Known
The image mask contains a masked rectangular region where the input video will go. The remaining area will be generated. Video masks are not supported.
- output() - function in com.google.genai.types.CodeExecutionResult
- Optional.
- output(java.lang.String) - function in com.google.genai.types.CodeExecutionResult.Builder
- Setter for output.
- output() - function in com.google.genai.types.TuningExample
- Required.
- output(java.lang.String) - function in com.google.genai.types.TuningExample.Builder
- Setter for output.
- OUTPUT_IMAGE_IP_PROHIBITED - enum entry in com.google.genai.types.TurnCompleteReason.Known
Generated image contains IP violation.
- outputAudioTranscription() - function in com.google.genai.types.LiveClientSetup
- The transcription of the output aligns with the language code specified for the output audio.
- outputAudioTranscription(com.google.genai.types.AudioTranscriptionConfig) - function in com.google.genai.types.LiveClientSetup.Builder
- Setter for outputAudioTranscription.
- outputAudioTranscription(com.google.genai.types.AudioTranscriptionConfig.Builder) - function in com.google.genai.types.LiveClientSetup.Builder
- Setter for outputAudioTranscription builder.
- outputAudioTranscription() - function in com.google.genai.types.LiveConnectConfig
- The transcription of the output aligns with the language code specified for the output audio.
- outputAudioTranscription(com.google.genai.types.AudioTranscriptionConfig) - function in com.google.genai.types.LiveConnectConfig.Builder
- Setter for outputAudioTranscription.
- outputAudioTranscription(com.google.genai.types.AudioTranscriptionConfig.Builder) - function in com.google.genai.types.LiveConnectConfig.Builder
- Setter for outputAudioTranscription builder.
- outputCompressionQuality() - function in com.google.genai.types.EditImageConfig
- Compression quality of the generated image (for ``image/jpeg`` only).
- outputCompressionQuality(java.lang.Integer) - function in com.google.genai.types.EditImageConfig.Builder
- Setter for outputCompressionQuality.
- outputCompressionQuality() - function in com.google.genai.types.GenerateImagesConfig
- Compression quality of the generated image (for ``image/jpeg`` only).
- outputCompressionQuality(java.lang.Integer) - function in com.google.genai.types.GenerateImagesConfig.Builder
- Setter for outputCompressionQuality.
- outputCompressionQuality() - function in com.google.genai.types.ImageConfig
- Compression quality of the generated image (for ``image/jpeg`` only).
- outputCompressionQuality(java.lang.Integer) - function in com.google.genai.types.ImageConfig.Builder
- Setter for outputCompressionQuality.
- outputCompressionQuality() - function in com.google.genai.types.RecontextImageConfig
- Compression quality of the generated image (for ``image/jpeg`` only).
- outputCompressionQuality(java.lang.Integer) - function in com.google.genai.types.RecontextImageConfig.Builder
- Setter for outputCompressionQuality.
- outputCompressionQuality() - function in com.google.genai.types.UpscaleImageAPIConfig
- The level of compression.
- outputCompressionQuality(java.lang.Integer) - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
- Setter for outputCompressionQuality.
- outputCompressionQuality() - function in com.google.genai.types.UpscaleImageConfig
- The level of compression.
- outputCompressionQuality(java.lang.Integer) - function in com.google.genai.types.UpscaleImageConfig.Builder
- Setter for outputCompressionQuality.
- outputConfig() - function in com.google.genai.types.EvaluationConfig
- Config for evaluation output.
- outputConfig(com.google.genai.types.OutputConfig) - function in com.google.genai.types.EvaluationConfig.Builder
- Setter for outputConfig.
- outputConfig(com.google.genai.types.OutputConfig.Builder) - function in com.google.genai.types.EvaluationConfig.Builder
- Setter for outputConfig builder.
- OutputConfig - class in com.google.genai.types
- Config for evaluation output.
- OutputConfig.Builder - class in com.google.genai.types.OutputConfig
- Builder for OutputConfig.
- outputDimensionality() - function in com.google.genai.types.EmbedContentConfig
- Reduced dimension for the output embedding.
- outputDimensionality(java.lang.Integer) - function in com.google.genai.types.EmbedContentConfig.Builder
- Setter for outputDimensionality.
- outputGcsUri() - function in com.google.genai.types.EditImageConfig
- Cloud Storage URI used to store the generated images.
- outputGcsUri(java.lang.String) - function in com.google.genai.types.EditImageConfig.Builder
- Setter for outputGcsUri.
- outputGcsUri() - function in com.google.genai.types.GenerateImagesConfig
- Cloud Storage URI used to store the generated images.
- outputGcsUri(java.lang.String) - function in com.google.genai.types.GenerateImagesConfig.Builder
- Setter for outputGcsUri.
- outputGcsUri() - function in com.google.genai.types.GenerateVideosConfig
- The gcs bucket where to save the generated videos.
- outputGcsUri(java.lang.String) - function in com.google.genai.types.GenerateVideosConfig.Builder
- Setter for outputGcsUri.
- outputGcsUri() - function in com.google.genai.types.RecontextImageConfig
- Cloud Storage URI used to store the generated images.
- outputGcsUri(java.lang.String) - function in com.google.genai.types.RecontextImageConfig.Builder
- Setter for outputGcsUri.
- outputGcsUri() - function in com.google.genai.types.UpscaleImageAPIConfig
- Cloud Storage URI used to store the generated images.
- outputGcsUri(java.lang.String) - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
- Setter for outputGcsUri.
- outputGcsUri() - function in com.google.genai.types.UpscaleImageConfig
- Cloud Storage URI used to store the generated images.
- outputGcsUri(java.lang.String) - function in com.google.genai.types.UpscaleImageConfig.Builder
- Setter for outputGcsUri.
- outputInfo() - function in com.google.genai.types.EvaluateDatasetResponse
- Output only.
- outputInfo(com.google.genai.types.OutputInfo) - function in com.google.genai.types.EvaluateDatasetResponse.Builder
- Setter for outputInfo.
- outputInfo(com.google.genai.types.OutputInfo.Builder) - function in com.google.genai.types.EvaluateDatasetResponse.Builder
- Setter for outputInfo builder.
- OutputInfo - class in com.google.genai.types
- Describes the info for output of EvaluationService.
- OutputInfo.Builder - class in com.google.genai.types.OutputInfo
- Builder for OutputInfo.
- outputMimeType() - function in com.google.genai.types.EditImageConfig
- MIME type of the generated image.
- outputMimeType(java.lang.String) - function in com.google.genai.types.EditImageConfig.Builder
- Setter for outputMimeType.
- outputMimeType() - function in com.google.genai.types.GenerateImagesConfig
- MIME type of the generated image.
- outputMimeType(java.lang.String) - function in com.google.genai.types.GenerateImagesConfig.Builder
- Setter for outputMimeType.
- outputMimeType() - function in com.google.genai.types.ImageConfig
- MIME type of the generated image.
- outputMimeType(java.lang.String) - function in com.google.genai.types.ImageConfig.Builder
- Setter for outputMimeType.
- outputMimeType() - function in com.google.genai.types.RecontextImageConfig
- MIME type of the generated image.
- outputMimeType(java.lang.String) - function in com.google.genai.types.RecontextImageConfig.Builder
- Setter for outputMimeType.
- outputMimeType() - function in com.google.genai.types.UpscaleImageAPIConfig
- The image format that the output should be saved as.
- outputMimeType(java.lang.String) - function in com.google.genai.types.UpscaleImageAPIConfig.Builder
- Setter for outputMimeType.
- outputMimeType() - function in com.google.genai.types.UpscaleImageConfig
- The image format that the output should be saved as.
- outputMimeType(java.lang.String) - function in com.google.genai.types.UpscaleImageConfig.Builder
- Setter for outputMimeType.
- outputTokenLimit() - function in com.google.genai.types.Model
- The maximum number of output tokens that the model can generate.
- outputTokenLimit(java.lang.Integer) - function in com.google.genai.types.Model.Builder
- Setter for outputTokenLimit.
- outputTranscription() - function in com.google.genai.types.LiveServerContent
- Output transcription.
- outputTranscription(com.google.genai.types.Transcription) - function in com.google.genai.types.LiveServerContent.Builder
- Setter for outputTranscription.
- outputTranscription(com.google.genai.types.Transcription.Builder) - function in com.google.genai.types.LiveServerContent.Builder
- Setter for outputTranscription builder.
- outputUri() - function in com.google.genai.types.CreateTuningJobConfig
- The Google Cloud Storage location where the tuning job outputs are written.
- outputUri(java.lang.String) - function in com.google.genai.types.CreateTuningJobConfig.Builder
- Setter for outputUri.
- outputUri() - function in com.google.genai.types.TuningJob
- Optional.
- outputUri(java.lang.String) - function in com.google.genai.types.TuningJob.Builder
- Setter for outputUri.
- outputUriPrefix() - function in com.google.genai.types.GcsDestination
- Required.
- outputUriPrefix(java.lang.String) - function in com.google.genai.types.GcsDestination.Builder
- Setter for outputUriPrefix.
- overrideReplayId() - function in com.google.genai.types.TestTableItem
- Use if you don't want to use the default replay id which is derived from the test name.
- overrideReplayId(java.lang.String) - function in com.google.genai.types.TestTableItem.Builder
- Setter for overrideReplayId.
- overwrittenThreshold() - function in com.google.genai.types.SafetyRating
- Output only.
- overwrittenThreshold(com.google.genai.types.HarmBlockThreshold) - function in com.google.genai.types.SafetyRating.Builder
- Setter for overwrittenThreshold.
- overwrittenThreshold(com.google.genai.types.HarmBlockThreshold.Known) - function in com.google.genai.types.SafetyRating.Builder
- Setter for overwrittenThreshold given a known enum.
- overwrittenThreshold(java.lang.String) - function in com.google.genai.types.SafetyRating.Builder
- Setter for overwrittenThreshold given a string.