Class: Google::Apis::SecuritycenterV1::SimulateSecurityHealthAnalyticsCustomModuleRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SimulateSecurityHealthAnalyticsCustomModuleRequest

Returns a new instance of SimulateSecurityHealthAnalyticsCustomModuleRequest.



12891
12892
12893
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12891

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

Instance Attribute Details

#custom_configGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig

Corresponds to the JSON property customConfig



12884
12885
12886
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12884

def custom_config
  @custom_config
end

#resourceGoogle::Apis::SecuritycenterV1::SimulatedResource

Corresponds to the JSON property resource



12889
12890
12891
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12889

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12896
12897
12898
12899
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12896

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