# Google Cloud Confidential Computing V1 Client - Class AwsPrincipalTagsOptions (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 AwsPrincipalTagsOptions.

Token options that only apply to the AWS Principal Tags token type.

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

## Namespace

Google \\ Cloud \\ ConfidentialComputing \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ allowed_principal_tags` | `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.AwsPrincipalTagsOptions.AllowedPrincipalTags` Optional. Principal tags to allow in the token. |

### getAllowedPrincipalTags

Optional. Principal tags to allow in the token.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.AwsPrincipalTagsOptions.AllowedPrincipalTags|null` |   |

### hasAllowedPrincipalTags

### clearAllowedPrincipalTags

### setAllowedPrincipalTags

Optional. Principal tags to allow in the token.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.AwsPrincipalTagsOptions.AllowedPrincipalTags` |

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