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
- (::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::From) — Optional. Describes properties of a source of a request.
#from=
def from=(value) -> ::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::From
Parameter
- value (::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::From) — Optional. Describes properties of a source of a request.
Returns
- (::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::From) — Optional. Describes properties of a source of a request.
#to
def to() -> ::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::To
Returns
- (::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::To) — Optional. Describes properties of a target of a request.
#to=
def to=(value) -> ::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::To
Parameter
- value (::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::To) — Optional. Describes properties of a target of a request.
Returns
- (::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::To) — Optional. Describes properties of a target of a request.
#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.