Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest

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 EstimateBillingService.EstimateDataSize method

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest

Returns a new instance of GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest.



3211
3212
3213
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3211

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

Instance Attribute Details

#file_data_sourceGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestFileDataSource

Data source contains files either in Cloud Storage or BigQuery. Corresponds to the JSON property fileDataSource



3203
3204
3205
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3203

def file_data_source
  @file_data_source
end

#website_data_sourceGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSource

Data source is a set of website patterns that we crawl to get the total number of websites. Corresponds to the JSON property websiteDataSource



3209
3210
3211
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3209

def website_data_source
  @website_data_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3216
3217
3218
3219
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3216

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