Google Cloud Appengine Admin V1 Client - Class CreateIngressRuleRequest (1.0.6)

Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class CreateIngressRuleRequest.

Request message for Firewall.CreateIngressRule.

Generated from protobuf message google.appengine.v1.CreateIngressRuleRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ rule Google\Cloud\AppEngine\V1\FirewallRule

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.

getParent

Name of the parent Firewall collection in which to create a new rule.

Example: apps/myapp/firewall/ingressRules.

Returns
TypeDescription
string

setParent

Name of the parent Firewall collection in which to create a new rule.

Example: apps/myapp/firewall/ingressRules.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

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.

Returns
TypeDescription
Google\Cloud\AppEngine\V1\FirewallRule|null

hasRule

clearRule

setRule

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.

Parameter
NameDescription
var Google\Cloud\AppEngine\V1\FirewallRule
Returns
TypeDescription
$this