Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudControl
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudControl
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/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.
5305 5306 5307 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5305 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_control_name ⇒ String
Corresponds to the JSON property cloudControlName
5288 5289 5290 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5288 def cloud_control_name @cloud_control_name end |
#policy_type ⇒ String
Corresponds to the JSON property policyType
5293 5294 5295 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5293 def policy_type @policy_type end |
#type ⇒ String
Corresponds to the JSON property type
5298 5299 5300 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5298 def type @type end |
#version ⇒ Fixnum
Corresponds to the JSON property version
5303 5304 5305 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5303 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5310 5311 5312 5313 5314 5315 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5310 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 |