class Google::Apis::TrafficdirectorV2::BuildVersion
BuildVersion
combines SemVer version of extension with free-form build information (i.e. 'alpha', 'private-build') as a set of strings.
Attributes
metadata[RW]
Free-form build information. Envoy defines several well known keys in the source/common/version/version.h file Corresponds to the JSON property `metadata` @return [Hash<String,Object>]
version[RW]
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. Corresponds to the JSON property `version` @return [Google::Apis::TrafficdirectorV2::SemanticVersion]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/trafficdirector_v2/classes.rb, line 70 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 75 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @version = args[:version] if args.key?(:version) end