Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeDocumentsRequest

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1PurgeDocumentsRequest

Returns a new instance of GoogleCloudDiscoveryengineV1PurgeDocumentsRequest.



7126
7127
7128
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7126

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

Instance Attribute Details

#error_configGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeErrorConfig

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



7100
7101
7102
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7100

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)


7106
7107
7108
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7106

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)


7112
7113
7114
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7112

def force
  @force
end

#gcs_sourceGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GcsSource

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



7118
7119
7120
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7118

def gcs_source
  @gcs_source
end

#inline_sourceGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource

The inline source for the input config for DocumentService.PurgeDocuments method. Corresponds to the JSON property inlineSource



7124
7125
7126
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7124

def inline_source
  @inline_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7131
7132
7133
7134
7135
7136
7137
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7131

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