Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest

Returns a new instance of GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest.



4899
4900
4901
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4899

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#error_configGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig

Configuration of destination for Purge related errors. Corresponds to the JSON property errorConfig



4879
4880
4881
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4879

def error_config
  @error_config
end

#filterString

Required. Filter matching documents to purge. Only currently supported value is * (all items). Corresponds to the JSON property filter

Returns:

  • (String)


4885
4886
4887
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4885

def filter
  @filter
end

#forceBoolean 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

Returns:

  • (Boolean)


4891
4892
4893
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4891

def force
  @force
end

#gcs_sourceGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource

Cloud Storage location for input content. Corresponds to the JSON property gcsSource



4897
4898
4899
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4897

def gcs_source
  @gcs_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4904
4905
4906
4907
4908
4909
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4904

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