# Google Cloud Asset V1 Client - Class AnalyzeOrgPolicyGovernedContainersResponse (2.3.3)

2.3.3 (latest) 2.3.2 2.2.3 2.1.3 2.0.1 1.16.4 1.14.1 1.13.2 1.12.2 1.11.3 1.10.2 1.9.2 Reference documentation and code samples for the Google Cloud Asset V1 Client class AnalyzeOrgPolicyGovernedContainersResponse.

The response message for
[AssetService.AnalyzeOrgPolicyGovernedContainers](https://docs.cloud.google.com/php/docs/reference/cloud-asset/latest/V1.Client.AssetServiceClient#_Google_Cloud_Asset_V1_Client_AssetServiceClient__analyzeOrgPolicyGovernedContainers__).

Generated from protobuf message `google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse`

## Namespace

Google \\ Cloud \\ Asset \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ governed_containers` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-asset/latest/V1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer>` The list of the analyzed governed containers. |
| `↳ constraint` | `https://docs.cloud.google.com/php/docs/reference/cloud-asset/latest/V1.AnalyzerOrgPolicyConstraint` The definition of the constraint in the request. |
| `↳ next_page_token` | `string` The page token to fetch the next page for [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers](https://docs.cloud.google.com/php/docs/reference/cloud-asset/latest/V1.AnalyzeOrgPolicyGovernedContainersResponse#_Google_Cloud_Asset_V1_AnalyzeOrgPolicyGovernedContainersResponse__getGovernedContainers__). |

### getGovernedContainers

The list of the analyzed governed containers.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-asset/latest/V1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer>` |   |

### setGovernedContainers

The list of the analyzed governed containers.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-asset/latest/V1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer>` |

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

### getConstraint

The definition of the constraint in the request.

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

### hasConstraint

### clearConstraint

### setConstraint

The definition of the constraint in the request.

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

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

### getNextPageToken

The page token to fetch the next page for
[AnalyzeOrgPolicyGovernedContainersResponse.governed_containers](https://docs.cloud.google.com/php/docs/reference/cloud-asset/latest/V1.AnalyzeOrgPolicyGovernedContainersResponse#_Google_Cloud_Asset_V1_AnalyzeOrgPolicyGovernedContainersResponse__getGovernedContainers__).

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

### setNextPageToken

The page token to fetch the next page for
[AnalyzeOrgPolicyGovernedContainersResponse.governed_containers](https://docs.cloud.google.com/php/docs/reference/cloud-asset/latest/V1.AnalyzeOrgPolicyGovernedContainersResponse#_Google_Cloud_Asset_V1_AnalyzeOrgPolicyGovernedContainersResponse__getGovernedContainers__).

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

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