Class Grafeas::V1::Version

Version contains structured information about the version of a package.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#epoch

def epoch() -> ::Integer
Returns
  • (::Integer) — Used to correct mistakes in the version numbering scheme.

#epoch=

def epoch=(value) -> ::Integer
Parameter
  • value (::Integer) — Used to correct mistakes in the version numbering scheme.
Returns
  • (::Integer) — Used to correct mistakes in the version numbering scheme.

#full_name

def full_name() -> ::String
Returns
  • (::String) — Human readable version string. This string is of the form

#full_name=

def full_name=(value) -> ::String
Parameter
  • value (::String) — Human readable version string. This string is of the form
Returns
  • (::String) — Human readable version string. This string is of the form

#inclusive

def inclusive() -> ::Boolean
Returns
  • (::Boolean) — Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.

#inclusive=

def inclusive=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
Returns
  • (::Boolean) — Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.

#kind

def kind() -> ::Grafeas::V1::Version::VersionKind
Returns

#kind=

def kind=(value) -> ::Grafeas::V1::Version::VersionKind
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Required only when version kind is NORMAL. The main part of the version name.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required only when version kind is NORMAL. The main part of the version name.
Returns
  • (::String) — Required only when version kind is NORMAL. The main part of the version name.

#revision

def revision() -> ::String
Returns
  • (::String) — The iteration of the package build from the above version.

#revision=

def revision=(value) -> ::String
Parameter
  • value (::String) — The iteration of the package build from the above version.
Returns
  • (::String) — The iteration of the package build from the above version.