Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern

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

URI patterns that we use to crawl.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern

Returns a new instance of GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequestWebsiteDataSourceEstimatorUriPattern.



3330
3331
3332
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3330

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#exact_matchBoolean Also known as: exact_match?

Whether we infer the generated URI or use the exact provided one. Corresponds to the JSON property exactMatch

Returns:

  • (Boolean)


3314
3315
3316
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3314

def exact_match
  @exact_match
end

#exclusiveBoolean 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

Returns:

  • (Boolean)


3322
3323
3324
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3322

def exclusive
  @exclusive
end

#provided_uri_patternString

User provided URI pattern. For example, foo.com/bar/*. Corresponds to the JSON property providedUriPattern

Returns:

  • (String)


3328
3329
3330
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3328

def provided_uri_pattern
  @provided_uri_pattern
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3335
3336
3337
3338
3339
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3335

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