Class: Google::Cloud::SecurityCenter::V1::Package

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v1/vulnerability.rb

Overview

Package is a generic definition of a package.

Instance Attribute Summary collapse

Instance Attribute Details

#cpe_uri::String

Returns The CPE URI where the vulnerability was detected.

Returns:

  • (::String)

    The CPE URI where the vulnerability was detected.



313
314
315
316
# File 'proto_docs/google/cloud/securitycenter/v1/vulnerability.rb', line 313

class Package
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#package_name::String

Returns The name of the package where the vulnerability was detected.

Returns:

  • (::String)

    The name of the package where the vulnerability was detected.



313
314
315
316
# File 'proto_docs/google/cloud/securitycenter/v1/vulnerability.rb', line 313

class Package
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#package_type::String

Returns Type of package, for example, os, maven, or go.

Returns:

  • (::String)

    Type of package, for example, os, maven, or go.



313
314
315
316
# File 'proto_docs/google/cloud/securitycenter/v1/vulnerability.rb', line 313

class Package
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#package_version::String

Returns The version of the package.

Returns:

  • (::String)

    The version of the package.



313
314
315
316
# File 'proto_docs/google/cloud/securitycenter/v1/vulnerability.rb', line 313

class Package
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end