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.



6824
6825
6826
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6824

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



6822
6823
6824
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6822

def estimator_uri_patterns
  @estimator_uri_patterns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6829
6830
6831
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6829

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