public sealed class SecurityPolicy : IMessage<SecurityPolicy>, IEquatable<SecurityPolicy>, IDeepCloneable<SecurityPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Security Command Center v1 API class SecurityPolicy.
Information about the Google Cloud Armor security policy relevant to the finding.
Implements
IMessageSecurityPolicy, IEquatableSecurityPolicy, IDeepCloneableSecurityPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenter.V1Assembly
Google.Cloud.SecurityCenter.V1.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 |