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

This represents a particular channel of distribution for a given package.
E.g., Debian's jessie-backports dpkg mirror.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #architecture

    def architecture() -> ::Grafeas::V1::Architecture

**Returns**

- ([::Grafeas::V1::Architecture](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Architecture)) --- The CPU architecture for which packages in this distribution channel were built.

### #architecture=

    def architecture=(value) -> ::Grafeas::V1::Architecture

**Parameter**

- **value** ([::Grafeas::V1::Architecture](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Architecture)) --- The CPU architecture for which packages in this distribution channel were built.
**Returns**

- ([::Grafeas::V1::Architecture](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Architecture)) --- The CPU architecture for which packages in this distribution channel were built.

### #cpe_uri

    def cpe_uri() -> ::String

**Returns**

- (::String) --- The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.

### #cpe_uri=

    def cpe_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
**Returns**

- (::String) --- The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.

### #description

    def description() -> ::String

**Returns**

- (::String) --- The distribution channel-specific description of this package.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- The distribution channel-specific description of this package.
**Returns**

- (::String) --- The distribution channel-specific description of this package.

### #latest_version

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

**Returns**

- ([::Grafeas::V1::Version](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Version)) --- The latest available version of this package in this distribution channel.

### #latest_version=

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

**Parameter**

- **value** ([::Grafeas::V1::Version](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Version)) --- The latest available version of this package in this distribution channel.
**Returns**

- ([::Grafeas::V1::Version](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Version)) --- The latest available version of this package in this distribution channel.

### #maintainer

    def maintainer() -> ::String

**Returns**

- (::String) --- A freeform string denoting the maintainer of this package.

### #maintainer=

    def maintainer=(value) -> ::String

**Parameter**

- **value** (::String) --- A freeform string denoting the maintainer of this package.
**Returns**

- (::String) --- A freeform string denoting the maintainer of this package.

### #url

    def url() -> ::String

**Returns**

- (::String) --- The distribution channel-specific homepage for this package.

### #url=

    def url=(value) -> ::String

**Parameter**

- **value** (::String) --- The distribution channel-specific homepage for this package.
**Returns**

- (::String) --- The distribution channel-specific homepage for this package.