Class RelationshipOccurrence
RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/
Implements
Inherited Members
Namespace: Google.Apis.ContainerAnalysis.v1beta1.Data
Assembly: Google.Apis.ContainerAnalysis.v1beta1.dll
Syntax
public class RelationshipOccurrence : IDirectResponseSchema
Properties
Comment
A place for the SPDX file creator to record any general comments about the relationship
Declaration
[JsonProperty("comment")]
public virtual string Comment { 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 |
Source
Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
Declaration
[JsonProperty("source")]
public virtual string Source { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Target
Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are "known unknowns", the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it
Declaration
[JsonProperty("target")]
public virtual string Target { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Output only. The type of relationship between the source and target SPDX elements
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |