Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse
- 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.PurgeCompletionSuggestions method.
Instance Attribute Summary collapse
-
#error_samples ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>
A sample of errors encountered while processing the request.
-
#purge_succeeded ⇒ Boolean
(also: #purge_succeeded?)
Whether the completion suggestions were successfully purged.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse
Returns a new instance of GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse.
2192 2193 2194 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2192 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
2184 2185 2186 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2184 def error_samples @error_samples end |
#purge_succeeded ⇒ Boolean Also known as: purge_succeeded?
Whether the completion suggestions were successfully purged.
Corresponds to the JSON property purgeSucceeded
2189 2190 2191 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2189 def purge_succeeded @purge_succeeded end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2197 2198 2199 2200 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2197 def update!(**args) @error_samples = args[:error_samples] if args.key?(:error_samples) @purge_succeeded = args[:purge_succeeded] if args.key?(:purge_succeeded) end |