class Google::Apis::TrafficdirectorV2::Address

Addresses specify either a logical or physical address and port, which are used to tell Envoy where to bind/listen, connect to upstream and find management servers.

Attributes

pipe[RW]

Corresponds to the JSON property `pipe` @return [Google::Apis::TrafficdirectorV2::Pipe]

socket_address[RW]
next-free-field: 7

Corresponds to the JSON property `socketAddress` @return [Google::Apis::TrafficdirectorV2::SocketAddress]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/trafficdirector_v2/classes.rb, line 41
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/trafficdirector_v2/classes.rb, line 46
def update!(**args)
  @pipe = args[:pipe] if args.key?(:pipe)
  @socket_address = args[:socket_address] if args.key?(:socket_address)
end