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.
2056 2057 2058 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2056 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
2048 2049 2050 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2048 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
2054 2055 2056 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2054 def extraction_rules @extraction_rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2061 2062 2063 2064 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2061 def update!(**args) @backends = args[:backends] if args.key?(:backends) @extraction_rules = args[:extraction_rules] if args.key?(:extraction_rules) end |