class Google::Apis::RemotebuildexecutionV2::BuildBazelSemverSemVer

The full version of a given tool.

Attributes

major[RW]

The major version, e.g 10 for 10.2.3. Corresponds to the JSON property `major` @return [Fixnum]

minor[RW]

The minor version, e.g. 2 for 10.2.3. Corresponds to the JSON property `minor` @return [Fixnum]

patch[RW]

The patch version, e.g 3 for 10.2.3. Corresponds to the JSON property `patch` @return [Fixnum]

prerelease[RW]

The pre-release version. Either this field or major/minor/patch fields must be filled. They are mutually exclusive. Pre-release versions are assumed to be earlier than any released versions. Corresponds to the JSON property `prerelease` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 2144
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 2149
def update!(**args)
  @major = args[:major] if args.key?(:major)
  @minor = args[:minor] if args.key?(:minor)
  @patch = args[:patch] if args.key?(:patch)
  @prerelease = args[:prerelease] if args.key?(:prerelease)
end