Package com.google.genai.types
Class GroundingMetadataSourceFlaggingUri
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for GroundingMetadataSourceFlaggingUri. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Instantiates a builder for GroundingMetadataSourceFlaggingUri.The URI that can be used to flag the content.Deserializes a JSON string to a GroundingMetadataSourceFlaggingUri object.sourceId()The ID of the place or review.Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
GroundingMetadataSourceFlaggingUri
public GroundingMetadataSourceFlaggingUri()
-
-
Method Details
-
flagContentUri
The URI that can be used to flag the content. -
sourceId
The ID of the place or review. -
builder
Instantiates a builder for GroundingMetadataSourceFlaggingUri. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a GroundingMetadataSourceFlaggingUri object.
-