Class: Google::Apis::WebsecurityscannerV1::Form
- Inherits:
-
Object
- Object
- Google::Apis::WebsecurityscannerV1::Form
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/websecurityscanner_v1/classes.rb,
generated/google/apis/websecurityscanner_v1/representations.rb,
generated/google/apis/websecurityscanner_v1/representations.rb
Overview
! Information about a vulnerability with an HTML.
Instance Attribute Summary collapse
-
#action_uri ⇒ String
! The URI where to send the form when it's submitted.
-
#fields ⇒ Array<String>
! The names of form fields related to the vulnerability.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Form
constructor
A new instance of Form.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Form
Returns a new instance of Form.
306 307 308 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 306 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_uri ⇒ String
! The URI where to send the form when it's submitted.
Corresponds to the JSON property actionUri
299 300 301 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 299 def action_uri @action_uri end |
#fields ⇒ Array<String>
! The names of form fields related to the vulnerability.
Corresponds to the JSON property fields
304 305 306 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 304 def fields @fields end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
311 312 313 314 |
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 311 def update!(**args) @action_uri = args[:action_uri] if args.key?(:action_uri) @fields = args[:fields] if args.key?(:fields) end |