Interface GetRuleSecurityPolicyRequestOrBuilder (1.21.0)

See more code actions.
public interface GetRuleSecurityPolicyRequestOrBuilder extends MessageOrBuilder
MessageOrBuilder
public abstract int getPriority()

The priority of the rule to get from the security policy.

optional int32 priority = 445151652;

Returns
TypeDescription
int

The priority.

getProject()

public abstract String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for project.

getSecurityPolicy()

public abstract String getSecurityPolicy()

Name of the security policy to which the queried rule belongs.

string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The securityPolicy.

getSecurityPolicyBytes()

public abstract ByteString getSecurityPolicyBytes()

Name of the security policy to which the queried rule belongs.

string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for securityPolicy.

hasPriority()

public abstract boolean hasPriority()

The priority of the rule to get from the security policy.

optional int32 priority = 445151652;

Returns
TypeDescription
boolean

Whether the priority field is set.