Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSource

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 is a set of website patterns that we crawl to get the total number of websites.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSource

Returns a new instance of GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSource.



3258
3259
3260
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3258

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

Instance Attribute Details

#estimator_uri_patternsArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern>

Required. The URI patterns to estimate the data sizes. At most 10 patterns are allowed, otherwise an INVALID_ARGUMENT error is thrown. Corresponds to the JSON property estimatorUriPatterns



3256
3257
3258
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3256

def estimator_uri_patterns
  @estimator_uri_patterns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3263
3264
3265
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3263

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