Interface CreateIngressRuleRequestOrBuilder (2.43.0)

public interface CreateIngressRuleRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules.

string parent = 1;

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules.

string parent = 1;

Returns
Type Description
ByteString

The bytes for parent.

getRule()

public abstract FirewallRule getRule()

A FirewallRule containing the new resource.

The user may optionally provide a position at which the new rule will be placed. The positions define a sequential list starting at 1. If a rule already exists at the given position, rules greater than the provided position will be moved forward by one.

If no position is provided, the server will place the rule as the second to last rule in the sequence before the required default allow-all or deny-all rule.

.google.appengine.v1.FirewallRule rule = 2;

Returns
Type Description
FirewallRule

The rule.

getRuleOrBuilder()

public abstract FirewallRuleOrBuilder getRuleOrBuilder()

A FirewallRule containing the new resource.

The user may optionally provide a position at which the new rule will be placed. The positions define a sequential list starting at 1. If a rule already exists at the given position, rules greater than the provided position will be moved forward by one.

If no position is provided, the server will place the rule as the second to last rule in the sequence before the required default allow-all or deny-all rule.

.google.appengine.v1.FirewallRule rule = 2;

Returns
Type Description
FirewallRuleOrBuilder

hasRule()

public abstract boolean hasRule()

A FirewallRule containing the new resource.

The user may optionally provide a position at which the new rule will be placed. The positions define a sequential list starting at 1. If a rule already exists at the given position, rules greater than the provided position will be moved forward by one.

If no position is provided, the server will place the rule as the second to last rule in the sequence before the required default allow-all or deny-all rule.

.google.appengine.v1.FirewallRule rule = 2;

Returns
Type Description
boolean

Whether the rule field is set.