GroundingAttribution class final

Attribution for a source that contributed to an answer.

Inheritance
  • Object
  • ProtoMessage
  • GroundingAttribution

Constructors

GroundingAttribution({AttributionSourceId? sourceId, Content? content})
GroundingAttribution.fromJson(Map<String, dynamic> json)
factory

Properties

content Content?
Grounding source content that makes up this attribution.
final
hashCode int
The hash code for this object.
no setterinherited
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceId AttributionSourceId?
Output only. Identifier for the source contributing to this attribution.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String