# Google Cloud Network Management V1 Client - Class LoadBalancerBackend (2.9.2)

2.9.2 (latest) 2.9.1 2.8.0 2.7.0 2.6.1 2.5.0 2.4.2 2.3.2 2.2.1 2.1.1 2.0.1 1.7.3 1.5.0 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Network Management V1 Client class LoadBalancerBackend.

For display only. Metadata associated with a specific load balancer backend.

Generated from protobuf message `google.cloud.networkmanagement.v1.LoadBalancerBackend`

## Namespace

Google \\ Cloud \\ NetworkManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ display_name` | `string` Name of a Compute Engine instance or network endpoint. |
| `↳ uri` | `string` URI of a Compute Engine instance or network endpoint. |
| `↳ health_check_firewall_state` | `int` State of the health check firewall configuration. |
| `↳ health_check_allowing_firewall_rules` | `string[]` A list of firewall rule URIs allowing probes from health check IP ranges. |
| `↳ health_check_blocking_firewall_rules` | `string[]` A list of firewall rule URIs blocking probes from health check IP ranges. |

### getDisplayName

Name of a Compute Engine instance or network endpoint.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDisplayName

Name of a Compute Engine instance or network endpoint.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUri

URI of a Compute Engine instance or network endpoint.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setUri

URI of a Compute Engine instance or network endpoint.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHealthCheckFirewallState

State of the health check firewall configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [HealthCheckFirewallState](https://docs.cloud.google.com/php/docs/reference/cloud-network-management/latest/V1.LoadBalancerBackend.HealthCheckFirewallState). |

### setHealthCheckFirewallState

State of the health check firewall configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [HealthCheckFirewallState](https://docs.cloud.google.com/php/docs/reference/cloud-network-management/latest/V1.LoadBalancerBackend.HealthCheckFirewallState). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHealthCheckAllowingFirewallRules

A list of firewall rule URIs allowing probes from health check IP ranges.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setHealthCheckAllowingFirewallRules

A list of firewall rule URIs allowing probes from health check IP ranges.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHealthCheckBlockingFirewallRules

A list of firewall rule URIs blocking probes from health check IP ranges.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setHealthCheckBlockingFirewallRules

A list of firewall rule URIs blocking probes from health check IP ranges.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |