Class: Google::Apis::WebsecurityscannerV1alpha::VulnerableParameters

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

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

Returns a new instance of VulnerableParameters



780
781
782
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 780

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

Instance Attribute Details

#parameter_namesArray<String>

The vulnerable parameter names. Corresponds to the JSON property parameterNames

Returns:

  • (Array<String>)


778
779
780
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 778

def parameter_names
  @parameter_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



785
786
787
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 785

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