Class: Google::Apis::TrafficdirectorV3::EnvoyInternalAddress

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

Overview

The address represents an envoy internal listener. [#comment:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnvoyInternalAddress

Returns a new instance of EnvoyInternalAddress.



645
646
647
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 645

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

Instance Attribute Details

#endpoint_idString

Specifies an endpoint identifier to distinguish between multiple endpoints for the same internal listener in a single upstream pool. Only used in the upstream addresses for tracking changes to individual endpoints. This, for example, may be set to the final destination IP for the target internal listener. Corresponds to the JSON property endpointId

Returns:

  • (String)


638
639
640
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 638

def endpoint_id
  @endpoint_id
end

#server_listener_nameString

Specifies the :ref:name of the internal listener. Corresponds to the JSON property serverListenerName

Returns:

  • (String)


643
644
645
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 643

def server_listener_name
  @server_listener_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



650
651
652
653
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 650

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