Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb

Overview

Response message for CompletionService.PurgeSuggestionDenyListEntries method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse

Returns a new instance of GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse.



1963
1964
1965
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1963

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

Instance Attribute Details

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

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



1956
1957
1958
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1956

def error_samples
  @error_samples
end

#purge_countFixnum

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

Returns:

  • (Fixnum)


1961
1962
1963
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1961

def purge_count
  @purge_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1968
1969
1970
1971
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1968

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