Interface SecurityPolicyOrBuilder (2.50.0)

public interface SecurityPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

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

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getPreview()

public abstract boolean getPreview()

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

bool preview = 3;

Returns
Type Description
boolean

The preview.

getType()

public abstract String getType()

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’.

string type = 2;

Returns
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

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’.

string type = 2;

Returns
Type Description
ByteString

The bytes for type.