class Google::Apis::ComputeV1::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_v1/classes.rb, line 32149
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_v1/classes.rb, line 32154
def update!(**args)
  @header_name = args[:header_name] if args.key?(:header_name)
  @header_value = args[:header_value] if args.key?(:header_value)
end