# Google Cloud Network Management V1 Client - Class LoadBalancerBackendInfo (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 LoadBalancerBackendInfo.

For display only. Metadata associated with the load balancer backend.

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

## Namespace

Google \\ Cloud \\ NetworkManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends. |
| `↳ instance_uri` | `string` URI of the backend instance (if applicable). Populated for instance group backends, and zonal NEG backends. |
| `↳ backend_service_uri` | `string` URI of the backend service this backend belongs to (if applicable). |
| `↳ instance_group_uri` | `string` URI of the instance group this backend belongs to (if applicable). |
| `↳ network_endpoint_group_uri` | `string` URI of the network endpoint group this backend belongs to (if applicable). |
| `↳ backend_bucket_uri` | `string` URI of the backend bucket this backend targets (if applicable). |
| `↳ psc_service_attachment_uri` | `string` URI of the PSC service attachment this PSC NEG backend targets (if applicable). |
| `↳ psc_google_api_target` | `string` PSC Google API target this PSC NEG backend targets (if applicable). |
| `↳ health_check_uri` | `string` URI of the health check attached to this backend (if applicable). |
| `↳ health_check_firewalls_config_state` | `int` Output only. Health check firewalls configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: <https://cloud.google.com/load-balancing/docs/firewall-rules> |

### getName

Display name of the backend. For example, it might be an instance name for
the instance group backends, or an IP address and port for zonal network
endpoint group backends.

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

### setName

Display name of the backend. For example, it might be an instance name for
the instance group backends, or an IP address and port for zonal network
endpoint group backends.

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

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

### getInstanceUri

URI of the backend instance (if applicable). Populated for instance group
backends, and zonal NEG backends.

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

### setInstanceUri

URI of the backend instance (if applicable). Populated for instance group
backends, and zonal NEG backends.

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

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

### getBackendServiceUri

URI of the backend service this backend belongs to (if applicable).

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

### setBackendServiceUri

URI of the backend service this backend belongs to (if applicable).

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

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

### getInstanceGroupUri

URI of the instance group this backend belongs to (if applicable).

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

### setInstanceGroupUri

URI of the instance group this backend belongs to (if applicable).

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

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

### getNetworkEndpointGroupUri

URI of the network endpoint group this backend belongs to (if applicable).

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

### setNetworkEndpointGroupUri

URI of the network endpoint group this backend belongs to (if applicable).

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

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

### getBackendBucketUri

URI of the backend bucket this backend targets (if applicable).

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

### setBackendBucketUri

URI of the backend bucket this backend targets (if applicable).

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

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

### getPscServiceAttachmentUri

URI of the PSC service attachment this PSC NEG backend targets (if
applicable).

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

### setPscServiceAttachmentUri

URI of the PSC service attachment this PSC NEG backend targets (if
applicable).

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

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

### getPscGoogleApiTarget

PSC Google API target this PSC NEG backend targets (if applicable).

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

### setPscGoogleApiTarget

PSC Google API target this PSC NEG backend targets (if applicable).

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

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

### getHealthCheckUri

URI of the health check attached to this backend (if applicable).

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

### setHealthCheckUri

URI of the health check attached to this backend (if applicable).

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

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

### getHealthCheckFirewallsConfigState

Output only. Health check firewalls configuration state for the backend.

This is a result of the static firewall analysis (verifying that health
check traffic from required IP ranges to the backend is allowed or not).
The backend might still be unhealthy even if these firewalls are
configured. Please refer to the documentation for more information:
<https://cloud.google.com/load-balancing/docs/firewall-rules>

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

### setHealthCheckFirewallsConfigState

Output only. Health check firewalls configuration state for the backend.

This is a result of the static firewall analysis (verifying that health
check traffic from required IP ranges to the backend is allowed or not).
The backend might still be unhealthy even if these firewalls are
configured. Please refer to the documentation for more information:
<https://cloud.google.com/load-balancing/docs/firewall-rules>

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

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