Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource
- 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
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource
Returns a new instance of GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource.
7608 7609 7610 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7608 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggestions ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCompletionSuggestion>
Required. A list of all denylist entries to import. Max of 1000 items.
Corresponds to the JSON property suggestions
7606 7607 7608 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7606 def suggestions @suggestions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7613 7614 7615 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7613 def update!(**args) @suggestions = args[:suggestions] if args.key?(:suggestions) end |