Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo
- 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
Chunk information.
Instance Attribute Summary collapse
-
#chunk ⇒ String
Chunk resource name.
-
#content ⇒ String
Chunk textual content.
-
#relevance_score ⇒ Float
Relevance score.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo.
6851 6852 6853 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6851 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunk ⇒ String
Chunk resource name.
Corresponds to the JSON property chunk
6839 6840 6841 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6839 def chunk @chunk end |
#content ⇒ String
Chunk textual content.
Corresponds to the JSON property content
6844 6845 6846 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6844 def content @content end |
#relevance_score ⇒ Float
Relevance score.
Corresponds to the JSON property relevanceScore
6849 6850 6851 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6849 def relevance_score @relevance_score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6856 6857 6858 6859 6860 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6856 def update!(**args) @chunk = args[:chunk] if args.key?(:chunk) @content = args[:content] if args.key?(:content) @relevance_score = args[:relevance_score] if args.key?(:relevance_score) end |