Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1SimilarControls

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/assuredworkloads_v1/classes.rb,
lib/google/apis/assuredworkloads_v1/representations.rb,
lib/google/apis/assuredworkloads_v1/representations.rb

Overview

The similar controls.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1SimilarControls

Returns a new instance of GoogleCloudAssuredworkloadsV1SimilarControls.



1551
1552
1553
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1551

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

Instance Attribute Details

#control_idString

The ID of the control. Corresponds to the JSON property controlId

Returns:

  • (String)


1544
1545
1546
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1544

def control_id
  @control_id
end

#frameworkString

The name of the framework. Corresponds to the JSON property framework

Returns:

  • (String)


1549
1550
1551
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1549

def framework
  @framework
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1556
1557
1558
1559
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1556

def update!(**args)
  @control_id = args[:control_id] if args.key?(:control_id)
  @framework = args[:framework] if args.key?(:framework)
end