lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.26.0 vs lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.27.0
- old
+ new
@@ -1839,9 +1839,52 @@
@memory_hash_signature = args[:memory_hash_signature] if args.key?(:memory_hash_signature)
@yara_rule_signature = args[:yara_rule_signature] if args.key?(:yara_rule_signature)
end
end
+ # Resource capturing the settings for the Rapid Vulnerability Detection service.
+ class RapidVulnerabilityDetectionSettings
+ include Google::Apis::Core::Hashable
+
+ # The configurations including the state of enablement for the service's
+ # different modules. The absence of a module in the map implies its
+ # configuration is inherited from its parent's.
+ # Corresponds to the JSON property `modules`
+ # @return [Hash<String,Google::Apis::SecuritycenterV1beta2::Config>]
+ attr_accessor :modules
+
+ # The resource name of the RapidVulnerabilityDetectionSettings. Formats: *
+ # organizations/`organization`/rapidVulnerabilityDetectionSettings * folders/`
+ # folder`/rapidVulnerabilityDetectionSettings * projects/`project`/
+ # rapidVulnerabilityDetectionSettings
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ # The state of enablement for the service at its level of the resource hierarchy.
+ # A DISABLED state will override all module enablement_states to DISABLED.
+ # Corresponds to the JSON property `serviceEnablementState`
+ # @return [String]
+ attr_accessor :service_enablement_state
+
+ # Output only. The time the settings were last updated.
+ # Corresponds to the JSON property `updateTime`
+ # @return [String]
+ attr_accessor :update_time
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @modules = args[:modules] if args.key?(:modules)
+ @name = args[:name] if args.key?(:name)
+ @service_enablement_state = args[:service_enablement_state] if args.key?(:service_enablement_state)
+ @update_time = args[:update_time] if args.key?(:update_time)
+ end
+ end
+
# Additional Links
class Reference
include Google::Apis::Core::Hashable
# Source of the reference e.g. NVD