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
Instance Attribute Summary collapse
-
#cloud_control_name ⇒ String
Corresponds to the JSON property
cloudControlName. -
#policy_type ⇒ String
Corresponds to the JSON property
policyType. -
#type ⇒ String
Corresponds to the JSON property
type. -
#version ⇒ Fixnum
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.
1367 1368 1369 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1367 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_control_name ⇒ String
Corresponds to the JSON property cloudControlName
1350 1351 1352 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1350 def cloud_control_name @cloud_control_name end |
#policy_type ⇒ String
Corresponds to the JSON property policyType
1355 1356 1357 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1355 def policy_type @policy_type end |
#type ⇒ String
Corresponds to the JSON property type
1360 1361 1362 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1360 def type @type end |
#version ⇒ Fixnum
Corresponds to the JSON property version
1365 1366 1367 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1365 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1372 1373 1374 1375 1376 1377 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1372 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 |