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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::CreateIngressRuleRequest (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-CreateIngressRuleRequest)\n- [1.2.1](/ruby/docs/reference/google-cloud-app_engine-v1/1.2.1/Google-Cloud-AppEngine-V1-CreateIngressRuleRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-app_engine-v1/1.1.0/Google-Cloud-AppEngine-V1-CreateIngressRuleRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-app_engine-v1/1.0.1/Google-Cloud-AppEngine-V1-CreateIngressRuleRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.10.0/Google-Cloud-AppEngine-V1-CreateIngressRuleRequest)\n- [0.9.2](/ruby/docs/reference/google-cloud-app_engine-v1/0.9.2/Google-Cloud-AppEngine-V1-CreateIngressRuleRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.8.0/Google-Cloud-AppEngine-V1-CreateIngressRuleRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.7.0/Google-Cloud-AppEngine-V1-CreateIngressRuleRequest)\n- [0.6.1](/ruby/docs/reference/google-cloud-app_engine-v1/0.6.1/Google-Cloud-AppEngine-V1-CreateIngressRuleRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.5.0/Google-Cloud-AppEngine-V1-CreateIngressRuleRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.4.0/Google-Cloud-AppEngine-V1-CreateIngressRuleRequest)\n- [0.3.6](/ruby/docs/reference/google-cloud-app_engine-v1/0.3.6/Google-Cloud-AppEngine-V1-CreateIngressRuleRequest) \nReference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::CreateIngressRuleRequest.\n\nRequest message for `Firewall.CreateIngressRule`. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Name of the parent Firewall collection in which to create a new rule. Example: `apps/myapp/firewall/ingressRules`.\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Name of the parent Firewall collection in which to create a new rule. Example: `apps/myapp/firewall/ingressRules`. \n**Returns**\n\n- (::String) --- Name of the parent Firewall collection in which to create a new rule. Example: `apps/myapp/firewall/ingressRules`.\n\n### #rule\n\n def rule() -\u003e ::Google::Cloud::AppEngine::V1::FirewallRule\n\n**Returns**\n\n- ([::Google::Cloud::AppEngine::V1::FirewallRule](./Google-Cloud-AppEngine-V1-FirewallRule)) --- A FirewallRule containing the new resource.\n\n\n The user may optionally provide a position at which the new rule will be\n placed. The positions define a sequential list starting at 1. If a rule\n already exists at the given position, rules greater than the provided\n position will be moved forward by one.\n\n If no position is provided, the server will place the rule as the second to\n last rule in the sequence before the required default allow-all or deny-all\n rule.\n\n### #rule=\n\n def rule=(value) -\u003e ::Google::Cloud::AppEngine::V1::FirewallRule\n\n**Parameter**\n\n- **value** ([::Google::Cloud::AppEngine::V1::FirewallRule](./Google-Cloud-AppEngine-V1-FirewallRule)) --- A FirewallRule containing the new resource.\n\n\n The user may optionally provide a position at which the new rule will be\n placed. The positions define a sequential list starting at 1. If a rule\n already exists at the given position, rules greater than the provided\n position will be moved forward by one.\n\n If no position is provided, the server will place the rule as the second to\n last rule in the sequence before the required default allow-all or deny-all\nrule. \n**Returns**\n\n- ([::Google::Cloud::AppEngine::V1::FirewallRule](./Google-Cloud-AppEngine-V1-FirewallRule)) --- A FirewallRule containing the new resource.\n\n\n The user may optionally provide a position at which the new rule will be\n placed. The positions define a sequential list starting at 1. If a rule\n already exists at the given position, rules greater than the provided\n position will be moved forward by one.\n\n If no position is provided, the server will place the rule as the second to\n last rule in the sequence before the required default allow-all or deny-all\n rule."]]