# Google Cloud Asset Inventory v1 API - Class AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy (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.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [3.13.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.13.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [3.12.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.12.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [3.11.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.11.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [3.10.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.10.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [3.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.9.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [3.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.8.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [3.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.7.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [3.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.6.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [3.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.5.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.4.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.3.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.2.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.1.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/3.0.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [2.11.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/2.11.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [2.10.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/2.10.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [2.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/2.9.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/2.8.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/2.7.0/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)

    public sealed class AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy : IMessage<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy>, IEquatable<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy>, IDeepCloneable<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy.

The IAM policies governed by the organization policies of the
\[AnalyzeOrgPolicyGovernedAssetsRequest.constraint\]\[google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint\].

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AnalyzeOrgPolicyGovernedAssetsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types)[GovernedIamPolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AnalyzeOrgPolicyGovernedAssetsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types)[GovernedIamPolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AnalyzeOrgPolicyGovernedAssetsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types)[GovernedIamPolicy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy), [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)

## 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

### GovernedIamPolicy()

    public GovernedIamPolicy()

### GovernedIamPolicy(GovernedIamPolicy)

    public GovernedIamPolicy(AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy` |

## Properties

### AssetType

    public string AssetType { get; set; }

The asset type of the
\[AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource\]\[google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource\].
Example:
`cloudresourcemanager.googleapis.com/Project`
See [Cloud Asset Inventory Supported Asset
Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
for all supported asset types.

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

### AttachedResource

    public string AttachedResource { get; set; }

The full resource name of the resource on which this IAM policy is set.
Example:
`//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
See [Cloud Asset Inventory Resource Name
Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
for more information.

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

### Folders

    public RepeatedField<string> Folders { get; }

The folder(s) that this IAM policy belongs to, in the format of
folders/{FOLDER_NUMBER}. This field is available when the IAM policy
belongs (directly or cascadingly) to one or more folders.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Organization

    public string Organization { get; set; }

The organization that this IAM policy belongs to, in the format of
organizations/{ORGANIZATION_NUMBER}. This field is available when the
IAM policy belongs (directly or cascadingly) to an organization.

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

### Policy

    public Policy Policy { get; set; }

The IAM policy directly set on the given resource.

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

### Project

    public string Project { get; set; }

The project that this IAM policy belongs to, in the format of
projects/{PROJECT_NUMBER}. This field is available when the IAM policy
belongs to a project.

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