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.



3198
3199
3200
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3198

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



3196
3197
3198
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3196

def estimator_uri_patterns
  @estimator_uri_patterns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3203
3204
3205
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3203

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