Show / Hide Table of Contents

Class Version

Version contains structured information about the version of a package.

Inheritance
System.Object
Version
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ContainerAnalysis.v1beta1.Data
Assembly: Google.Apis.ContainerAnalysis.v1beta1.dll
Syntax
public class Version : IDirectResponseSchema

Properties

Epoch

Used to correct mistakes in the version numbering scheme.

Declaration
[JsonProperty("epoch")]
public virtual int? Epoch { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Inclusive

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.

Declaration
[JsonProperty("inclusive")]
public virtual bool? Inclusive { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Kind

Required. Distinguishes between sentinel MIN/MAX versions and normal versions.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.String

Name

Required only when version kind is NORMAL. The main part of the version name.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

Revision

The iteration of the package build from the above version.

Declaration
[JsonProperty("revision")]
public virtual string Revision { get; set; }
Property Value
Type Description
System.String

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top