Class CreateIngressRuleRequest (2.0.0)

public sealed class CreateIngressRuleRequest : IMessage<CreateIngressRuleRequest>, IEquatable<CreateIngressRuleRequest>, IDeepCloneable<CreateIngressRuleRequest>, IBufferMessage, IMessage

Request message for Firewall.CreateIngressRule.

Inheritance

Object > CreateIngressRuleRequest

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Constructors

CreateIngressRuleRequest()

public CreateIngressRuleRequest()

CreateIngressRuleRequest(CreateIngressRuleRequest)

public CreateIngressRuleRequest(CreateIngressRuleRequest other)
Parameter
NameDescription
otherCreateIngressRuleRequest

Properties

Parent

public string Parent { get; set; }

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

Property Value
TypeDescription
String

Rule

public FirewallRule Rule { get; set; }

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.

Property Value
TypeDescription
FirewallRule