# Network Management V1 API - Class Google::Cloud::NetworkManagement::V1::ForwardingRuleInfo (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::ForwardingRuleInfo.

For display only. Metadata associated with a Compute Engine forwarding rule.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Name of the forwarding rule.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of the forwarding rule.
**Returns**

- (::String) --- Name of the forwarding rule.

### #load_balancer_name

    def load_balancer_name() -> ::String

**Returns**

- (::String) --- Name of the load balancer the forwarding rule belongs to. Empty for forwarding rules not related to load balancers (like PSC forwarding rules).

### #load_balancer_name=

    def load_balancer_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of the load balancer the forwarding rule belongs to. Empty for forwarding rules not related to load balancers (like PSC forwarding rules).
**Returns**

- (::String) --- Name of the load balancer the forwarding rule belongs to. Empty for forwarding rules not related to load balancers (like PSC forwarding rules).

### #matched_port_range

    def matched_port_range() -> ::String

**Returns**

- (::String) --- Port range defined in the forwarding rule that matches the packet.

### #matched_port_range=

    def matched_port_range=(value) -> ::String

**Parameter**

- **value** (::String) --- Port range defined in the forwarding rule that matches the packet.
**Returns**

- (::String) --- Port range defined in the forwarding rule that matches the packet.

### #matched_protocol

    def matched_protocol() -> ::String

**Returns**

- (::String) --- Protocol defined in the forwarding rule that matches the packet.

### #matched_protocol=

    def matched_protocol=(value) -> ::String

**Parameter**

- **value** (::String) --- Protocol defined in the forwarding rule that matches the packet.
**Returns**

- (::String) --- Protocol defined in the forwarding rule that matches the packet.

### #network_uri

    def network_uri() -> ::String

**Returns**

- (::String) --- Network URI.

### #network_uri=

    def network_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Network URI.
**Returns**

- (::String) --- Network URI.

### #psc_google_api_target

    def psc_google_api_target() -> ::String

**Returns**

- (::String) --- PSC Google API target this forwarding rule targets (if applicable).

### #psc_google_api_target=

    def psc_google_api_target=(value) -> ::String

**Parameter**

- **value** (::String) --- PSC Google API target this forwarding rule targets (if applicable).
**Returns**

- (::String) --- PSC Google API target this forwarding rule targets (if applicable).

### #psc_service_attachment_uri

    def psc_service_attachment_uri() -> ::String

**Returns**

- (::String) --- URI of the PSC service attachment this forwarding rule targets (if applicable).

### #psc_service_attachment_uri=

    def psc_service_attachment_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- URI of the PSC service attachment this forwarding rule targets (if applicable).
**Returns**

- (::String) --- URI of the PSC service attachment this forwarding rule targets (if applicable).

### #region

    def region() -> ::String

**Returns**

- (::String) --- Region of the forwarding rule. Set only for regional forwarding rules.

### #region=

    def region=(value) -> ::String

**Parameter**

- **value** (::String) --- Region of the forwarding rule. Set only for regional forwarding rules.
**Returns**

- (::String) --- Region of the forwarding rule. Set only for regional forwarding rules.

### #target

    def target() -> ::String

**Returns**

- (::String) --- Target type of the forwarding rule.

### #target=

    def target=(value) -> ::String

**Parameter**

- **value** (::String) --- Target type of the forwarding rule.
**Returns**

- (::String) --- Target type of the forwarding rule.

### #uri

    def uri() -> ::String

**Returns**

- (::String) --- URI of the forwarding rule.

### #uri=

    def uri=(value) -> ::String

**Parameter**

- **value** (::String) --- URI of the forwarding rule.
**Returns**

- (::String) --- URI of the forwarding rule.

### #vip

    def vip() -> ::String

**Returns**

- (::String) --- VIP of the forwarding rule.

### #vip=

    def vip=(value) -> ::String

**Parameter**

- **value** (::String) --- VIP of the forwarding rule.
**Returns**

- (::String) --- VIP of the forwarding rule.