Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse

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.ImportSuggestionDenyListEntries method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse.



10670
10671
10672
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10670

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



10658
10659
10660
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10658

def error_samples
  @error_samples
end

#failed_entries_countFixnum

Count of deny list entries that failed to be imported. Corresponds to the JSON property failedEntriesCount

Returns:

  • (Fixnum)


10663
10664
10665
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10663

def failed_entries_count
  @failed_entries_count
end

#imported_entries_countFixnum

Count of deny list entries successfully imported. Corresponds to the JSON property importedEntriesCount

Returns:

  • (Fixnum)


10668
10669
10670
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10668

def imported_entries_count
  @imported_entries_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10675
10676
10677
10678
10679
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10675

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