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.



333
334
335
# File 'lib/google/apis/networkservices_v1/classes.rb', line 333

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)


331
332
333
# File 'lib/google/apis/networkservices_v1/classes.rb', line 331

def network_attachment
  @network_attachment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



338
339
340
# File 'lib/google/apis/networkservices_v1/classes.rb', line 338

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