class Google::Apis::ConnectorsV1::ExtractionRule

Extraction Rule.

Attributes

extraction_regex[RW]

Regex used to extract backend details from source. If empty, whole source value will be used. Corresponds to the JSON property ‘extractionRegex` @return [String]

source[RW]

Source to extract the backend from. Corresponds to the JSON property ‘source` @return [Google::Apis::ConnectorsV1::Source]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/connectors_v1/classes.rb, line 833
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/connectors_v1/classes.rb, line 838
def update!(**args)
  @extraction_regex = args[:extraction_regex] if args.key?(:extraction_regex)
  @source = args[:source] if args.key?(:source)
end