Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1MoveImpact

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

Represents the impact of moving the asset to the target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1MoveImpact

Returns a new instance of GoogleCloudAssuredworkloadsV1beta1MoveImpact.



315
316
317
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 315

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

Instance Attribute Details

#detailString

Explanation of the impact. Corresponds to the JSON property detail

Returns:

  • (String)


313
314
315
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 313

def detail
  @detail
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



320
321
322
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 320

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