class Google::Apis::TrafficdirectorV2::StaticCluster

Describes a statically loaded cluster.

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]

Public Class Methods

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