# Network Management V1 API - Class Google::Cloud::NetworkManagement::V1::DropInfo (v2.11.0)

2.11.0 (latest) 2.10.1 2.9.0 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.2 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 0.9.0 0.8.0 0.7.0 0.6.1 0.5.1 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Network Management V1 API class Google::Cloud::NetworkManagement::V1::DropInfo.

Details of the final state "drop" and associated resource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cause

    def cause() -> ::Google::Cloud::NetworkManagement::V1::DropInfo::Cause

**Returns**

- ([::Google::Cloud::NetworkManagement::V1::DropInfo::Cause](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_management-v1/latest/Google-Cloud-NetworkManagement-V1-DropInfo-Cause)) --- Cause that the packet is dropped.

### #cause=

    def cause=(value) -> ::Google::Cloud::NetworkManagement::V1::DropInfo::Cause

**Parameter**

- **value** ([::Google::Cloud::NetworkManagement::V1::DropInfo::Cause](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_management-v1/latest/Google-Cloud-NetworkManagement-V1-DropInfo-Cause)) --- Cause that the packet is dropped.
**Returns**

- ([::Google::Cloud::NetworkManagement::V1::DropInfo::Cause](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_management-v1/latest/Google-Cloud-NetworkManagement-V1-DropInfo-Cause)) --- Cause that the packet is dropped.

### #destination_geolocation_code

    def destination_geolocation_code() -> ::String

**Returns**

- (::String) --- Geolocation (region code) of the destination IP address (if relevant).

### #destination_geolocation_code=

    def destination_geolocation_code=(value) -> ::String

**Parameter**

- **value** (::String) --- Geolocation (region code) of the destination IP address (if relevant).
**Returns**

- (::String) --- Geolocation (region code) of the destination IP address (if relevant).

### #destination_ip

    def destination_ip() -> ::String

**Returns**

- (::String) --- Destination IP address of the dropped packet (if relevant).

### #destination_ip=

    def destination_ip=(value) -> ::String

**Parameter**

- **value** (::String) --- Destination IP address of the dropped packet (if relevant).
**Returns**

- (::String) --- Destination IP address of the dropped packet (if relevant).

### #region

    def region() -> ::String

**Returns**

- (::String) --- Region of the dropped packet (if relevant).

### #region=

    def region=(value) -> ::String

**Parameter**

- **value** (::String) --- Region of the dropped packet (if relevant).
**Returns**

- (::String) --- Region of the dropped packet (if relevant).

### #resource_uri

    def resource_uri() -> ::String

**Returns**

- (::String) --- URI of the resource that caused the drop.

### #resource_uri=

    def resource_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- URI of the resource that caused the drop.
**Returns**

- (::String) --- URI of the resource that caused the drop.

### #source_geolocation_code

    def source_geolocation_code() -> ::String

**Returns**

- (::String) --- Geolocation (region code) of the source IP address (if relevant).

### #source_geolocation_code=

    def source_geolocation_code=(value) -> ::String

**Parameter**

- **value** (::String) --- Geolocation (region code) of the source IP address (if relevant).
**Returns**

- (::String) --- Geolocation (region code) of the source IP address (if relevant).

### #source_ip

    def source_ip() -> ::String

**Returns**

- (::String) --- Source IP address of the dropped packet (if relevant).

### #source_ip=

    def source_ip=(value) -> ::String

**Parameter**

- **value** (::String) --- Source IP address of the dropped packet (if relevant).
**Returns**

- (::String) --- Source IP address of the dropped packet (if relevant).