Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::AssistantGroundedContent::TextGroundingMetadata::VisualSegment.
Grounding information for a visual segment.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content_id
def content_id() -> ::String
Returns
-
(::String) — 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_idfield.
#content_id=
def content_id=(value) -> ::String
Parameter
-
value (::String) — 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_idfield.
Returns
-
(::String) — 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_idfield.
#reference_indices
def reference_indices() -> ::Array<::Integer>
Returns
- (::Array<::Integer>) — References for the visual segment.
#reference_indices=
def reference_indices=(value) -> ::Array<::Integer>
Parameter
- value (::Array<::Integer>) — References for the visual segment.
Returns
- (::Array<::Integer>) — References for the visual segment.