Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo
- 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
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) ⇒ GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo.
11160 11161 11162 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11160 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document ⇒ String
Document resource name.
Corresponds to the JSON property document
11153 11154 11155 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11153 def document @document end |
#struct_data ⇒ Hash<String,Object>
Structured search data.
Corresponds to the JSON property structData
11158 11159 11160 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11158 def struct_data @struct_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11165 11166 11167 11168 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11165 def update!(**args) @document = args[:document] if args.key?(:document) @struct_data = args[:struct_data] if args.key?(:struct_data) end |