Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequestInlineSource

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 DocumentService.PurgeDocuments method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequestInlineSource

Returns a new instance of GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequestInlineSource.



18071
18072
18073
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18071

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>)


18069
18070
18071
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18069

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18076
18077
18078
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18076

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