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
Namespace
Google \ Cloud \ AppEngine \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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: |
↳ rule |
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 | |
---|---|
Type | Description |
string |
setParent
Name of the parent Firewall collection in which to create a new rule.
Example: apps/myapp/firewall/ingressRules
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
FirewallRule
|
Returns | |
---|---|
Type | Description |
$this |