Discovery Engine v1beta API - Class AssistantGroundedContent.Types.TextGroundingMetadata.Types.VisualSegment (1.0.0-beta24)

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, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class AssistantGroundedContent.Types.TextGroundingMetadata.Types.VisualSegment.

Grounding information for a visual segment.

Inheritance

object > AssistantGroundedContent.Types.TextGroundingMetadata.Types.VisualSegment

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

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