Class: Google::Apis::ContaineranalysisV1alpha1::RelationshipNote
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::RelationshipNote
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb
Overview
RelationshipNote represents an SPDX Relationship section: https://spdx.github. io/spdx-spec/7-relationships-between-SPDX-elements/
Instance Attribute Summary collapse
-
#type ⇒ String
The type of relationship between the source and target SPDX elements Corresponds to the JSON property
type
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RelationshipNote
constructor
A new instance of RelationshipNote.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RelationshipNote
Returns a new instance of RelationshipNote.
6104 6105 6106 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6104 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
The type of relationship between the source and target SPDX elements
Corresponds to the JSON property type
6102 6103 6104 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6102 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6109 6110 6111 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6109 def update!(**args) @type = args[:type] if args.key?(:type) end |