App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::CreateIngressRuleRequest (v1.0.1)

Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::CreateIngressRuleRequest.

Request message for Firewall.CreateIngressRule.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parent

def parent() -> ::String
Returns
  • (::String) — Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules.
Returns
  • (::String) — Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules.

#rule

def rule() -> ::Google::Cloud::AppEngine::V1::FirewallRule
Returns
  • (::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.

#rule=

def rule=(value) -> ::Google::Cloud::AppEngine::V1::FirewallRule
Parameter
  • value (::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.

Returns
  • (::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.