Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata
- 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::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference>
References for the grounded text.
-
#segments ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment>
Grounding information for parts of the text.
-
#visual_segments ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataVisualSegment>
Grounding information for parts of the visual content.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata
Returns a new instance of GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata.
21413 21414 21415 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21413 def initialize(**args) update!(**args) end |
Instance Attribute Details
#references ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference>
References for the grounded text.
Corresponds to the JSON property references
21401 21402 21403 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21401 def references @references end |
#segments ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment>
Grounding information for parts of the text.
Corresponds to the JSON property segments
21406 21407 21408 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21406 def segments @segments end |
#visual_segments ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataVisualSegment>
Grounding information for parts of the visual content.
Corresponds to the JSON property visualSegments
21411 21412 21413 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21411 def visual_segments @visual_segments end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21418 21419 21420 21421 21422 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21418 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 |