Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse
- 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
-
#error_samples ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>
A sample of errors encountered while processing the request.
-
#failed_entries_count ⇒ Fixnum
Count of deny list entries that failed to be imported.
-
#imported_entries_count ⇒ Fixnum
Count of deny list entries successfully imported.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse
Returns a new instance of GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse.
3795 3796 3797 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3795 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_samples ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>
A sample of errors encountered while processing the request.
Corresponds to the JSON property errorSamples
3783 3784 3785 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3783 def error_samples @error_samples end |
#failed_entries_count ⇒ Fixnum
Count of deny list entries that failed to be imported.
Corresponds to the JSON property failedEntriesCount
3788 3789 3790 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3788 def failed_entries_count @failed_entries_count end |
#imported_entries_count ⇒ Fixnum
Count of deny list entries successfully imported.
Corresponds to the JSON property importedEntriesCount
3793 3794 3795 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3793 def imported_entries_count @imported_entries_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3800 3801 3802 3803 3804 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3800 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 |