Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata
- 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 details for text sources.
Instance Attribute Summary collapse
-
#references ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference>
References for the grounded text.
-
#segments ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment>
Grounding information for parts of the text.
-
#visual_segments ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment>
Grounding information for parts of the visual content.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata.
8478 8479 8480 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8478 def initialize(**args) update!(**args) end |
Instance Attribute Details
#references ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference>
References for the grounded text.
Corresponds to the JSON property references
8466 8467 8468 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8466 def references @references end |
#segments ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment>
Grounding information for parts of the text.
Corresponds to the JSON property segments
8471 8472 8473 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8471 def segments @segments end |
#visual_segments ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment>
Grounding information for parts of the visual content.
Corresponds to the JSON property visualSegments
8476 8477 8478 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8476 def visual_segments @visual_segments end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8483 8484 8485 8486 8487 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8483 def update!(**args) @references = args[:references] if args.key?(:references) @segments = args[:segments] if args.key?(:segments) @visual_segments = args[:visual_segments] if args.key?(:visual_segments) end |