Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource
- 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
The inline source for the input config for ImportDocuments method.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource
constructor
A new instance of GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource
Returns a new instance of GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource.
6158 6159 6160 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6158 def initialize(**args) update!(**args) end |
Instance Attribute Details
#documents ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Document>
Required. A list of documents to update/create. Each document must have a
valid Document.id. Recommended max of 100 items.
Corresponds to the JSON property documents
6156 6157 6158 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6156 def documents @documents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6163 6164 6165 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6163 def update!(**args) @documents = args[:documents] if args.key?(:documents) end |