Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProcessedDocument
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProcessedDocument
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Document captures all raw metadata information of items to be recommended or searched.
Instance Attribute Summary collapse
-
#document ⇒ String
Required.
-
#json_data ⇒ String
The JSON string representation of the processed document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaProcessedDocument
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaProcessedDocument.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaProcessedDocument
Returns a new instance of GoogleCloudDiscoveryengineV1alphaProcessedDocument.
8964 8965 8966 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8964 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document ⇒ String
Required. Full resource name of the referenced document, in the format
projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*
.
Corresponds to the JSON property document
8957 8958 8959 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8957 def document @document end |
#json_data ⇒ String
The JSON string representation of the processed document.
Corresponds to the JSON property jsonData
8962 8963 8964 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8962 def json_data @json_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8969 8970 8971 8972 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8969 def update!(**args) @document = args[:document] if args.key?(:document) @json_data = args[:json_data] if args.key?(:json_data) end |