Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource
- 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 DocumentService.PurgeDocuments method.
Instance Attribute Summary collapse
-
#documents ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource
constructor
A new instance of GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource
Returns a new instance of GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource.
6457 6458 6459 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6457 def initialize(**args) update!(**args) end |
Instance Attribute Details
#documents ⇒ Array<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
6455 6456 6457 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6455 def documents @documents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6462 6463 6464 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6462 def update!(**args) @documents = args[:documents] if args.key?(:documents) end |