Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1MoveImpact
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1MoveImpact
- 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
Represents the impact of moving the asset to the target.
Instance Attribute Summary collapse
-
#detail ⇒ String
Explanation of the impact.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1MoveImpact
constructor
A new instance of GoogleCloudAssuredworkloadsV1beta1MoveImpact.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1MoveImpact
Returns a new instance of GoogleCloudAssuredworkloadsV1beta1MoveImpact.
328 329 330 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 328 def initialize(**args) update!(**args) end |
Instance Attribute Details
#detail ⇒ String
Explanation of the impact.
Corresponds to the JSON property detail
326 327 328 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 326 def detail @detail end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
333 334 335 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 333 def update!(**args) @detail = args[:detail] if args.key?(:detail) end |