Google Cloud Audit API - Class OrgPolicyViolationInfo (2.1.0)

Stay organized with collections Save and categorize content based on your preferences.
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
NameDescription
otherOrgPolicyViolationInfo

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
TypeDescription
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
TypeDescription
MapField<String, String>

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
TypeDescription
String

ViolationInfo

public RepeatedField<ViolationInfo> ViolationInfo { get; }

Optional. Policy violations

Property Value
TypeDescription
RepeatedField<ViolationInfo>