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

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

Conditions to match against the incoming request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#from

def from() -> ::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::From
Returns

#from=

def from=(value) -> ::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::From
Parameter
Returns

#to

def to() -> ::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::To
Returns

#to=

def to=(value) -> ::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::To
Parameter
Returns

#when

def when() -> ::String
Returns
  • (::String) — Optional. CEL expression that describes the conditions to be satisfied for the action. The result of the CEL expression is ANDed with the from and to. Refer to the CEL language reference for a list of available attributes.

#when=

def when=(value) -> ::String
Parameter
  • value (::String) — Optional. CEL expression that describes the conditions to be satisfied for the action. The result of the CEL expression is ANDed with the from and to. Refer to the CEL language reference for a list of available attributes.
Returns
  • (::String) — Optional. CEL expression that describes the conditions to be satisfied for the action. The result of the CEL expression is ANDed with the from and to. Refer to the CEL language reference for a list of available attributes.