Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Chunk content.
Instance Attribute Summary collapse
-
#content ⇒ String
Chunk textual content.
-
#page_identifier ⇒ String
Page identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent
constructor
A new instance of GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent
Returns a new instance of GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent.
1314 1315 1316 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1314 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
Chunk textual content.
Corresponds to the JSON property content
1307 1308 1309 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1307 def content @content end |
#page_identifier ⇒ String
Page identifier.
Corresponds to the JSON property pageIdentifier
1312 1313 1314 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1312 def page_identifier @page_identifier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1319 1320 1321 1322 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1319 def update!(**args) @content = args[:content] if args.key?(:content) @page_identifier = args[:page_identifier] if args.key?(:page_identifier) end |