Class: Xberg::UrlExtractionConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeUrlExtractionConfig

Returns a new instance of UrlExtractionConfig.

Parameters:

  • mode: (enum_UrlExtractionMode)
  • crawl: (CrawlConfig)
  • document_url_pattern: (String)
  • max_document_urls_per_result: (Integer)
  • max_total_urls: (Integer)
  • allow_local_file_inputs: (Boolean)
  • allow_file_uris: (Boolean)


2676
# File 'sig/types.rbs', line 2676

def initialize: (?mode: enum_UrlExtractionMode, ?crawl: CrawlConfig, ?document_url_pattern: String, ?max_document_urls_per_result: Integer, ?max_total_urls: Integer, ?allow_local_file_inputs: bool, ?allow_file_uris: bool) -> void

Instance Attribute Details

#allow_file_urisBoolean (readonly)

Returns the value of attribute allow_file_uris.

Returns:

  • (Boolean)


2674
2675
2676
# File 'sig/types.rbs', line 2674

def allow_file_uris
  @allow_file_uris
end

#allow_local_file_inputsBoolean (readonly)

Returns the value of attribute allow_local_file_inputs.

Returns:

  • (Boolean)


2673
2674
2675
# File 'sig/types.rbs', line 2673

def allow_local_file_inputs
  @allow_local_file_inputs
end

#crawlCrawlConfig (readonly)

Returns the value of attribute crawl.

Returns:



2669
2670
2671
# File 'sig/types.rbs', line 2669

def crawl
  @crawl
end

#document_url_patternString? (readonly)

Returns the value of attribute document_url_pattern.

Returns:

  • (String, nil)


2670
2671
2672
# File 'sig/types.rbs', line 2670

def document_url_pattern
  @document_url_pattern
end

#max_document_urls_per_resultInteger? (readonly)

Returns the value of attribute max_document_urls_per_result.

Returns:

  • (Integer, nil)


2671
2672
2673
# File 'sig/types.rbs', line 2671

def max_document_urls_per_result
  @max_document_urls_per_result
end

#max_total_urlsInteger? (readonly)

Returns the value of attribute max_total_urls.

Returns:

  • (Integer, nil)


2672
2673
2674
# File 'sig/types.rbs', line 2672

def max_total_urls
  @max_total_urls
end

#modeenum_UrlExtractionMode (readonly)

Returns the value of attribute mode.

Returns:

  • (enum_UrlExtractionMode)


2668
2669
2670
# File 'sig/types.rbs', line 2668

def mode
  @mode
end