Class: Google::Apis::WebsecurityscannerV1::Form

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Form

Returns a new instance of Form.



309
310
311
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 309

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#action_uriString

! The URI where to send the form when it's submitted. Corresponds to the JSON property actionUri

Returns:

  • (String)


302
303
304
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 302

def action_uri
  @action_uri
end

#fieldsArray<String>

! The names of form fields related to the vulnerability. Corresponds to the JSON property fields

Returns:

  • (Array<String>)


307
308
309
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 307

def fields
  @fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



314
315
316
317
# File 'generated/google/apis/websecurityscanner_v1/classes.rb', line 314

def update!(**args)
  @action_uri = args[:action_uri] if args.key?(:action_uri)
  @fields = args[:fields] if args.key?(:fields)
end