Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeDocumentsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeDocumentsRequest
- 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
Request message for DocumentService.PurgeDocuments method.
Instance Attribute Summary collapse
-
#error_config ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeErrorConfig
Configuration of destination for Purge related errors.
-
#filter ⇒ String
Required.
-
#force ⇒ Boolean
(also: #force?)
Actually performs the purge.
-
#gcs_source ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GcsSource
Cloud Storage location for input content.
-
#inline_source ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource
The inline source for the input config for DocumentService.PurgeDocuments method.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1PurgeDocumentsRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1PurgeDocumentsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1PurgeDocumentsRequest
Returns a new instance of GoogleCloudDiscoveryengineV1PurgeDocumentsRequest.
5597 5598 5599 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5597 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_config ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeErrorConfig
Configuration of destination for Purge related errors.
Corresponds to the JSON property errorConfig
5571 5572 5573 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5571 def error_config @error_config end |
#filter ⇒ String
Required. Filter matching documents to purge. Only currently supported value
is * (all items).
Corresponds to the JSON property filter
5577 5578 5579 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5577 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
5583 5584 5585 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5583 def force @force end |
#gcs_source ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GcsSource
Cloud Storage location for input content.
Corresponds to the JSON property gcsSource
5589 5590 5591 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5589 def gcs_source @gcs_source end |
#inline_source ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource
The inline source for the input config for DocumentService.PurgeDocuments
method.
Corresponds to the JSON property inlineSource
5595 5596 5597 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5595 def inline_source @inline_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5602 5603 5604 5605 5606 5607 5608 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5602 def update!(**args) @error_config = args[:error_config] if args.key?(:error_config) @filter = args[:filter] if args.key?(:filter) @force = args[:force] if args.key?(:force) @gcs_source = args[:gcs_source] if args.key?(:gcs_source) @inline_source = args[:inline_source] if args.key?(:inline_source) end |