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.
5899 5900 5901 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5899 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
5897 5898 5899 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5897 def documents @documents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5904 5905 5906 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5904 def update!(**args) @documents = args[:documents] if args.key?(:documents) end |