# Distributed Cloud Edge Network V1 API - Class Google::Cloud::EdgeNetwork::V1::InterconnectDiagnostics::PacketCounts (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.0 2.3.1 2.2.0 2.1.0 2.0.2 1.2.0 1.1.0 1.0.3 0.5.0 0.4.1 0.3.1 0.2.1 0.1.0 Reference documentation and code samples for the Distributed Cloud Edge Network V1 API class Google::Cloud::EdgeNetwork::V1::InterconnectDiagnostics::PacketCounts.

Containing a collection of interface-related statistics objects.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #inbound_discards

    def inbound_discards() -> ::Integer

**Returns**

- (::Integer) --- The number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their being deliverable.

### #inbound_discards=

    def inbound_discards=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their being deliverable.
**Returns**

- (::Integer) --- The number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their being deliverable.

### #inbound_errors

    def inbound_errors() -> ::Integer

**Returns**

- (::Integer) --- The number of inbound packets that contained errors.

### #inbound_errors=

    def inbound_errors=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of inbound packets that contained errors.
**Returns**

- (::Integer) --- The number of inbound packets that contained errors.

### #inbound_unicast

    def inbound_unicast() -> ::Integer

**Returns**

- (::Integer) --- The number of packets that are delivered.

### #inbound_unicast=

    def inbound_unicast=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of packets that are delivered.
**Returns**

- (::Integer) --- The number of packets that are delivered.

### #outbound_discards

    def outbound_discards() -> ::Integer

**Returns**

- (::Integer) --- The number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent their being transmitted.

### #outbound_discards=

    def outbound_discards=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent their being transmitted.
**Returns**

- (::Integer) --- The number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent their being transmitted.

### #outbound_errors

    def outbound_errors() -> ::Integer

**Returns**

- (::Integer) --- The number of outbound packets that could not be transmitted because of errors.

### #outbound_errors=

    def outbound_errors=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of outbound packets that could not be transmitted because of errors.
**Returns**

- (::Integer) --- The number of outbound packets that could not be transmitted because of errors.

### #outbound_unicast

    def outbound_unicast() -> ::Integer

**Returns**

- (::Integer) --- The total number of packets that are requested be transmitted.

### #outbound_unicast=

    def outbound_unicast=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The total number of packets that are requested be transmitted.
**Returns**

- (::Integer) --- The total number of packets that are requested be transmitted.