class Google::Apis::TrafficdirectorV2::DynamicCluster
Describes a dynamically loaded cluster via the CDS API.
Attributes
cluster[RW]
The cluster config. Corresponds to the JSON property `cluster` @return [Hash<String,Object>]
last_updated[RW]
The timestamp when the Cluster was last updated. Corresponds to the JSON property `lastUpdated` @return [String]
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 cluster was loaded. In the future, discrete per-cluster 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 265 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 270 def update!(**args) @cluster = args[:cluster] if args.key?(:cluster) @last_updated = args[:last_updated] if args.key?(:last_updated) @version_info = args[:version_info] if args.key?(:version_info) end