Class: Google::Apis::ConnectorsV1::NetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::NetworkConfig
- 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
Regional Network Config.
Instance Attribute Summary collapse
-
#egress_ips ⇒ Array<String>
Output only.
-
#egress_mode ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkConfig
constructor
A new instance of NetworkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NetworkConfig
Returns a new instance of NetworkConfig.
3943 3944 3945 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3943 def initialize(**args) update!(**args) end |
Instance Attribute Details
#egress_ips ⇒ Array<String>
Output only. Egress IPs
Corresponds to the JSON property egressIps
3936 3937 3938 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3936 def egress_ips @egress_ips end |
#egress_mode ⇒ String
Optional. Egress mode for the network.
Corresponds to the JSON property egressMode
3941 3942 3943 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3941 def egress_mode @egress_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3948 3949 3950 3951 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3948 def update!(**args) @egress_ips = args[:egress_ips] if args.key?(:egress_ips) @egress_mode = args[:egress_mode] if args.key?(:egress_mode) end |