Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1CustomOutputSpec

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

Overview

A set of optional name-value pairs that define custom source properties to return with each finding that is generated by the custom module. The custom source properties that are defined here are included in the finding JSON under sourceProperties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1CustomOutputSpec

Returns a new instance of GoogleCloudSecuritycenterV1CustomOutputSpec.



1694
1695
1696
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1694

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

Instance Attribute Details

#propertiesArray<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Property>

A list of custom output properties to add to the finding. Corresponds to the JSON property properties



1692
1693
1694
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1692

def properties
  @properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1699
1700
1701
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1699

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