Class: Google::Apis::ContaineranalysisV1beta1::License
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::License
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/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.
3421 3422 3423 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3421 def initialize(**args) update!(**args) end |
Instance Attribute Details
#comments ⇒ String
Comments
Corresponds to the JSON property comments
3413 3414 3415 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3413 def comments @comments end |
#expression ⇒ String
Expression: https://spdx.github.io/spdx-spec/appendix-IV-SPDX-license-
expressions/
Corresponds to the JSON property expression
3419 3420 3421 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3419 def expression @expression end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3426 3427 3428 3429 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3426 def update!(**args) @comments = args[:comments] if args.key?(:comments) @expression = args[:expression] if args.key?(:expression) end |