1.6.1 (latest) 1.6.0 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Connectors V1 API class Google::Cloud::Connectors::V1::ExtractionRule.

Extraction Rule.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #extraction_regex

    def extraction_regex() -> ::String

**Returns**

- (::String) --- Regex used to extract backend details from source. If empty, whole source value will be used.

### #extraction_regex=

    def extraction_regex=(value) -> ::String

**Parameter**

- **value** (::String) --- Regex used to extract backend details from source. If empty, whole source value will be used.
**Returns**

- (::String) --- Regex used to extract backend details from source. If empty, whole source value will be used.

### #source

    def source() -> ::Google::Cloud::Connectors::V1::ExtractionRule::Source

**Returns**

- ([::Google::Cloud::Connectors::V1::ExtractionRule::Source](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-ExtractionRule-Source)) --- Source on which the rule is applied.

### #source=

    def source=(value) -> ::Google::Cloud::Connectors::V1::ExtractionRule::Source

**Parameter**

- **value** ([::Google::Cloud::Connectors::V1::ExtractionRule::Source](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-ExtractionRule-Source)) --- Source on which the rule is applied.
**Returns**

- ([::Google::Cloud::Connectors::V1::ExtractionRule::Source](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-ExtractionRule-Source)) --- Source on which the rule is applied.