class Google::Apis::ContaineranalysisV1alpha1::PackageOccurrence
PackageOccurrence
represents an SPDX Package
Information section: spdx. github.io/spdx-spec/3-package-information/
Attributes
A place for the SPDX file creator to record any general comments about the package being described Corresponds to the JSON property `comment` @return [String]
Provide the actual file name of the package, or path of the directory being treated as a package Corresponds to the JSON property `filename` @return [String]
Uniquely identify any element in an SPDX document which may be referenced by other elements Corresponds to the JSON property `id` @return [String]
This field provides a place for the SPDX file creator to record any relevant background information or analysis that went in to arriving at the Concluded License for a package Corresponds to the JSON property `licenseComments` @return [String]
package or alternative values, if the governing license cannot be determined Corresponds to the JSON property `licenseConcluded` @return [String]
Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package Corresponds to the JSON property `sourceInfo` @return [String]
Public Class Methods
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 2918 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 2923 def update!(**args) @comment = args[:comment] if args.key?(:comment) @filename = args[:filename] if args.key?(:filename) @id = args[:id] if args.key?(:id) @license_comments = args[:license_comments] if args.key?(:license_comments) @license_concluded = args[:license_concluded] if args.key?(:license_concluded) @source_info = args[:source_info] if args.key?(:source_info) end