Security Command Center v2 API - Class SecurityPolicy (1.0.0-beta04)

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

Reference documentation and code samples for the Security Command Center v2 API class SecurityPolicy.

Information about the Google Cloud Armor security policy relevant to the finding.

Inheritance

object > SecurityPolicy

Namespace

Google.Cloud.SecurityCenter.V2

Assembly

Google.Cloud.SecurityCenter.V2.dll

Constructors

SecurityPolicy()

public SecurityPolicy()

SecurityPolicy(SecurityPolicy)

public SecurityPolicy(SecurityPolicy other)
Parameter
Name Description
other SecurityPolicy

Properties

Name

public string Name { get; set; }

The name of the Google Cloud Armor security policy, for example, "my-security-policy".

Property Value
Type Description
string

Preview

public bool Preview { get; set; }

Whether or not the associated rule or policy is in preview mode.

Property Value
Type Description
bool

Type

public string Type { get; set; }

The type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.

Property Value
Type Description
string