Class: Google::Apis::NetworkservicesV1beta1::AgentGatewayNetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::NetworkservicesV1beta1::AgentGatewayNetworkConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkservices_v1beta1/classes.rb,
lib/google/apis/networkservices_v1beta1/representations.rb,
lib/google/apis/networkservices_v1beta1/representations.rb
Overview
NetworkConfig contains network configurations for the AgentGateway.
Instance Attribute Summary collapse
-
#dns_peering_config ⇒ Google::Apis::NetworkservicesV1beta1::AgentGatewayNetworkConfigDnsPeeringConfig
DNS peering config for the user VPC network.
-
#egress ⇒ Google::Apis::NetworkservicesV1beta1::AgentGatewayNetworkConfigEgress
Configuration for Egress Corresponds to the JSON property
egress.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AgentGatewayNetworkConfig
constructor
A new instance of AgentGatewayNetworkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AgentGatewayNetworkConfig
Returns a new instance of AgentGatewayNetworkConfig.
183 184 185 |
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 183 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dns_peering_config ⇒ Google::Apis::NetworkservicesV1beta1::AgentGatewayNetworkConfigDnsPeeringConfig
DNS peering config for the user VPC network.
Corresponds to the JSON property dnsPeeringConfig
176 177 178 |
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 176 def dns_peering_config @dns_peering_config end |
#egress ⇒ Google::Apis::NetworkservicesV1beta1::AgentGatewayNetworkConfigEgress
Configuration for Egress
Corresponds to the JSON property egress
181 182 183 |
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 181 def egress @egress end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
188 189 190 191 |
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 188 def update!(**args) @dns_peering_config = args[:dns_peering_config] if args.key?(:dns_peering_config) @egress = args[:egress] if args.key?(:egress) end |