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
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) ⇒ 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.
5118 5119 5120 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5118 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_control_name ⇒ String
Corresponds to the JSON property cloudControlName
5101 5102 5103 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5101 def cloud_control_name @cloud_control_name end |
#policy_type ⇒ String
Corresponds to the JSON property policyType
5106 5107 5108 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5106 def policy_type @policy_type end |
#type ⇒ String
Corresponds to the JSON property type
5111 5112 5113 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5111 def type @type end |
#version ⇒ Fixnum
Corresponds to the JSON property version
5116 5117 5118 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5116 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5123 5124 5125 5126 5127 5128 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5123 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 |