Class DiscoveryOccurrence
Provides information about the analysis status of a discovered resource.
Implements
Inherited Members
Namespace: Google.Apis.OnDemandScanning.v1.Data
Assembly: Google.Apis.OnDemandScanning.v1.dll
Syntax
public class DiscoveryOccurrence : IDirectResponseSchema
Properties
AnalysisCompleted
Declaration
[JsonProperty("analysisCompleted")]
public virtual AnalysisCompleted AnalysisCompleted { get; set; }
Property Value
Type | Description |
---|---|
AnalysisCompleted |
AnalysisError
Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
Declaration
[JsonProperty("analysisError")]
public virtual IList<Status> AnalysisError { get; set; }
Property Value
Type | Description |
---|---|
IList<Status> |
AnalysisStatus
The status of discovery for the resource.
Declaration
[JsonProperty("analysisStatus")]
public virtual string AnalysisStatus { get; set; }
Property Value
Type | Description |
---|---|
string |
AnalysisStatusError
When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.
Declaration
[JsonProperty("analysisStatusError")]
public virtual Status AnalysisStatusError { get; set; }
Property Value
Type | Description |
---|---|
Status |
ArchiveTime
object representation of ArchiveTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ArchiveTimeDateTimeOffset instead.")]
public virtual object ArchiveTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ArchiveTimeDateTimeOffset
DateTimeOffset representation of ArchiveTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ArchiveTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ArchiveTimeRaw
Output only. The time occurrences related to this discovery occurrence were archived.
Declaration
[JsonProperty("archiveTime")]
public virtual string ArchiveTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ContinuousAnalysis
Whether the resource is continuously analyzed.
Declaration
[JsonProperty("continuousAnalysis")]
public virtual string ContinuousAnalysis { get; set; }
Property Value
Type | Description |
---|---|
string |
Cpe
The CPE of the resource being scanned.
Declaration
[JsonProperty("cpe")]
public virtual string Cpe { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LastScanTime
object representation of LastScanTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use LastScanTimeDateTimeOffset instead.")]
public virtual object LastScanTime { get; set; }
Property Value
Type | Description |
---|---|
object |
LastScanTimeDateTimeOffset
DateTimeOffset representation of LastScanTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? LastScanTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
LastScanTimeRaw
The last time this resource was scanned.
Declaration
[JsonProperty("lastScanTime")]
public virtual string LastScanTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
SbomStatus
The status of an SBOM generation.
Declaration
[JsonProperty("sbomStatus")]
public virtual SBOMStatus SbomStatus { get; set; }
Property Value
Type | Description |
---|---|
SBOMStatus |