Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1SimilarControls

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

Overview

The similar controls.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1SimilarControls

Returns a new instance of GoogleCloudAssuredworkloadsV1beta1SimilarControls.



1525
1526
1527
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 1525

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

Instance Attribute Details

#control_idString

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

Returns:

  • (String)


1518
1519
1520
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 1518

def control_id
  @control_id
end

#frameworkString

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

Returns:

  • (String)


1523
1524
1525
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 1523

def framework
  @framework
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1530
1531
1532
1533
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 1530

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