# Google Cloud Network Security V1 Client - Class RequestResource (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 RequestResource.

Describes the properties of a client VM resource accessing the internal
application load balancers.

Generated from protobuf message `google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1 \\ AuthzPolicy \\ AuthzRule

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ tag_value_id_set` | `https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.AuthzPolicy.AuthzRule.RequestResource.TagValueIdSet` Optional. A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request. |
| `↳ iam_service_account` | `https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.AuthzPolicy.AuthzRule.StringMatch` Optional. An IAM service account to match against the source service account of the VM sending the request. |

### getTagValueIdSet

Optional. A list of resource tag value permanent IDs to match against
the resource manager tags value associated with the source VM of a
request.

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

### hasTagValueIdSet

### clearTagValueIdSet

### setTagValueIdSet

Optional. A list of resource tag value permanent IDs to match against
the resource manager tags value associated with the source VM of a
request.

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

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

### getIamServiceAccount

Optional. An IAM service account to match against the source
service account of the VM sending the request.

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

### hasIamServiceAccount

### clearIamServiceAccount

### setIamServiceAccount

Optional. An IAM service account to match against the source
service account of the VM sending the request.

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

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