Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext
- 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
Document context.
Instance Attribute Summary collapse
-
#content ⇒ String
Document content.
-
#page_identifier ⇒ String
Page identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext.
6107 6108 6109 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6107 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
Document content.
Corresponds to the JSON property content
6100 6101 6102 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6100 def content @content end |
#page_identifier ⇒ String
Page identifier.
Corresponds to the JSON property pageIdentifier
6105 6106 6107 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6105 def page_identifier @page_identifier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6112 6113 6114 6115 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6112 def update!(**args) @content = args[:content] if args.key?(:content) @page_identifier = args[:page_identifier] if args.key?(:page_identifier) end |