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

Returns a new instance of GoogleCloudAssuredworkloadsV1beta1MoveAnalysisResult.



308
309
310
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 308

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



300
301
302
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 300

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



306
307
308
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 306

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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