Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest

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

Request message for CompletionService.ImportCompletionSuggestions method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest

Returns a new instance of GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest.



7586
7587
7588
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7586

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

Instance Attribute Details

#bigquery_sourceGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQuerySource

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



7569
7570
7571
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7569

def bigquery_source
  @bigquery_source
end

#error_configGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig

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



7574
7575
7576
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7574

def error_config
  @error_config
end

#gcs_sourceGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource

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



7579
7580
7581
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7579

def gcs_source
  @gcs_source
end

#inline_sourceGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource

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



7584
7585
7586
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7584

def inline_source
  @inline_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7591
7592
7593
7594
7595
7596
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7591

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