Class: Google::Apis::ContaineranalysisV1beta1::DocumentNote
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContaineranalysisV1beta1::DocumentNote
 
 
- 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
DocumentNote represents an SPDX Document Creation Information section: https:// spdx.github.io/spdx-spec/2-document-creation-information/
Instance Attribute Summary collapse
- 
  
    
      #data_licence  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields ("SPDX-Metadata") Corresponds to the JSON property
dataLicence. - 
  
    
      #spdx_version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Provide a reference number that can be used to understand how to parse and interpret the rest of the file Corresponds to the JSON property
spdxVersion. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DocumentNote 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of DocumentNote.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ DocumentNote
Returns a new instance of DocumentNote.
      3320 3321 3322  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3320 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#data_licence ⇒ String
Compliance with the SPDX specification includes populating the SPDX fields
therein with data related to such fields ("SPDX-Metadata")
Corresponds to the JSON property dataLicence
      3312 3313 3314  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3312 def data_licence @data_licence end  | 
  
#spdx_version ⇒ String
Provide a reference number that can be used to understand how to parse and
interpret the rest of the file
Corresponds to the JSON property spdxVersion
      3318 3319 3320  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3318 def spdx_version @spdx_version end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3325 3326 3327 3328  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3325 def update!(**args) @data_licence = args[:data_licence] if args.key?(:data_licence) @spdx_version = args[:spdx_version] if args.key?(:spdx_version) end  |