Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource

Inherits:
Object
  • Object
show all
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

The inline source for CompletionSuggestions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource

Returns a new instance of GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource.



11215
11216
11217
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11215

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

Instance Attribute Details

#suggestionsArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCompletionSuggestion>

Required. A list of all denylist entries to import. Max of 1000 items. Corresponds to the JSON property suggestions



11213
11214
11215
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11213

def suggestions
  @suggestions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11220
11221
11222
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 11220

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