Show / Hide Table of Contents

Class AnalyzerOrgPolicy

This organization policy message is a modified version of the one defined in the Organization Policy system. This message contains several fields defined in the original organization policy with some new fields for analysis purpose.

Inheritance
object
AnalyzerOrgPolicy
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudAsset.v1.Data
Assembly: Google.Apis.CloudAsset.v1.dll
Syntax
public class AnalyzerOrgPolicy : IDirectResponseSchema

Properties

AppliedResource

The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource where this organization policy applies to. For any user defined org policies, this field has the same value as the [attached_resource] field. Only for default policy, this field has the different value.

Declaration
[JsonProperty("appliedResource")]
public virtual string AppliedResource { get; set; }
Property Value
Type Description
string

AttachedResource

The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource where this organization policy is set. Notice that some type of constraints are defined with default policy. This field will be empty for them.

Declaration
[JsonProperty("attachedResource")]
public virtual string AttachedResource { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

InheritFromParent

If inherit_from_parent is true, Rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the effective root for evaluation.

Declaration
[JsonProperty("inheritFromParent")]
public virtual bool? InheritFromParent { get; set; }
Property Value
Type Description
bool?

Reset

Ignores policies set above this resource and restores the default behavior of the constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, rules must be empty and inherit_from_parent must be set to false.

Declaration
[JsonProperty("reset")]
public virtual bool? Reset { get; set; }
Property Value
Type Description
bool?

Rules

List of rules for this organization policy.

Declaration
[JsonProperty("rules")]
public virtual IList<GoogleCloudAssetV1Rule> Rules { get; set; }
Property Value
Type Description
IList<GoogleCloudAssetV1Rule>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX