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.
-
#title ⇒ String
Output only.
-
#uri ⇒ String
Output only.
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.
20501 20502 20503 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 20501 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document ⇒ String
Document resource name.
Corresponds to the JSON property document
20484 20485 20486 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 20484 def document @document end |
#struct_data ⇒ Hash<String,Object>
Structured search data.
Corresponds to the JSON property structData
20489 20490 20491 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 20489 def struct_data @struct_data end |
#title ⇒ String
Output only. The title of the document.
Corresponds to the JSON property title
20494 20495 20496 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 20494 def title @title end |
#uri ⇒ String
Output only. The URI of the document.
Corresponds to the JSON property uri
20499 20500 20501 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 20499 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20506 20507 20508 20509 20510 20511 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 20506 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 |