Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestFileDataSource

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

Data source contains files either in Cloud Storage or BigQuery.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestFileDataSource

Returns a new instance of GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestFileDataSource.



6802
6803
6804
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6802

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



6795
6796
6797
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6795

def bigquery_source
  @bigquery_source
end

#gcs_sourceGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource

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



6800
6801
6802
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6800

def gcs_source
  @gcs_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6807
6808
6809
6810
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6807

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