Class: Google::Apis::ConnectorsV1::ExtractionRules

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb

Overview

Extraction Rules to identity the backends from customer provided configuration in Connection resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExtractionRules

Returns a new instance of ExtractionRules.



2843
2844
2845
# File 'lib/google/apis/connectors_v1/classes.rb', line 2843

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

Instance Attribute Details

#extraction_ruleArray<Google::Apis::ConnectorsV1::ExtractionRule>

Collection of Extraction Rule. Corresponds to the JSON property extractionRule



2841
2842
2843
# File 'lib/google/apis/connectors_v1/classes.rb', line 2841

def extraction_rule
  @extraction_rule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2848
2849
2850
# File 'lib/google/apis/connectors_v1/classes.rb', line 2848

def update!(**args)
  @extraction_rule = args[:extraction_rule] if args.key?(:extraction_rule)
end