1.2.3 (latest) 1.1.2 1.0.5 0.4.5 0.3.3 0.2.2 0.1.7 Reference documentation and code samples for the Google Cloud Api Keys V2 Client class GetKeyStringResponse.

Response message for `GetKeyString` method.

Generated from protobuf message `google.api.apikeys.v2.GetKeyStringResponse`

## Namespace

Google \\ Cloud \\ ApiKeys \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ key_string` | `string` An encrypted and signed value of the key. |

### getKeyString

An encrypted and signed value of the key.

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

### setKeyString

An encrypted and signed value of the key.

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

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