Class EmbedContentMetadata
Request-level metadata for the Gemini Enterprise Agent Platform Embed Content API.
public record EmbedContentMetadata : IEquatable<EmbedContentMetadata>
- Inheritance
-
EmbedContentMetadata
- Implements
- Inherited Members
Properties
BillableCharacterCount
Gemini Enterprise Agent Platform only. The total number of billable characters included in the request.
[JsonPropertyName("billableCharacterCount")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? BillableCharacterCount { get; set; }
Property Value
- int?
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a EmbedContentMetadata object.
public static EmbedContentMetadata? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- EmbedContentMetadata
The deserialized EmbedContentMetadata object, or null if deserialization fails.