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.



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

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)


630
631
632
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 630

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)


635
636
637
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 635

def server_listener_name
  @server_listener_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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