Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource
- 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
The inline source for the input config for ImportDocuments method.
Instance Attribute Summary collapse
-
#documents ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource
Returns a new instance of GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource.
3587 3588 3589 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3587 def initialize(**args) update!(**args) end |
Instance Attribute Details
#documents ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument>
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
3585 3586 3587 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3585 def documents @documents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3592 3593 3594 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3592 def update!(**args) @documents = args[:documents] if args.key?(:documents) end |