Class DatasetDistributionDistributionBucket
Dataset bucket used to create a histogram for the distribution given a population of values. This data type is not supported in Gemini API.
public record DatasetDistributionDistributionBucket : IEquatable<DatasetDistributionDistributionBucket>
- Inheritance
-
DatasetDistributionDistributionBucket
- Implements
- Inherited Members
Properties
Count
Output only. Number of values in the bucket.
[JsonPropertyName("count")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(StringToNullableLongConverter))]
public long? Count { get; set; }
Property Value
- long?
Left
Output only. Left bound of the bucket.
[JsonPropertyName("left")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public double? Left { get; set; }
Property Value
Right
Output only. Right bound of the bucket.
[JsonPropertyName("right")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public double? Right { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a DatasetDistributionDistributionBucket object.
public static DatasetDistributionDistributionBucket? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- DatasetDistributionDistributionBucket
The deserialized DatasetDistributionDistributionBucket object, or null if deserialization fails.