Class: Google::Apis::CloudassetV1::MoveAnalysisResult
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::MoveAnalysisResult
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb
Overview
An analysis result including blockers and warnings.
Instance Attribute Summary collapse
-
#blockers ⇒ Array<Google::Apis::CloudassetV1::MoveImpact>
Blocking information that would prevent the target resource from moving to the specified destination at runtime.
-
#warnings ⇒ Array<Google::Apis::CloudassetV1::MoveImpact>
Warning information indicating that moving the target resource to the specified destination might be unsafe.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MoveAnalysisResult
constructor
A new instance of MoveAnalysisResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MoveAnalysisResult
Returns a new instance of MoveAnalysisResult.
4378 4379 4380 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4378 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blockers ⇒ Array<Google::Apis::CloudassetV1::MoveImpact>
Blocking information that would prevent the target resource from moving to the
specified destination at runtime.
Corresponds to the JSON property blockers
4369 4370 4371 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4369 def blockers @blockers end |
#warnings ⇒ Array<Google::Apis::CloudassetV1::MoveImpact>
Warning information indicating that moving the target resource to the
specified destination might be unsafe. This can include important policy
information and configuration changes, but will not block moves at runtime.
Corresponds to the JSON property warnings
4376 4377 4378 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4376 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4383 4384 4385 4386 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4383 def update!(**args) @blockers = args[:blockers] if args.key?(:blockers) @warnings = args[:warnings] if args.key?(:warnings) end |