# Grafeas V1 API - Class Grafeas::V1::Location (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::Location.

An occurrence of a particular package installation found within a system's
filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cpe_uri

    def cpe_uri() -> ::String

**Returns**

- (::String) --- Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)

### #cpe_uri=

    def cpe_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
**Returns**

- (::String) --- Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)

### #path

    def path() -> ::String

**Returns**

- (::String) --- The path from which we gathered that this package/version is installed.

### #path=

    def path=(value) -> ::String

**Parameter**

- **value** (::String) --- The path from which we gathered that this package/version is installed.
**Returns**

- (::String) --- The path from which we gathered that this package/version is installed.

### #version

    def version() -> ::Grafeas::V1::Version

**Returns**

- ([::Grafeas::V1::Version](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Version)) --- Deprecated. The version installed at this location.

### #version=

    def version=(value) -> ::Grafeas::V1::Version

**Parameter**

- **value** ([::Grafeas::V1::Version](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Version)) --- Deprecated. The version installed at this location.
**Returns**

- ([::Grafeas::V1::Version](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Version)) --- Deprecated. The version installed at this location.