Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse

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

Response message for CompletionService.PurgeSuggestionDenyListEntries method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse

Returns a new instance of GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse.



13723
13724
13725
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13723

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

Instance Attribute Details

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

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



13716
13717
13718
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13716

def error_samples
  @error_samples
end

#purge_countFixnum

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

Returns:

  • (Fixnum)


13721
13722
13723
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13721

def purge_count
  @purge_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13728
13729
13730
13731
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13728

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