Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Request message for DocumentService.PurgeDocuments method.
Instance Attribute Summary collapse
-
#error_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig
Configuration of destination for Purge related errors.
-
#filter ⇒ String
Required.
-
#force ⇒ Boolean
(also: #force?)
Actually performs the purge.
-
#gcs_source ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource
Cloud Storage location for input content.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest
Returns a new instance of GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest.
8295 8296 8297 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8295 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig
Configuration of destination for Purge related errors.
Corresponds to the JSON property errorConfig
8275 8276 8277 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8275 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
8281 8282 8283 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8281 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
8287 8288 8289 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8287 def force @force end |
#gcs_source ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource
Cloud Storage location for input content.
Corresponds to the JSON property gcsSource
8293 8294 8295 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8293 def gcs_source @gcs_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8300 8301 8302 8303 8304 8305 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8300 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) end |