Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb

Overview

Response message for CompletionService.PurgeCompletionSuggestions method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse

Returns a new instance of GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse.



5784
5785
5786
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5784

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#error_samplesArray<Google::Apis::DiscoveryengineV1::GoogleRpcStatus>

A sample of errors encountered while processing the request. Corresponds to the JSON property errorSamples



5776
5777
5778
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5776

def error_samples
  @error_samples
end

#purge_succeededBoolean Also known as: purge_succeeded?

Whether the completion suggestions were successfully purged. Corresponds to the JSON property purgeSucceeded

Returns:

  • (Boolean)


5781
5782
5783
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5781

def purge_succeeded
  @purge_succeeded
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5789
5790
5791
5792
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5789

def update!(**args)
  @error_samples = args[:error_samples] if args.key?(:error_samples)
  @purge_succeeded = args[:purge_succeeded] if args.key?(:purge_succeeded)
end