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

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

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

Represents a Google Cloud asset(resource or IAM policy) 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.GovernedAsset

## 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)[GovernedAsset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset), [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)[GovernedAsset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset), [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)[GovernedAsset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset), [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

### GovernedAsset()

    public GovernedAsset()

### GovernedAsset(GovernedAsset)

    public GovernedAsset(AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset 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.GovernedAsset` |

## Properties

### ConsolidatedPolicy

    public AnalyzerOrgPolicy ConsolidatedPolicy { get; set; }

The consolidated policy for the analyzed asset. The consolidated
policy is computed by merging and evaluating
\[AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle\]\[google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle\].
The evaluation will respect the organization policy [hierarchy
rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).

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

### GovernedAssetCase

    public AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset.GovernedAssetOneofCase GovernedAssetCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `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.GovernedAssethttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset.GovernedAssetOneofCase` |   |

### GovernedIamPolicy

    public AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy GovernedIamPolicy { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `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` |   |

### GovernedResource

    public AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedResource GovernedResource { get; set; }

A Google Cloud resource governed by the organization
policies of the
\[AnalyzeOrgPolicyGovernedAssetsRequest.constraint\]\[google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `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.GovernedResource` |   |

### PolicyBundle

    public RepeatedField<AnalyzerOrgPolicy> PolicyBundle { get; }

The ordered list of all organization policies from the
\[consolidated_policy.attached_resource\]\[google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource\]
to the scope specified in the request.

If the constraint is defined with default policy, it will also appear in
the list.

| **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.AnalyzerOrgPolicy` |   |