Class: Google::Apis::NetworkservicesV1::AgentGatewayNetworkConfigEgress

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkservices_v1/classes.rb,
lib/google/apis/networkservices_v1/representations.rb,
lib/google/apis/networkservices_v1/representations.rb

Overview

Configuration for Egress

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AgentGatewayNetworkConfigEgress

Returns a new instance of AgentGatewayNetworkConfigEgress.



243
244
245
# File 'lib/google/apis/networkservices_v1/classes.rb', line 243

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#network_attachmentString

Optional. The URI of the Network Attachment resource. Corresponds to the JSON property networkAttachment

Returns:

  • (String)


236
237
238
# File 'lib/google/apis/networkservices_v1/classes.rb', line 236

def network_attachment
  @network_attachment
end

#trust_configGoogle::Apis::NetworkservicesV1::AgentGatewayNetworkConfigEgressTrustConfig

TrustConfig defines the trust configuration for egress. Corresponds to the JSON property trustConfig



241
242
243
# File 'lib/google/apis/networkservices_v1/classes.rb', line 241

def trust_config
  @trust_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



248
249
250
251
# File 'lib/google/apis/networkservices_v1/classes.rb', line 248

def update!(**args)
  @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
  @trust_config = args[:trust_config] if args.key?(:trust_config)
end