Class: Google::Apis::SecuritycenterV1::SimulateSecurityHealthAnalyticsCustomModuleResponse

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

Overview

Response message for simulating a SecurityHealthAnalyticsCustomModule against a given resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SimulateSecurityHealthAnalyticsCustomModuleResponse

Returns a new instance of SimulateSecurityHealthAnalyticsCustomModuleResponse.



9927
9928
9929
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9927

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

Instance Attribute Details

#resultGoogle::Apis::SecuritycenterV1::SimulatedResult

Possible test result. Corresponds to the JSON property result



9925
9926
9927
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9925

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9932
9933
9934
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9932

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