Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1MoveAnalysisResult

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 successful move analysis results for a group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1MoveAnalysisResult



402
403
404
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 402

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

Instance Attribute Details

#blockersArray<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1MoveImpact>

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



394
395
396
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 394

def blockers
  @blockers
end

#warningsArray<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1MoveImpact>

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



400
401
402
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 400

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



407
408
409
410
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 407

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