Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1SimilarControls
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1SimilarControls
- 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
-
#control_id ⇒ String
The ID of the control.
-
#framework ⇒ String
The name of the framework.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1SimilarControls
constructor
A new instance of GoogleCloudAssuredworkloadsV1SimilarControls.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
The ID of the control.
Corresponds to the JSON property controlId
1544 1545 1546 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1544 def control_id @control_id end |
#framework ⇒ String
The name of the framework.
Corresponds to the JSON property framework
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 |