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

public sealed class 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(AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset)

public GovernedAsset(AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset other)
Parameter
NameDescription
otherAnalyzeOrgPolicyGovernedAssetsResponse.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.

Property Value
TypeDescription
AnalyzerOrgPolicy

GovernedAssetCase

public AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset.GovernedAssetOneofCase GovernedAssetCase { get; }
Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedResource

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
TypeDescription
RepeatedField<AnalyzerOrgPolicy>