Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Detection
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Detection
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/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) ⇒ GoogleCloudSecuritycenterV2Detection
constructor
A new instance of GoogleCloudSecuritycenterV2Detection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Detection
Returns a new instance of GoogleCloudSecuritycenterV2Detection.
6033 6034 6035 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6033 def initialize(**args) update!(**args) end |
Instance Attribute Details
#binary ⇒ String
Corresponds to the JSON property binary
6026 6027 6028 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6026 def binary @binary end |
#percent_pages_matched ⇒ Float
Corresponds to the JSON property percentPagesMatched
6031 6032 6033 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6031 def percent_pages_matched @percent_pages_matched end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6038 6039 6040 6041 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6038 def update!(**args) @binary = args[:binary] if args.key?(:binary) @percent_pages_matched = args[:percent_pages_matched] if args.key?(:percent_pages_matched) end |