Class: Google::Apis::SecuritycenterV1::CloudControl

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudControl

Returns a new instance of CloudControl.



1442
1443
1444
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1442

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cloud_control_nameString

Corresponds to the JSON property cloudControlName

Returns:

  • (String)


1425
1426
1427
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1425

def cloud_control_name
  @cloud_control_name
end

#policy_typeString

Corresponds to the JSON property policyType

Returns:

  • (String)


1430
1431
1432
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1430

def policy_type
  @policy_type
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


1435
1436
1437
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1435

def type
  @type
end

#versionFixnum

Corresponds to the JSON property version

Returns:

  • (Fixnum)


1440
1441
1442
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1440

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1447
1448
1449
1450
1451
1452
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1447

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