class Google::Apis::ContaineranalysisV1alpha1::DocumentOccurrence
DocumentOccurrence
represents an SPDX Document Creation Information section: spdx.github.io/spdx-spec/2-document-creation-information/
Attributes
Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard Corresponds to the JSON property `createTime` @return [String]
A field for creators of the SPDX file to provide general comments about the creation of the SPDX file or any other relevant comment not included in the other fields Corresponds to the JSON property `creatorComment` @return [String]
Identify who (or what, in the case of a tool) created the SPDX file. If the SPDX file was created by an individual, indicate the person's name Corresponds to the JSON property `creators` @return [Array<String>]
A field for creators of the SPDX file content to provide comments to the consumers of the SPDX document Corresponds to the JSON property `documentComment` @return [String]
Identify any external SPDX documents referenced within this SPDX document Corresponds to the JSON property `externalDocumentRefs` @return [Array<String>]
Identify the current SPDX document which may be referenced in relationships by other files, packages internally and documents externally Corresponds to the JSON property `id` @return [String]
A field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created Corresponds to the JSON property `licenseListVersion` @return [String]
Provide an SPDX document specific namespace as a unique absolute Uniform Resource
Identifier (URI) as specified in RFC-3986, with the exception of the ‘ #’ delimiter Corresponds to the JSON property `namespace` @return [String]
Identify name of this document as designated by creator Corresponds to the JSON property `title` @return [String]
Public Class Methods
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 1237 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 1242 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @creator_comment = args[:creator_comment] if args.key?(:creator_comment) @creators = args[:creators] if args.key?(:creators) @document_comment = args[:document_comment] if args.key?(:document_comment) @external_document_refs = args[:external_document_refs] if args.key?(:external_document_refs) @id = args[:id] if args.key?(:id) @license_list_version = args[:license_list_version] if args.key?(:license_list_version) @namespace = args[:namespace] if args.key?(:namespace) @title = args[:title] if args.key?(:title) end