# Grafeas V1 API - Class Grafeas::V1::UpgradeDistribution (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.1 1.0.0 0.16.1 0.15.0 0.14.2 0.13.0 0.12.1 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.1 Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::UpgradeDistribution.

The Upgrade Distribution represents metadata about the Upgrade for each
operating system (CPE). Some distributions have additional metadata around
updates, classifying them into various categories and severities.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #classification

    def classification() -> ::String

**Returns**

- (::String) --- The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. For Windows the classification is one of the category_ids listed at https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)

### #classification=

    def classification=(value) -> ::String

**Parameter**

- **value** (::String) --- The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. For Windows the classification is one of the category_ids listed at https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)
**Returns**

- (::String) --- The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. For Windows the classification is one of the category_ids listed at https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)

### #cpe_uri

    def cpe_uri() -> ::String

**Returns**

- (::String) --- Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.

### #cpe_uri=

    def cpe_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
**Returns**

- (::String) --- Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.

### #cve

    def cve() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- The cve tied to this Upgrade.

### #cve=

    def cve=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- The cve tied to this Upgrade.
**Returns**

- (::Array\<::String\>) --- The cve tied to this Upgrade.

### #severity

    def severity() -> ::String

**Returns**

- (::String) --- The severity as specified by the upstream operating system.

### #severity=

    def severity=(value) -> ::String

**Parameter**

- **value** (::String) --- The severity as specified by the upstream operating system.
**Returns**

- (::String) --- The severity as specified by the upstream operating system.