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.
2949 2950 2951 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2949 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
2937 2938 2939 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2937 def error_samples @error_samples end |
#failure_count ⇒ Fixnum
Count of CompletionSuggestions that failed to be imported.
Corresponds to the JSON property failureCount
2942 2943 2944 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2942 def failure_count @failure_count end |
#success_count ⇒ Fixnum
Count of CompletionSuggestions successfully imported.
Corresponds to the JSON property successCount
2947 2948 2949 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2947 def success_count @success_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2954 2955 2956 2957 2958 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2954 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 |