Class: Google::Apis::WebsecurityscannerV1beta::Form

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/websecurityscanner_v1beta/classes.rb,
lib/google/apis/websecurityscanner_v1beta/representations.rb,
lib/google/apis/websecurityscanner_v1beta/representations.rb

Overview

! Information about a vulnerability with an HTML.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Form

Returns a new instance of Form.



308
309
310
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 308

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)


301
302
303
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 301

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>)


306
307
308
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 306

def fields
  @fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



313
314
315
316
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 313

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