Class Version
Version contains structured information about the version of a package.
Implements
Inherited Members
Namespace: Google.Apis.ContainerAnalysis.v1beta1.Data
Assembly: Google.Apis.ContainerAnalysis.v1beta1.dll
Syntax
public class Version : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Epoch
Used to correct mistakes in the version numbering scheme.
Declaration
[JsonProperty("epoch")]
public virtual int? Epoch { get; set; }
Property Value
Type | Description |
---|---|
int? |
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 |
---|---|
bool? |
Kind
Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
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 |
---|---|
string |