Class: Google::Apis::ContaineranalysisV1beta1::FileNote
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::FileNote
- 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
FileNote represents an SPDX File Information section: https://spdx.github.io/ spdx-spec/4-file-information/
Instance Attribute Summary collapse
-
#checksum ⇒ Array<String>
Provide a unique identifier to match analysis information on each specific file in a package Corresponds to the JSON property
checksum
. -
#file_type ⇒ String
This field provides information about the type of file identified Corresponds to the JSON property
fileType
. -
#title ⇒ String
Identify the full path and filename that corresponds to the file information in this section Corresponds to the JSON property
title
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FileNote
constructor
A new instance of FileNote.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FileNote
Returns a new instance of FileNote.
3676 3677 3678 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3676 def initialize(**args) update!(**args) end |
Instance Attribute Details
#checksum ⇒ Array<String>
Provide a unique identifier to match analysis information on each specific
file in a package
Corresponds to the JSON property checksum
3663 3664 3665 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3663 def checksum @checksum end |
#file_type ⇒ String
This field provides information about the type of file identified
Corresponds to the JSON property fileType
3668 3669 3670 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3668 def file_type @file_type end |
#title ⇒ String
Identify the full path and filename that corresponds to the file information
in this section
Corresponds to the JSON property title
3674 3675 3676 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3674 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3681 3682 3683 3684 3685 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3681 def update!(**args) @checksum = args[:checksum] if args.key?(:checksum) @file_type = args[:file_type] if args.key?(:file_type) @title = args[:title] if args.key?(:title) end |