Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse

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

Response message for CompletionService.PurgeSuggestionDenyListEntries method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse.



12331
12332
12333
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12331

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

Instance Attribute Details

#error_samplesArray<Google::Apis::DiscoveryengineV1::GoogleRpcStatus>

A sample of errors encountered while processing the request. Corresponds to the JSON property errorSamples



12324
12325
12326
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12324

def error_samples
  @error_samples
end

#purge_countFixnum

Number of suggestion deny list entries purged. Corresponds to the JSON property purgeCount

Returns:

  • (Fixnum)


12329
12330
12331
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12329

def purge_count
  @purge_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12336
12337
12338
12339
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12336

def update!(**args)
  @error_samples = args[:error_samples] if args.key?(:error_samples)
  @purge_count = args[:purge_count] if args.key?(:purge_count)
end