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.



9765
9766
9767
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9765

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



9763
9764
9765
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9763

def estimator_uri_patterns
  @estimator_uri_patterns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9770
9771
9772
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9770

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