# Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Item (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.16.0 0.15.2 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.1 Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Item.

OS inventory item that is affected by a vulnerability or fixed as a
result of a vulnerability.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #available_inventory_item_id

    def available_inventory_item_id() -> ::String

**Returns**

- (::String) --- Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.

### #available_inventory_item_id=

    def available_inventory_item_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.
**Returns**

- (::String) --- Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.

### #fixed_cpe_uri

    def fixed_cpe_uri() -> ::String

**Returns**

- (::String) --- The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.

### #fixed_cpe_uri=

    def fixed_cpe_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
**Returns**

- (::String) --- The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.

### #installed_inventory_item_id

    def installed_inventory_item_id() -> ::String

**Returns**

- (::String) --- Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some operating systems, this field might be empty.

### #installed_inventory_item_id=

    def installed_inventory_item_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some operating systems, this field might be empty.
**Returns**

- (::String) --- Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some operating systems, this field might be empty.

### #upstream_fix

    def upstream_fix() -> ::String

**Returns**

- (::String) --- The upstream OS patch, packages or KB that fixes the vulnerability.

### #upstream_fix=

    def upstream_fix=(value) -> ::String

**Parameter**

- **value** (::String) --- The upstream OS patch, packages or KB that fixes the vulnerability.
**Returns**

- (::String) --- The upstream OS patch, packages or KB that fixes the vulnerability.