Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudControl
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudControl
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Overview
CloudControl associated with the finding.
Instance Attribute Summary collapse
-
#cloud_control_name ⇒ String
Name of the CloudControl associated with the finding.
-
#policy_type ⇒ String
Policy type of the CloudControl Corresponds to the JSON property
policyType. -
#type ⇒ String
Type of cloud control.
-
#version ⇒ Fixnum
Version of the Cloud Control Corresponds to the JSON property
version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2CloudControl
constructor
A new instance of GoogleCloudSecuritycenterV2CloudControl.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2CloudControl
Returns a new instance of GoogleCloudSecuritycenterV2CloudControl.
5357 5358 5359 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5357 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_control_name ⇒ String
Name of the CloudControl associated with the finding.
Corresponds to the JSON property cloudControlName
5340 5341 5342 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5340 def cloud_control_name @cloud_control_name end |
#policy_type ⇒ String
Policy type of the CloudControl
Corresponds to the JSON property policyType
5345 5346 5347 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5345 def policy_type @policy_type end |
#type ⇒ String
Type of cloud control.
Corresponds to the JSON property type
5350 5351 5352 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5350 def type @type end |
#version ⇒ Fixnum
Version of the Cloud Control
Corresponds to the JSON property version
5355 5356 5357 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5355 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5362 5363 5364 5365 5366 5367 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5362 def update!(**args) @cloud_control_name = args[:cloud_control_name] if args.key?(:cloud_control_name) @policy_type = args[:policy_type] if args.key?(:policy_type) @type = args[:type] if args.key?(:type) @version = args[:version] if args.key?(:version) end |