Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse
- 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) ⇒ GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse
Returns a new instance of GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse.
1065 1066 1067 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1065 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
1053 1054 1055 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1053 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
1058 1059 1060 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1058 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
1063 1064 1065 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1063 def imported_entries_count @imported_entries_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1070 1071 1072 1073 1074 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1070 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 |