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

Describes a set of resource tag value permanent IDs to match against
the resource manager tags value associated with the source VM of a
request.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ ids` | `int[]|string[]` Required. A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request. The match follows AND semantics which means all the ids must match. Limited to 5 ids in the Tag value id set. |

### getIds

Required. A list of resource tag value permanent IDs to match against
the resource manager tags value associated with the source VM of a
request. The match follows AND semantics which means all
the ids must match. Limited to 5 ids in the Tag value id set.

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

### setIds

Required. A list of resource tag value permanent IDs to match against
the resource manager tags value associated with the source VM of a
request. The match follows AND semantics which means all
the ids must match. Limited to 5 ids in the Tag value id set.

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

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