# Google Cloud Confidential Computing V1 Client - Class GcpCredentials (1.7.1)

1.7.1 (latest) 1.7.0 1.6.2 1.5.0 1.4.1 1.3.0 1.2.2 1.1.1 1.0.0 0.8.3 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.2 0.1.1 Reference documentation and code samples for the Google Cloud Confidential Computing V1 Client class GcpCredentials.

Credentials issued by GCP which are linked to the platform attestation. These
will be verified server-side as part of attestaion verification.

Generated from protobuf message `google.cloud.confidentialcomputing.v1.GcpCredentials`

## Namespace

Google \\ Cloud \\ ConfidentialComputing \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ service_account_id_tokens` | `string[]` Same as id_tokens, but as a string. |

### getServiceAccountIdTokens

Same as id_tokens, but as a string.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setServiceAccountIdTokens

Same as id_tokens, but as a string.

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

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