Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern
- 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
URI patterns that we use to crawl.
Instance Attribute Summary collapse
-
#exact_match ⇒ Boolean
(also: #exact_match?)
Whether we infer the generated URI or use the exact provided one.
-
#exclusive ⇒ Boolean
(also: #exclusive?)
Whether the pattern is exclusive or not.
-
#provided_uri_pattern ⇒ String
User provided URI pattern.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern
Returns a new instance of GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern.
9798 9799 9800 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9798 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exact_match ⇒ Boolean Also known as: exact_match?
Whether we infer the generated URI or use the exact provided one.
Corresponds to the JSON property exactMatch
9782 9783 9784 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9782 def exact_match @exact_match end |
#exclusive ⇒ Boolean Also known as: exclusive?
Whether the pattern is exclusive or not. If set to true, the pattern is
considered exclusive. If unset or set to false, the pattern is considered
inclusive by default.
Corresponds to the JSON property exclusive
9790 9791 9792 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9790 def exclusive @exclusive end |
#provided_uri_pattern ⇒ String
User provided URI pattern. For example, foo.com/bar/*
.
Corresponds to the JSON property providedUriPattern
9796 9797 9798 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9796 def provided_uri_pattern @provided_uri_pattern end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9803 9804 9805 9806 9807 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9803 def update!(**args) @exact_match = args[:exact_match] if args.key?(:exact_match) @exclusive = args[:exclusive] if args.key?(:exclusive) @provided_uri_pattern = args[:provided_uri_pattern] if args.key?(:provided_uri_pattern) end |