Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::PackageNote.
This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#distribution
def
distribution
()
-
>
::
Array
< ::
Grafeas
::
V1
::
Distribution
>
Returns
- (::Array< ::Grafeas::V1::Distribution >) — The various channels by which a package is distributed.
#distribution=
def
distribution=
(
value
)
-
>
::
Array
< ::
Grafeas
::
V1
::
Distribution
>
Parameter
- value(::Array< ::Grafeas::V1::Distribution >) — The various channels by which a package is distributed.
Returns
- (::Array< ::Grafeas::V1::Distribution >) — The various channels by which a package is distributed.
#name
def
name
()
-
>
::
String
Returns
- (::String) — Required. Immutable. The name of the package.
#name=
def
name=
(
value
)
-
>
::
String
Parameter
- value(::String) — Required. Immutable. The name of the package.
Returns
- (::String) — Required. Immutable. The name of the package.