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.



6602
6603
6604
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6602

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



6600
6601
6602
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6600

def estimator_uri_patterns
  @estimator_uri_patterns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6607
6608
6609
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6607

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