Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Grounding information for a visual segment.
Instance Attribute Summary collapse
-
#content_id ⇒ String
The content id of the visual segment.
-
#reference_indices ⇒ Array<Fixnum>
References for the visual segment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment.
9276 9277 9278 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9276 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_id ⇒ 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_id field.
Corresponds to the JSON property contentId
9269 9270 9271 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9269 def content_id @content_id end |
#reference_indices ⇒ Array<Fixnum>
References for the visual segment.
Corresponds to the JSON property referenceIndices
9274 9275 9276 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9274 def reference_indices @reference_indices end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9281 9282 9283 9284 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9281 def update!(**args) @content_id = args[:content_id] if args.key?(:content_id) @reference_indices = args[:reference_indices] if args.key?(:reference_indices) end |