Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo
- 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
Structured search information.
Instance Attribute Summary collapse
-
#document ⇒ String
Document resource name.
-
#struct_data ⇒ Hash<String,Object>
Structured search data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo
constructor
A new instance of GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo
Returns a new instance of GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo.
1793 1794 1795 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1793 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document ⇒ String
Document resource name.
Corresponds to the JSON property document
1786 1787 1788 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1786 def document @document end |
#struct_data ⇒ Hash<String,Object>
Structured search data.
Corresponds to the JSON property structData
1791 1792 1793 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1791 def struct_data @struct_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1798 1799 1800 1801 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1798 def update!(**args) @document = args[:document] if args.key?(:document) @struct_data = args[:struct_data] if args.key?(:struct_data) end |