Class: Google::Apis::ConnectorsV1::EgressControlConfig
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::EgressControlConfig
- 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
Egress control config for connector runtime. These configurations define the rules to identify which outbound domains/hosts needs to be whitelisted. It may be a static information for a particular connector version or it is derived from the configurations provided by the customer in Connection resource.
Instance Attribute Summary collapse
-
#backends ⇒ String
Static Comma separated backends which are common for all Connection resources.
-
#extraction_rules ⇒ Google::Apis::ConnectorsV1::ExtractionRules
Extraction Rules to identity the backends from customer provided configuration in Connection resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EgressControlConfig
constructor
A new instance of EgressControlConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EgressControlConfig
Returns a new instance of EgressControlConfig.
1737 1738 1739 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1737 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backends ⇒ String
Static Comma separated backends which are common for all Connection resources.
Supported formats for each backend are host:port or just host (host can be ip
address or domain name).
Corresponds to the JSON property backends
1729 1730 1731 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1729 def backends @backends end |
#extraction_rules ⇒ Google::Apis::ConnectorsV1::ExtractionRules
Extraction Rules to identity the backends from customer provided configuration
in Connection resource.
Corresponds to the JSON property extractionRules
1735 1736 1737 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1735 def extraction_rules @extraction_rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1742 1743 1744 1745 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1742 def update!(**args) @backends = args[:backends] if args.key?(:backends) @extraction_rules = args[:extraction_rules] if args.key?(:extraction_rules) end |