Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/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::DiscoveryengineV1beta::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.
3473 3474 3475 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3473 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_samples ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus>
A sample of errors encountered while processing the request.
Corresponds to the JSON property errorSamples
3461 3462 3463 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3461 def error_samples @error_samples end |
#failure_count ⇒ Fixnum
Count of CompletionSuggestions that failed to be imported.
Corresponds to the JSON property failureCount
3466 3467 3468 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3466 def failure_count @failure_count end |
#success_count ⇒ Fixnum
Count of CompletionSuggestions successfully imported.
Corresponds to the JSON property successCount
3471 3472 3473 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3471 def success_count @success_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3478 3479 3480 3481 3482 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3478 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 |