Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/assuredworkloads_v1/classes.rb,
lib/google/apis/assuredworkloads_v1/representations.rb,
lib/google/apis/assuredworkloads_v1/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) ⇒ GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse

Returns a new instance of GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse.



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

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

Instance Attribute Details

#asset_move_analysesArray<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1AssetMoveAnalysis>

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



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

def asset_move_analyses
  @asset_move_analyses
end

#next_page_tokenString

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

Returns:

  • (String)


86
87
88
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 86

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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