Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo
- 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.
-
#title ⇒ String
Output only.
-
#uri ⇒ String
Output only.
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.
7677 7678 7679 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7677 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document ⇒ String
Document resource name.
Corresponds to the JSON property document
7660 7661 7662 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7660 def document @document end |
#struct_data ⇒ Hash<String,Object>
Structured search data.
Corresponds to the JSON property structData
7665 7666 7667 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7665 def struct_data @struct_data end |
#title ⇒ String
Output only. The title of the document.
Corresponds to the JSON property title
7670 7671 7672 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7670 def title @title end |
#uri ⇒ String
Output only. The URI of the document.
Corresponds to the JSON property uri
7675 7676 7677 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7675 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7682 7683 7684 7685 7686 7687 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7682 def update!(**args) @document = args[:document] if args.key?(:document) @struct_data = args[:struct_data] if args.key?(:struct_data) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |