Class: Google::Apis::WebsecurityscannerV1::VulnerableHeaders
- Inherits:
-
Object
- Object
- Google::Apis::WebsecurityscannerV1::VulnerableHeaders
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/websecurityscanner_v1/classes.rb,
lib/google/apis/websecurityscanner_v1/representations.rb,
lib/google/apis/websecurityscanner_v1/representations.rb
Overview
Information about vulnerable or missing HTTP Headers.
Instance Attribute Summary collapse
-
#headers ⇒ Array<Google::Apis::WebsecurityscannerV1::Header>
List of vulnerable headers.
-
#missing_headers ⇒ Array<Google::Apis::WebsecurityscannerV1::Header>
List of missing headers.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VulnerableHeaders
constructor
A new instance of VulnerableHeaders.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VulnerableHeaders
Returns a new instance of VulnerableHeaders.
941 942 943 |
# File 'lib/google/apis/websecurityscanner_v1/classes.rb', line 941 def initialize(**args) update!(**args) end |
Instance Attribute Details
#headers ⇒ Array<Google::Apis::WebsecurityscannerV1::Header>
List of vulnerable headers.
Corresponds to the JSON property headers
934 935 936 |
# File 'lib/google/apis/websecurityscanner_v1/classes.rb', line 934 def headers @headers end |
#missing_headers ⇒ Array<Google::Apis::WebsecurityscannerV1::Header>
List of missing headers.
Corresponds to the JSON property missingHeaders
939 940 941 |
# File 'lib/google/apis/websecurityscanner_v1/classes.rb', line 939 def missing_headers @missing_headers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
946 947 948 949 |
# File 'lib/google/apis/websecurityscanner_v1/classes.rb', line 946 def update!(**args) @headers = args[:headers] if args.key?(:headers) @missing_headers = args[:missing_headers] if args.key?(:missing_headers) end |