Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequestInlineSource

Inherits:
Object
  • Object
show all
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 DocumentService.PurgeDocuments method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequestInlineSource

Returns a new instance of GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequestInlineSource.



13086
13087
13088
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13086

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

Instance Attribute Details

#documentsArray<String>

Required. A list of full resource name of documents to purge. In the format projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*. Recommended max of 100 items. Corresponds to the JSON property documents

Returns:

  • (Array<String>)


13084
13085
13086
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13084

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13091
13092
13093
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13091

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