Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest

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

Request message for CompletionService.ImportCompletionSuggestions method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest

Returns a new instance of GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest.



5226
5227
5228
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5226

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

Instance Attribute Details

#bigquery_sourceGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BigQuerySource

BigQuery source import data from. Corresponds to the JSON property bigquerySource



5209
5210
5211
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5209

def bigquery_source
  @bigquery_source
end

#error_configGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ImportErrorConfig

Configuration of destination for Import related errors. Corresponds to the JSON property errorConfig



5214
5215
5216
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5214

def error_config
  @error_config
end

#gcs_sourceGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GcsSource

Cloud Storage location for input content. Corresponds to the JSON property gcsSource



5219
5220
5221
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5219

def gcs_source
  @gcs_source
end

#inline_sourceGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource

The inline source for CompletionSuggestions. Corresponds to the JSON property inlineSource



5224
5225
5226
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5224

def inline_source
  @inline_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5231
5232
5233
5234
5235
5236
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5231

def update!(**args)
  @bigquery_source = args[:bigquery_source] if args.key?(:bigquery_source)
  @error_config = args[:error_config] if args.key?(:error_config)
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
  @inline_source = args[:inline_source] if args.key?(:inline_source)
end