Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest
- 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
Request message for DocumentService.PurgeDocuments method.
Instance Attribute Summary collapse
-
#filter ⇒ String
Required.
-
#force ⇒ Boolean
(also: #force?)
Actually performs the purge.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest
Returns a new instance of GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest.
3301 3302 3303 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3301 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filter ⇒ String
Required. Filter matching documents to purge. Only currently supported value
is * (all items).
Corresponds to the JSON property filter
3292 3293 3294 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3292 def filter @filter end |
#force ⇒ Boolean Also known as: force?
Actually performs the purge. If force is set to false, return the expected
purge count without deleting any documents.
Corresponds to the JSON property force
3298 3299 3300 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3298 def force @force end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3306 3307 3308 3309 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3306 def update!(**args) @filter = args[:filter] if args.key?(:filter) @force = args[:force] if args.key?(:force) end |