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].
Implements
IMessage<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset>, IEquatable<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset>, IDeepCloneable<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset>, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
GovernedAsset()
public GovernedAsset()
GovernedAsset(AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset)
public GovernedAsset(AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset other)
Parameter | |
---|---|
Name | Description |
other | 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.
Property Value | |
---|---|
Type | Description |
AnalyzerOrgPolicy |
GovernedAssetCase
public AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedAsset.GovernedAssetOneofCase GovernedAssetCase { get; }
Property Value | |
---|---|
Type | Description |
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 |
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 |
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 | |
---|---|
Type | Description |
RepeatedField<AnalyzerOrgPolicy> |