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.
3869 3870 3871 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3869 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
3857 3858 3859 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3857 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
3862 3863 3864 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3862 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
3867 3868 3869 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3867 def imported_entries_count @imported_entries_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3874 3875 3876 3877 3878 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3874 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 |