Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo
- 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) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo.
11059 11060 11061 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11059 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document ⇒ String
Document resource name.
Corresponds to the JSON property document
11052 11053 11054 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11052 def document @document end |
#struct_data ⇒ Hash<String,Object>
Structured search data.
Corresponds to the JSON property structData
11057 11058 11059 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11057 def struct_data @struct_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11064 11065 11066 11067 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11064 def update!(**args) @document = args[:document] if args.key?(:document) @struct_data = args[:struct_data] if args.key?(:struct_data) end |