Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1MoveAnalysisResult

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

Represents the successful move analysis results for a group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1MoveAnalysisResult

Returns a new instance of GoogleCloudAssuredworkloadsV1MoveAnalysisResult.



288
289
290
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 288

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

Instance Attribute Details

#blockersArray<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1MoveImpact>

List of blockers. If not resolved, these will result in compliance violations in the target. Corresponds to the JSON property blockers



280
281
282
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 280

def blockers
  @blockers
end

#warningsArray<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1MoveImpact>

List of warnings. These are risks that may or may not result in compliance violations. Corresponds to the JSON property warnings



286
287
288
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 286

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



293
294
295
296
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 293

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