Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse

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

A response that includes the analysis of the hypothetical resource move.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse

Returns a new instance of GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse.



78
79
80
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 78

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

Instance Attribute Details

#blockersArray<String>

A list of blockers that should be addressed before moving the source project or project-based workload to the destination folder-based workload. Corresponds to the JSON property blockers

Returns:

  • (Array<String>)


76
77
78
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 76

def blockers
  @blockers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



83
84
85
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 83

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