class Google::Apis::ComputeBeta::SecurityPolicyRuleHttpHeaderActionHttpHeaderOption
Attributes
header_name[RW]
The name of the header to set. Corresponds to the JSON property `headerName` @return [String]
header_value[RW]
The value to set the named header to. Corresponds to the JSON property `headerValue` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 31408 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_beta/classes.rb, line 31413 def update!(**args) @header_name = args[:header_name] if args.key?(:header_name) @header_value = args[:header_value] if args.key?(:header_value) end