Class GroundingMetadataSourceFlaggingUri
A URI that can be used to flag a place or review for inappropriate content. This is populated only when the grounding source is Google Maps. This data type is not supported in Gemini API.
public record GroundingMetadataSourceFlaggingUri : IEquatable<GroundingMetadataSourceFlaggingUri>
- Inheritance
-
GroundingMetadataSourceFlaggingUri
- Implements
- Inherited Members
Properties
FlagContentUri
The URI that can be used to flag the content.
[JsonPropertyName("flagContentUri")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? FlagContentUri { get; set; }
Property Value
SourceId
The ID of the place or review.
[JsonPropertyName("sourceId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? SourceId { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a GroundingMetadataSourceFlaggingUri object.
public static GroundingMetadataSourceFlaggingUri? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- GroundingMetadataSourceFlaggingUri
The deserialized GroundingMetadataSourceFlaggingUri object, or null if deserialization fails.