Class: Google::Apis::ContaineranalysisV1alpha1::Note
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::Note
- Defined in:
- generated/google/apis/containeranalysis_v1alpha1/classes.rb,
generated/google/apis/containeranalysis_v1alpha1/representations.rb,
generated/google/apis/containeranalysis_v1alpha1/representations.rb more...
Overview
Provides a detailed description of a Note
.
Instance Attribute Summary collapse
-
#attestation_authority ⇒ Google::Apis::ContaineranalysisV1alpha1::AttestationAuthority
Note kind that represents a logical attestation "role" or "authority".
-
#base_image ⇒ Google::Apis::ContaineranalysisV1alpha1::Basis
Basis describes the base image portion (Note) of the DockerImage relationship.
-
#build_type ⇒ Google::Apis::ContaineranalysisV1alpha1::BuildType
Note holding the version of the provider's builder and the signature of the provenance message in linked BuildDetails.
-
#create_time ⇒ String
Output only.
-
#deployable ⇒ Google::Apis::ContaineranalysisV1alpha1::Deployable
An artifact that can be deployed in some runtime.
-
#discovery ⇒ Google::Apis::ContaineranalysisV1alpha1::Discovery
A note that indicates a type of analysis a provider would perform.
-
#expiration_time ⇒ String
Time of expiration for this note, null if note does not expire.
-
#kind ⇒ String
Output only.
-
#long_description ⇒ String
A detailed description of this
Note
. -
#name ⇒ String
The name of the note in the form "providers/
provider_id
/notes/NOTE_ID
" Corresponds to the JSON propertyname
. -
#package ⇒ Google::Apis::ContaineranalysisV1alpha1::Package
This represents a particular package that is distributed over various channels.
-
#related_url ⇒ Array<Google::Apis::ContaineranalysisV1alpha1::RelatedUrl>
URLs associated with this note Corresponds to the JSON property
relatedUrl
. -
#short_description ⇒ String
A one sentence description of this
Note
. -
#update_time ⇒ String
Output only.
-
#vulnerability_type ⇒ Google::Apis::ContaineranalysisV1alpha1::VulnerabilityType
VulnerabilityType provides metadata about a security vulnerability.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Note
constructor
A new instance of Note.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Note
Returns a new instance of Note
1712 1713 1714 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1712 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attestation_authority ⇒ Google::Apis::ContaineranalysisV1alpha1::AttestationAuthority
Note kind that represents a logical attestation "role" or "authority". For
example, an organization might have one AttestationAuthority
for "QA" and
one for "build". This Note is intended to act strictly as a grouping
mechanism for the attached Occurrences (Attestations). This grouping
mechanism also provides a security boundary, since IAM ACLs gate the ability
for a principle to attach an Occurrence to a given Note. It also provides a
single point of lookup to find all attached Attestation Occurrences, even if
they don't all live in the same project.
Corresponds to the JSON property attestationAuthority
1625 1626 1627 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1625 def @attestation_authority end |
#base_image ⇒ Google::Apis::ContaineranalysisV1alpha1::Basis
Basis describes the base image portion (Note) of the DockerImage
relationship. Linked occurrences are derived from this or an
equivalent image via:
FROM baseImage
1634 1635 1636 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1634 def base_image @base_image end |
#build_type ⇒ Google::Apis::ContaineranalysisV1alpha1::BuildType
Note holding the version of the provider's builder and the signature of
the provenance message in linked BuildDetails.
Corresponds to the JSON property buildType
1640 1641 1642 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1640 def build_type @build_type end |
#create_time ⇒ String
Output only. The time this note was created. This field can be used as a
filter in list requests.
Corresponds to the JSON property createTime
1646 1647 1648 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1646 def create_time @create_time end |
#deployable ⇒ Google::Apis::ContaineranalysisV1alpha1::Deployable
An artifact that can be deployed in some runtime.
Corresponds to the JSON property deployable
1651 1652 1653 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1651 def deployable @deployable end |
#discovery ⇒ Google::Apis::ContaineranalysisV1alpha1::Discovery
A note that indicates a type of analysis a provider would perform. This note
exists in a provider's project. A Discovery
occurrence is created in a
consumer's project at the start of analysis. The occurrence's operation will
indicate the status of the analysis. Absence of an occurrence linked to this
note for a resource indicates that analysis hasn't started.
Corresponds to the JSON property discovery
1660 1661 1662 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1660 def discovery @discovery end |
#expiration_time ⇒ String
Time of expiration for this note, null if note does not expire.
Corresponds to the JSON property expirationTime
1665 1666 1667 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1665 def expiration_time @expiration_time end |
#kind ⇒ String
Output only. This explicitly denotes which kind of note is specified. This
field can be used as a filter in list requests.
Corresponds to the JSON property kind
1671 1672 1673 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1671 def kind @kind end |
#long_description ⇒ String
A detailed description of this Note
.
Corresponds to the JSON property longDescription
1676 1677 1678 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1676 def long_description @long_description end |
#name ⇒ String
The name of the note in the form
"providers/provider_id
/notes/NOTE_ID
"
Corresponds to the JSON property name
1682 1683 1684 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1682 def name @name end |
#package ⇒ Google::Apis::ContaineranalysisV1alpha1::Package
This represents a particular package that is distributed over
various channels.
e.g. glibc (aka libc6) is distributed by many, at various versions.
Corresponds to the JSON property package
1689 1690 1691 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1689 def package @package end |
#related_url ⇒ Array<Google::Apis::ContaineranalysisV1alpha1::RelatedUrl>
URLs associated with this note
Corresponds to the JSON property relatedUrl
1694 1695 1696 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1694 def @related_url end |
#short_description ⇒ String
A one sentence description of this Note
.
Corresponds to the JSON property shortDescription
1699 1700 1701 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1699 def short_description @short_description end |
#update_time ⇒ String
Output only. The time this note was last updated. This field can be used as
a filter in list requests.
Corresponds to the JSON property updateTime
1705 1706 1707 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1705 def update_time @update_time end |
#vulnerability_type ⇒ Google::Apis::ContaineranalysisV1alpha1::VulnerabilityType
VulnerabilityType provides metadata about a security vulnerability.
Corresponds to the JSON property vulnerabilityType
1710 1711 1712 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1710 def vulnerability_type @vulnerability_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 1717 def update!(**args) @attestation_authority = args[:attestation_authority] if args.key?(:attestation_authority) @base_image = args[:base_image] if args.key?(:base_image) @build_type = args[:build_type] if args.key?(:build_type) @create_time = args[:create_time] if args.key?(:create_time) @deployable = args[:deployable] if args.key?(:deployable) @discovery = args[:discovery] if args.key?(:discovery) @expiration_time = args[:expiration_time] if args.key?(:expiration_time) @kind = args[:kind] if args.key?(:kind) @long_description = args[:long_description] if args.key?(:long_description) @name = args[:name] if args.key?(:name) @package = args[:package] if args.key?(:package) @related_url = args[:related_url] if args.key?(:related_url) @short_description = args[:short_description] if args.key?(:short_description) @update_time = args[:update_time] if args.key?(:update_time) @vulnerability_type = args[:vulnerability_type] if args.key?(:vulnerability_type) end |