Class: Google::Apis::SecuritycenterV1::CloudControl
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::CloudControl
- 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
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) ⇒ CloudControl
constructor
A new instance of CloudControl.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudControl
Returns a new instance of CloudControl.
1498 1499 1500 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1498 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
1481 1482 1483 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1481 def cloud_control_name @cloud_control_name end |
#policy_type ⇒ String
Policy type of the CloudControl
Corresponds to the JSON property policyType
1486 1487 1488 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1486 def policy_type @policy_type end |
#type ⇒ String
Type of cloud control.
Corresponds to the JSON property type
1491 1492 1493 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1491 def type @type end |
#version ⇒ Fixnum
Version of the Cloud Control
Corresponds to the JSON property version
1496 1497 1498 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1496 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1503 1504 1505 1506 1507 1508 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1503 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 |