Google Cloud Asset Inventory v1 API - Class AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset (3.11.0)

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

Namespace

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 AnalyzeOrgPolicyGovernedAssetsResponseTypesGovernedAsset

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.

Property Value
Type Description
AnalyzerOrgPolicy

GovernedAssetCase

public AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset.GovernedAssetOneofCase GovernedAssetCase { get; }
Property Value
Type Description
AnalyzeOrgPolicyGovernedAssetsResponseTypesGovernedAssetGovernedAssetOneofCase

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
AnalyzeOrgPolicyGovernedAssetsResponseTypesGovernedIamPolicy

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
AnalyzeOrgPolicyGovernedAssetsResponseTypesGovernedResource

PolicyBundle

public RepeatedField<AnalyzerOrgPolicy> PolicyBundle { get; }

The ordered list of all organization policies from the [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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
RepeatedFieldAnalyzerOrgPolicy