Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource

Inherits:
Object
  • Object
show all
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

The inline source for the input config for ImportDocuments method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource

Returns a new instance of GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource.



5067
5068
5069
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5067

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#documentsArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument>

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



5065
5066
5067
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5065

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5072
5073
5074
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5072

def update!(**args)
  @documents = args[:documents] if args.key?(:documents)
end