Class: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionHeaderMatch

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#nameString

Required. Specifies the name of the header in the request. Corresponds to the JSON property name

Returns:

  • (String)


1150
1151
1152
# File 'lib/google/apis/networkservices_v1/classes.rb', line 1150

def name
  @name
end

#valueGoogle::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