Class: Google::Apis::NetworkservicesV1beta1::AgentGatewayNetworkConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_configGoogle::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

#egressGoogle::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