Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse

Returns a new instance of GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse.



8410
8411
8412
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8410

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



8398
8399
8400
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8398

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)


8403
8404
8405
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8403

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)


8408
8409
8410
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8408

def imported_entries_count
  @imported_entries_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8415
8416
8417
8418
8419
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8415

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