class Google::Apis::TrafficdirectorV2::SemanticVersion
Envoy uses SemVer (semver.org/). Major/minor versions indicate expected behaviors and APIs, the patch version field is used only for security fixes and can be generally ignored.
Attributes
major_number[RW]
Corresponds to the JSON property `majorNumber` @return [Fixnum]
minor_number[RW]
Corresponds to the JSON property `minorNumber` @return [Fixnum]
patch[RW]
Corresponds to the JSON property `patch` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/trafficdirector_v2/classes.rb, line 1005 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 1010 def update!(**args) @major_number = args[:major_number] if args.key?(:major_number) @minor_number = args[:minor_number] if args.key?(:minor_number) @patch = args[:patch] if args.key?(:patch) end