class Google::Apis::TrafficdirectorV2::StaticListener
Describes a statically loaded listener.
Attributes
last_updated[RW]
The timestamp when the Listener was last successfully updated. Corresponds to the JSON property `lastUpdated` @return [String]
listener[RW]
The listener config. Corresponds to the JSON property `listener` @return [Hash<String,Object>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/trafficdirector_v2/classes.rb, line 1122 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 1127 def update!(**args) @last_updated = args[:last_updated] if args.key?(:last_updated) @listener = args[:listener] if args.key?(:listener) end