Cloud Security Command Center V1 API - Class Google::Cloud::SecurityCenter::V1::Package (v0.39.0)

Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::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.