Table of Contents

Class BatchJobResponse

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Response wrapper for batch job operations (Google AI format).

[JsonConverter(typeof(BatchJobResponseConverter))]
public class BatchJobResponse
Inheritance
BatchJobResponse
Inherited Members
Extension Methods

Properties

ContentOutput

Output for content generation batch jobs. Populated when metadata.@type contains "GenerateContent".

public BatchContentOutput? ContentOutput { get; set; }

Property Value

BatchContentOutput

Done

Indicates if the operation is complete.

[JsonPropertyName("done")]
public bool? Done { get; set; }

Property Value

bool?

EmbeddingOutput

Output for embedding batch jobs. Populated when metadata.@type contains "EmbedContent".

public BatchEmbeddingOutput? EmbeddingOutput { get; set; }

Property Value

BatchEmbeddingOutput

Metadata

The batch job metadata containing detailed information.

[JsonPropertyName("metadata")]
public BatchJob? Metadata { get; set; }

Property Value

BatchJob

Name

The resource name of the batch job.

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string