class Google::Apis::WebsecurityscannerV1beta::Header

Describes a HTTP Header.

Attributes

name[RW]

Header name. Corresponds to the JSON property `name` @return [String]

value[RW]

Header value. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/websecurityscanner_v1beta/classes.rb, line 354
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/websecurityscanner_v1beta/classes.rb, line 359
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @value = args[:value] if args.key?(:value)
end