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.



1510
1511
1512
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1510

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

Instance Attribute Details

#control_idString

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

Returns:

  • (String)


1503
1504
1505
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1503

def control_id
  @control_id
end

#frameworkString

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

Returns:

  • (String)


1508
1509
1510
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1508

def framework
  @framework
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1515
1516
1517
1518
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1515

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