Network Security V1 API - Class Google::Cloud::NetworkSecurity::V1::CreateGatewaySecurityPolicyRuleRequest (v0.1.0)

Reference documentation and code samples for the Network Security V1 API class Google::Cloud::NetworkSecurity::V1::CreateGatewaySecurityPolicyRuleRequest.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#gateway_security_policy_rule

def gateway_security_policy_rule() -> ::Google::Cloud::NetworkSecurity::V1::GatewaySecurityPolicyRule
Returns

#gateway_security_policy_rule=

def gateway_security_policy_rule=(value) -> ::Google::Cloud::NetworkSecurity::V1::GatewaySecurityPolicyRule
Parameter
Returns

#gateway_security_policy_rule_id

def gateway_security_policy_rule_id() -> ::String
Returns
  • (::String) — 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]-/.

#gateway_security_policy_rule_id=

def gateway_security_policy_rule_id=(value) -> ::String
Parameter
  • value (::String) — 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]-/.
Returns
  • (::String) — 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]-/.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/*

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/*
Returns
  • (::String) — Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/*