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.



3151
3152
3153
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3151

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



3143
3144
3145
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3143

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



3149
3150
3151
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3149

def website_data_source
  @website_data_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3156
3157
3158
3159
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3156

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