Reference documentation and code samples for the Network Security V1 API class Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::HeaderMatch.
Determines how a HTTP header should be matched.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Optional. Specifies the name of the header in the request.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Optional. Specifies the name of the header in the request.
Returns
- (::String) — Optional. Specifies the name of the header in the request.
#value
def value() -> ::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::StringMatch
Returns
- (::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::StringMatch) — Optional. Specifies how the header match will be performed.
#value=
def value=(value) -> ::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::StringMatch
Parameter
- value (::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::StringMatch) — Optional. Specifies how the header match will be performed.
Returns
- (::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::StringMatch) — Optional. Specifies how the header match will be performed.