Class: Google::Apis::SecuritycenterV1beta2::Detection
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::Detection
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#binary ⇒ String
Corresponds to the JSON property
binary. -
#percent_pages_matched ⇒ Float
Corresponds to the JSON property
percentPagesMatched.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Detection
constructor
A new instance of Detection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Detection
Returns a new instance of Detection.
1810 1811 1812 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1810 def initialize(**args) update!(**args) end |
Instance Attribute Details
#binary ⇒ String
Corresponds to the JSON property binary
1803 1804 1805 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1803 def binary @binary end |
#percent_pages_matched ⇒ Float
Corresponds to the JSON property percentPagesMatched
1808 1809 1810 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1808 def percent_pages_matched @percent_pages_matched end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1815 1816 1817 1818 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1815 def update!(**args) @binary = args[:binary] if args.key?(:binary) @percent_pages_matched = args[:percent_pages_matched] if args.key?(:percent_pages_matched) end |