Google Cloud Audit API - Class OrgPolicyViolationInfo (2.4.0)

public sealed class OrgPolicyViolationInfo : IMessage<OrgPolicyViolationInfo>, IEquatable<OrgPolicyViolationInfo>, IDeepCloneable<OrgPolicyViolationInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Audit API class OrgPolicyViolationInfo.

Represents OrgPolicy Violation information.

Inheritance

object > OrgPolicyViolationInfo

Namespace

Google.Cloud.Audit

Assembly

Google.Cloud.Audit.dll

Constructors

OrgPolicyViolationInfo()

public OrgPolicyViolationInfo()

OrgPolicyViolationInfo(OrgPolicyViolationInfo)

public OrgPolicyViolationInfo(OrgPolicyViolationInfo other)
Parameter
Name Description
other OrgPolicyViolationInfo

Properties

Payload

public Struct Payload { get; set; }

Optional. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request. This payload should not contain any core content.

Property Value
Type Description
Struct

ResourceTags

public MapField<string, string> ResourceTags { get; }

Optional. Tags referenced on the resource at the time of evaluation. These also include the federated tags, if they are supplied in the CheckOrgPolicy or CheckCustomConstraints Requests.

Optional field as of now. These tags are the Cloud tags that are available on the resource during the policy evaluation and will be available as part of the OrgPolicy check response for logging purposes.

Property Value
Type Description
MapFieldstringstring

ResourceType

public string ResourceType { get; set; }

Optional. Resource type that the orgpolicy is checked against. Example: compute.googleapis.com/Instance, store.googleapis.com/bucket

Property Value
Type Description
string

ViolationInfo

public RepeatedField<ViolationInfo> ViolationInfo { get; }

Optional. Policy violations

Property Value
Type Description
RepeatedFieldViolationInfo