Class: Google::Apis::WebsecurityscannerV1alpha::VulnerableHeaders
- Inherits:
-
Object
- Object
- Google::Apis::WebsecurityscannerV1alpha::VulnerableHeaders
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/websecurityscanner_v1alpha/classes.rb,
generated/google/apis/websecurityscanner_v1alpha/representations.rb,
generated/google/apis/websecurityscanner_v1alpha/representations.rb
Overview
Information about vulnerable or missing HTTP Headers.
Instance Attribute Summary collapse
-
#headers ⇒ Array<Google::Apis::WebsecurityscannerV1alpha::Header>
List of vulnerable headers.
-
#missing_headers ⇒ Array<Google::Apis::WebsecurityscannerV1alpha::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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VulnerableHeaders
Returns a new instance of VulnerableHeaders
767 768 769 |
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 767 def initialize(**args) update!(**args) end |
Instance Attribute Details
#headers ⇒ Array<Google::Apis::WebsecurityscannerV1alpha::Header>
List of vulnerable headers.
Corresponds to the JSON property headers
760 761 762 |
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 760 def headers @headers end |
#missing_headers ⇒ Array<Google::Apis::WebsecurityscannerV1alpha::Header>
List of missing headers.
Corresponds to the JSON property missingHeaders
765 766 767 |
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 765 def missing_headers @missing_headers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
772 773 774 775 |
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 772 def update!(**args) @headers = args[:headers] if args.key?(:headers) @missing_headers = args[:missing_headers] if args.key?(:missing_headers) end |