Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequestInlineSource

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 SuggestionDenyListEntry.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequestInlineSource

Returns a new instance of GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequestInlineSource.



3840
3841
3842
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3840

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

Instance Attribute Details

#entriesArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry>

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



3838
3839
3840
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3838

def entries
  @entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3845
3846
3847
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3845

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