# Google Cloud Network Security V1 Client - Class CreateBackendAuthenticationConfigRequest (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.0 1.0.4 0.6.5 0.5.2 0.4.1 0.3.7 Reference documentation and code samples for the Google Cloud Network Security V1 Client class CreateBackendAuthenticationConfigRequest.

Request used by the CreateBackendAuthenticationConfig method.

Generated from protobuf message `google.cloud.networksecurity.v1.CreateBackendAuthenticationConfigRequest`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getParent

Required. The parent resource of the BackendAuthenticationConfig. Must be
in the format `projects/*/locations/{location}`.

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

### setParent

Required. The parent resource of the BackendAuthenticationConfig. Must be
in the format `projects/*/locations/{location}`.

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

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

### getBackendAuthenticationConfigId

Required. Short name of the BackendAuthenticationConfig resource to be
created. This value should be 1-63 characters long, containing only
letters, numbers, hyphens, and underscores, and should not start with a
number. E.g. "backend-auth-config".

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

### setBackendAuthenticationConfigId

Required. Short name of the BackendAuthenticationConfig resource to be
created. This value should be 1-63 characters long, containing only
letters, numbers, hyphens, and underscores, and should not start with a
number. E.g. "backend-auth-config".

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

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

### getBackendAuthenticationConfig

Required. BackendAuthenticationConfig resource to be created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.BackendAuthenticationConfig|null` |   |

### hasBackendAuthenticationConfig

### clearBackendAuthenticationConfig

### setBackendAuthenticationConfig

Required. BackendAuthenticationConfig resource to be created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.BackendAuthenticationConfig` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource of the BackendAuthenticationConfig. Must be in the format `projects/*/locations/{location}`. Please see NetworkSecurityClient::locationName() for help formatting this field. |
| `backendAuthenticationConfig` | `https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.BackendAuthenticationConfig` Required. BackendAuthenticationConfig resource to be created. |
| `backendAuthenticationConfigId` | `string` Required. Short name of the BackendAuthenticationConfig resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "backend-auth-config". |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.CreateBackendAuthenticationConfigRequest` |   |