public sealed class AssistantGroundedContent.Types.TextGroundingMetadata.Types.VisualSegment : IMessage<AssistantGroundedContent.Types.TextGroundingMetadata.Types.VisualSegment>, IEquatable<AssistantGroundedContent.Types.TextGroundingMetadata.Types.VisualSegment>, IDeepCloneable<AssistantGroundedContent.Types.TextGroundingMetadata.Types.VisualSegment>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1beta API class AssistantGroundedContent.Types.TextGroundingMetadata.Types.VisualSegment.
Grounding information for a visual segment.
Implements
IMessageAssistantGroundedContentTypesTextGroundingMetadataTypesVisualSegment, IEquatableAssistantGroundedContentTypesTextGroundingMetadataTypesVisualSegment, IDeepCloneableAssistantGroundedContentTypesTextGroundingMetadataTypesVisualSegment, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
VisualSegment()
public VisualSegment()VisualSegment(VisualSegment)
public VisualSegment(AssistantGroundedContent.Types.TextGroundingMetadata.Types.VisualSegment other)| Parameter | |
|---|---|
| Name | Description |
other |
AssistantGroundedContentTypesTextGroundingMetadataTypesVisualSegment |
Properties
ContentId
public string ContentId { get; set; }The content id of the visual segment. In order to display the citation
of the visual element, this content_id needs to match with the
grounded_content.content_metadata.content_id field.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ReferenceIndices
public RepeatedField<int> ReferenceIndices { get; }References for the visual segment.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldint |
|