0.6.2 (latest) 0.6.1 0.5.3 0.4.1 0.3.0 0.2.2 0.1.2 Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class BearerTokenAuthentication.

Bearer token authentication with a token.

Generated from protobuf message `google.cloud.developerconnect.v1.GenericHTTPEndpointConfig.BearerTokenAuthentication`

## Namespace

Google \\ Cloud \\ DeveloperConnect \\ V1 \\ GenericHTTPEndpointConfig

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ token_secret_version` | `string` Optional. The token SecretManager secret version to authenticate as. |

### getTokenSecretVersion

Optional. The token SecretManager secret version to authenticate as.

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

### hasTokenSecretVersion

### setTokenSecretVersion

Optional. The token SecretManager secret version to authenticate as.

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

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

### getToken

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