Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
The inline source for CompletionSuggestions.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource
constructor
A new instance of GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource
Returns a new instance of GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource.
9687 9688 9689 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9687 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggestions ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCompletionSuggestion>
Required. A list of all denylist entries to import. Max of 1000 items.
Corresponds to the JSON property suggestions
9685 9686 9687 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9685 def suggestions @suggestions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9692 9693 9694 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9692 def update!(**args) @suggestions = args[:suggestions] if args.key?(:suggestions) end |