proto_docs/grafeas/v1/package.rb in grafeas-v1-0.4.0 vs proto_docs/grafeas/v1/package.rb in grafeas-v1-0.5.0

- old
+ new

@@ -21,11 +21,11 @@ module V1 # This represents a particular channel of distribution for a given package. # E.g., Debian's jessie-backports dpkg mirror. # @!attribute [rw] cpe_uri # @return [::String] - # Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) + # The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) # denoting the package manager version distributing a package. # @!attribute [rw] architecture # @return [::Grafeas::V1::Architecture] # The CPU architecture for which packages in this distribution channel were # built. @@ -48,44 +48,95 @@ # An occurrence of a particular package installation found within a system's # filesystem. E.g., glibc was found in `/var/lib/dpkg/status`. # @!attribute [rw] cpe_uri # @return [::String] - # Required. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) - # denoting the package manager version distributing a package. + # Deprecated. + # The CPE URI in [CPE format](https://cpe.mitre.org/specification/) # @!attribute [rw] version # @return [::Grafeas::V1::Version] + # Deprecated. # The version installed at this location. # @!attribute [rw] path # @return [::String] # The path from which we gathered that this package/version is installed. class Location include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end - # This represents a particular package that is distributed over various - # channels. E.g., glibc (aka libc6) is distributed by many, at various - # versions. + # PackageNote represents a particular package version. # @!attribute [rw] name # @return [::String] - # Required. Immutable. The name of the package. + # The name of the package. # @!attribute [rw] distribution # @return [::Array<::Grafeas::V1::Distribution>] + # Deprecated. # The various channels by which a package is distributed. + # @!attribute [rw] package_type + # @return [::String] + # The type of package; whether native or non native (e.g., ruby gems, + # node.js packages, etc.). + # @!attribute [rw] cpe_uri + # @return [::String] + # The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) + # denoting the package manager version distributing a package. + # The cpe_uri will be blank for language packages. + # @!attribute [rw] architecture + # @return [::Grafeas::V1::Architecture] + # The CPU architecture for which packages in this distribution channel were + # built. Architecture will be blank for language packages. + # @!attribute [rw] version + # @return [::Grafeas::V1::Version] + # The version of the package. + # @!attribute [rw] maintainer + # @return [::String] + # A freeform text denoting the maintainer of this package. + # @!attribute [rw] url + # @return [::String] + # The homepage for this package. + # @!attribute [rw] description + # @return [::String] + # The description of this package. + # @!attribute [rw] license + # @return [::Grafeas::V1::License] + # Licenses that have been declared by the authors of the package. + # @!attribute [rw] digest + # @return [::Array<::Grafeas::V1::Digest>] + # Hash value, typically a file digest, that allows unique + # identification a specific package. class PackageNote include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Details on how a particular software package was installed on a system. - # @!attribute [rw] name + # @!attribute [r] name # @return [::String] - # Output only. The name of the installed package. + # The name of the installed package. # @!attribute [rw] location # @return [::Array<::Grafeas::V1::Location>] - # Required. All of the places within the filesystem versions of this package + # All of the places within the filesystem versions of this package # have been found. + # @!attribute [r] package_type + # @return [::String] + # The type of package; whether native or non native (e.g., ruby gems, + # node.js packages, etc.). + # @!attribute [r] cpe_uri + # @return [::String] + # The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) + # denoting the package manager version distributing a package. + # The cpe_uri will be blank for language packages. + # @!attribute [r] architecture + # @return [::Grafeas::V1::Architecture] + # The CPU architecture for which packages in this distribution channel were + # built. Architecture will be blank for language packages. + # @!attribute [rw] license + # @return [::Grafeas::V1::License] + # Licenses that have been declared by the authors of the package. + # @!attribute [r] version + # @return [::Grafeas::V1::Version] + # The version of the package. class PackageOccurrence include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end