# REST Resource: projects.locations.firewallEndpointAssociations

- [Resource: FirewallEndpointAssociation](https://docs.cloud.google.com/service-mesh/v1.22/docs/reference/network-security/rest/v1beta1/projects.locations.firewallEndpointAssociations#FirewallEndpointAssociation)
  - [JSON representation](https://docs.cloud.google.com/service-mesh/v1.22/docs/reference/network-security/rest/v1beta1/projects.locations.firewallEndpointAssociations#FirewallEndpointAssociation.SCHEMA_REPRESENTATION)
- [State](https://docs.cloud.google.com/service-mesh/v1.22/docs/reference/network-security/rest/v1beta1/projects.locations.firewallEndpointAssociations#State)
- [Methods](https://docs.cloud.google.com/service-mesh/v1.22/docs/reference/network-security/rest/v1beta1/projects.locations.firewallEndpointAssociations#METHODS_SUMMARY)

## Resource: FirewallEndpointAssociation

Message describing Association object

| JSON representation |
|---|
| ``` { "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "state": enum (`https://docs.cloud.google.com/service-mesh/v1.22/docs/reference/network-security/rest/v1beta1/projects.locations.firewallEndpointAssociations#State`), "network": string, "firewallEndpoint": string, "tlsInspectionPolicy": string, "reconciling": boolean, "disabled": boolean } ``` |

| Fields ||
|---|---|
| `name` | `string` Immutable. Identifier. name of resource |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Create time stamp A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Update time stamp A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `labels` | `map (key: string, value: string)` Optional. Labels as key value pairs An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `state` | ``enum (`https://docs.cloud.google.com/service-mesh/v1.22/docs/reference/network-security/rest/v1beta1/projects.locations.firewallEndpointAssociations#State`)`` Output only. Current state of the association. |
| `network` | `string` Required. The URL of the network that is being associated. |
| `firewallEndpoint` | `string` Required. The URL of the FirewallEndpoint that is being associated. |
| `tlsInspectionPolicy` | `string` Optional. The URL of the TlsInspectionPolicy that is being associated. |
| `reconciling` | `boolean` Output only. Whether reconciling is in progress, recommended per <https://google.aip.dev/128>. |
| `disabled` | `boolean` Optional. Whether the association is disabled. True indicates that traffic won't be intercepted |

## State

Association state.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | Not set. |
| `CREATING` | Being created. |
| `ACTIVE` | Active and ready for traffic. |
| `DELETING` | Being deleted. |
| `INACTIVE` | Down or in an error state. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/service-mesh/v1.22/docs/reference/network-security/rest/v1beta1/projects.locations.firewallEndpointAssociations/create` | Creates a new FirewallEndpointAssociation in a given project and location. |
| ### `https://docs.cloud.google.com/service-mesh/v1.22/docs/reference/network-security/rest/v1beta1/projects.locations.firewallEndpointAssociations/delete` | Deletes a single FirewallEndpointAssociation. |
| ### `https://docs.cloud.google.com/service-mesh/v1.22/docs/reference/network-security/rest/v1beta1/projects.locations.firewallEndpointAssociations/get` | Gets details of a single FirewallEndpointAssociation. |
| ### `https://docs.cloud.google.com/service-mesh/v1.22/docs/reference/network-security/rest/v1beta1/projects.locations.firewallEndpointAssociations/list` | Lists Associations in a given project and location. |
| ### `https://docs.cloud.google.com/service-mesh/v1.22/docs/reference/network-security/rest/v1beta1/projects.locations.firewallEndpointAssociations/patch` | Update a single FirewallEndpointAssociation. |