Network Security v1 API - Class CreateGatewaySecurityPolicyRuleRequest (1.0.0-beta01)

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

Reference documentation and code samples for the Network Security v1 API class CreateGatewaySecurityPolicyRuleRequest.

Methods for GatewaySecurityPolicy RULES/GatewaySecurityPolicyRules. Request used by the CreateGatewaySecurityPolicyRule method.

Inheritance

object > CreateGatewaySecurityPolicyRuleRequest

Namespace

Google.Cloud.NetworkSecurity.V1

Assembly

Google.Cloud.NetworkSecurity.V1.dll

Constructors

CreateGatewaySecurityPolicyRuleRequest()

public CreateGatewaySecurityPolicyRuleRequest()

CreateGatewaySecurityPolicyRuleRequest(CreateGatewaySecurityPolicyRuleRequest)

public CreateGatewaySecurityPolicyRuleRequest(CreateGatewaySecurityPolicyRuleRequest other)
Parameter
Name Description
other CreateGatewaySecurityPolicyRuleRequest

Properties

GatewaySecurityPolicyRule

public GatewaySecurityPolicyRule GatewaySecurityPolicyRule { get; set; }

Required. The rule to be created.

Property Value
Type Description
GatewaySecurityPolicyRule

GatewaySecurityPolicyRuleId

public string GatewaySecurityPolicyRuleId { get; set; }

The ID to use for the rule, which will become the final component of the rule's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/*

Property Value
Type Description
string

ParentAsGatewaySecurityPolicyName

public GatewaySecurityPolicyName ParentAsGatewaySecurityPolicyName { get; set; }

GatewaySecurityPolicyName-typed view over the Parent resource name property.

Property Value
Type Description
GatewaySecurityPolicyName