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

Response containing the analysis results for the hypothetical resource move.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse

Returns a new instance of GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse.



95
96
97
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 95

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

Instance Attribute Details

#asset_move_analysesArray<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis>

List of analysis results for each asset in scope. Corresponds to the JSON property assetMoveAnalyses



81
82
83
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 81

def asset_move_analyses
  @asset_move_analyses
end

#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. This field is now deprecated. Corresponds to the JSON property blockers

Returns:

  • (Array<String>)


88
89
90
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 88

def blockers
  @blockers
end

#next_page_tokenString

The next page token. Is empty if the last page is reached. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


93
94
95
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 93

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



100
101
102
103
104
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 100

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