Class: Google::Apis::ContaineranalysisV1alpha1::License
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::License
- 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
License information: https://spdx.github.io/spdx-spec/3-package-information/# 315-declared-license
Instance Attribute Summary collapse
-
#comments ⇒ String
Comments Corresponds to the JSON property
comments. -
#expression ⇒ String
Expression: https://spdx.github.io/spdx-spec/appendix-IV-SPDX-license- expressions/ Corresponds to the JSON property
expression.
Instance Method Summary collapse
-
#initialize(**args) ⇒ License
constructor
A new instance of License.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ License
Returns a new instance of License.
3409 3410 3411 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3409 def initialize(**args) update!(**args) end |
Instance Attribute Details
#comments ⇒ String
Comments
Corresponds to the JSON property comments
3401 3402 3403 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3401 def comments @comments end |
#expression ⇒ String
Expression: https://spdx.github.io/spdx-spec/appendix-IV-SPDX-license-
expressions/
Corresponds to the JSON property expression
3407 3408 3409 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3407 def expression @expression end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3414 3415 3416 3417 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3414 def update!(**args) @comments = args[:comments] if args.key?(:comments) @expression = args[:expression] if args.key?(:expression) end |