# Google Cloud Asset Inventory v1 API - Class AnalyzeOrgPoliciesResponse (3.14.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [3.14.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [3.13.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.13.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [3.12.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.12.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [3.11.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.11.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [3.10.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.10.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [3.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.9.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [3.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.8.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [3.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.7.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [3.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.6.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [3.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.5.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.4.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.3.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.2.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.1.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.0.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [2.11.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/2.11.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [2.10.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/2.10.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [2.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/2.9.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/2.8.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/2.7.0/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)

    public sealed class AnalyzeOrgPoliciesResponse : IMessage<AnalyzeOrgPoliciesResponse>, IEquatable<AnalyzeOrgPoliciesResponse>, IDeepCloneable<AnalyzeOrgPoliciesResponse>, IBufferMessage, IMessage, IPageResponse<AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult>, IEnumerable<AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult>, IEnumerable

Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class AnalyzeOrgPoliciesResponse.

The response message for
\[AssetService.AnalyzeOrgPolicies\]\[google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AnalyzeOrgPoliciesResponse

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AnalyzeOrgPoliciesResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AnalyzeOrgPoliciesResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AnalyzeOrgPoliciesResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html), [IPageResponse](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.html)[AnalyzeOrgPoliciesResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types)[OrgPolicyResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[AnalyzeOrgPoliciesResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types)[OrgPolicyResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Asset.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1)

## Assembly

Google.Cloud.Asset.V1.dll

## Constructors

### AnalyzeOrgPoliciesResponse()

    public AnalyzeOrgPoliciesResponse()

### AnalyzeOrgPoliciesResponse(AnalyzeOrgPoliciesResponse)

    public AnalyzeOrgPoliciesResponse(AnalyzeOrgPoliciesResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse` |

## Properties

### Constraint

    public AnalyzerOrgPolicyConstraint Constraint { get; set; }

The definition of the constraint in the request.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint` |   |

### NextPageToken

    public string NextPageToken { get; set; }

The page token to fetch the next page for
\[AnalyzeOrgPoliciesResponse.org_policy_results\]\[google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### OrgPolicyResults

    public RepeatedField<AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult> OrgPolicyResults { get; }

The organization policies under the
\[AnalyzeOrgPoliciesRequest.scope\]\[google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope\]
with the
\[AnalyzeOrgPoliciesRequest.constraint\]\[google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult` |   |

## Methods

### GetEnumerator()

    public IEnumerator<AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerator-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult` |   |