Class: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionHeaderMatch
- Inherits:
-
Object
- Object
- Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionHeaderMatch
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkservices_v1/classes.rb,
lib/google/apis/networkservices_v1/representations.rb,
lib/google/apis/networkservices_v1/representations.rb
Overview
Determines how an HTTP header should be matched.
Instance Attribute Summary collapse
-
#name ⇒ String
Required.
-
#value ⇒ Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionStringMatch
Specifies matching logic for string values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExtensionBindingMatchConditionHeaderMatch
constructor
A new instance of ExtensionBindingMatchConditionHeaderMatch.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExtensionBindingMatchConditionHeaderMatch
Returns a new instance of ExtensionBindingMatchConditionHeaderMatch.
1157 1158 1159 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 1157 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required. Specifies the name of the header in the request.
Corresponds to the JSON property name
1150 1151 1152 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 1150 def name @name end |
#value ⇒ Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionStringMatch
Specifies matching logic for string values.
Corresponds to the JSON property value
1155 1156 1157 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 1155 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1162 1163 1164 1165 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 1162 def update!(**args) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |