Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::Package (v0.5.0)

Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::Package.

Package is a generic definition of a package.

Inherits

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cpe_uri

def cpe_uri() -> ::String
Returns
  • (::String) — The CPE URI where the vulnerability was detected.

#cpe_uri=

def cpe_uri=(value) -> ::String
Parameter
  • value (::String) — The CPE URI where the vulnerability was detected.
Returns
  • (::String) — The CPE URI where the vulnerability was detected.

#package_name

def package_name() -> ::String
Returns
  • (::String) — The name of the package where the vulnerability was detected.

#package_name=

def package_name=(value) -> ::String
Parameter
  • value (::String) — The name of the package where the vulnerability was detected.
Returns
  • (::String) — The name of the package where the vulnerability was detected.

#package_type

def package_type() -> ::String
Returns
  • (::String) — Type of package, for example, os, maven, or go.

#package_type=

def package_type=(value) -> ::String
Parameter
  • value (::String) — Type of package, for example, os, maven, or go.
Returns
  • (::String) — Type of package, for example, os, maven, or go.

#package_version

def package_version() -> ::String
Returns
  • (::String) — The version of the package.

#package_version=

def package_version=(value) -> ::String
Parameter
  • value (::String) — The version of the package.
Returns
  • (::String) — The version of the package.