Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse
- 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 of the CompletionService.ImportCompletionSuggestions method. If the long running operation is done, this message is returned by the google. longrunning.Operations.response field if the operation is successful.
Instance Attribute Summary collapse
-
#error_samples ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>
A sample of errors encountered while processing the request.
-
#failure_count ⇒ Fixnum
Count of CompletionSuggestions that failed to be imported.
-
#success_count ⇒ Fixnum
Count of CompletionSuggestions successfully imported.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse
Returns a new instance of GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse.
4485 4486 4487 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4485 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
4473 4474 4475 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4473 def error_samples @error_samples end |
#failure_count ⇒ Fixnum
Count of CompletionSuggestions that failed to be imported.
Corresponds to the JSON property failureCount
4478 4479 4480 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4478 def failure_count @failure_count end |
#success_count ⇒ Fixnum
Count of CompletionSuggestions successfully imported.
Corresponds to the JSON property successCount
4483 4484 4485 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4483 def success_count @success_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4490 4491 4492 4493 4494 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4490 def update!(**args) @error_samples = args[:error_samples] if args.key?(:error_samples) @failure_count = args[:failure_count] if args.key?(:failure_count) @success_count = args[:success_count] if args.key?(:success_count) end |