Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Detection

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Detection

Returns a new instance of GoogleCloudSecuritycenterV2Detection.



6300
6301
6302
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6300

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

Instance Attribute Details

#binaryString

Corresponds to the JSON property binary

Returns:

  • (String)


6293
6294
6295
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6293

def binary
  @binary
end

#percent_pages_matchedFloat

Corresponds to the JSON property percentPagesMatched

Returns:

  • (Float)


6298
6299
6300
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6298

def percent_pages_matched
  @percent_pages_matched
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6305
6306
6307
6308
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6305

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