class Google::Apis::TrafficdirectorV2::DynamicListenerState

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>]

version_info[RW]

This is the per-resource version information. This version is currently taken from the :ref:`version_info ` field at the time that the listener was loaded. In the future, discrete per-listener versions may be supported by the API. Corresponds to the JSON property `versionInfo` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/trafficdirector_v2/classes.rb, line 349
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 354
def update!(**args)
  @last_updated = args[:last_updated] if args.key?(:last_updated)
  @listener = args[:listener] if args.key?(:listener)
  @version_info = args[:version_info] if args.key?(:version_info)
end