Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource
- 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
The inline source for CompletionSuggestions.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource
constructor
A new instance of GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource
Returns a new instance of GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource.
5248 5249 5250 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5248 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggestions ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CompletionSuggestion>
Required. A list of all denylist entries to import. Max of 1000 items.
Corresponds to the JSON property suggestions
5246 5247 5248 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5246 def suggestions @suggestions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5253 5254 5255 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5253 def update!(**args) @suggestions = args[:suggestions] if args.key?(:suggestions) end |