Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis
- 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 move analysis results for an asset.
Instance Attribute Summary collapse
-
#analysis_groups ⇒ Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1MoveAnalysisGroup>
List of eligible analyses performed for the asset.
-
#asset ⇒ String
The full resource name of the asset being analyzed.
-
#asset_type ⇒ String
Type of the asset being analyzed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis
constructor
A new instance of GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis
Returns a new instance of GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis.
129 130 131 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 129 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analysis_groups ⇒ Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1MoveAnalysisGroup>
List of eligible analyses performed for the asset.
Corresponds to the JSON property analysisGroups
114 115 116 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 114 def analysis_groups @analysis_groups end |
#asset ⇒ String
The full resource name of the asset being analyzed. Example: //compute.
googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
Corresponds to the JSON property asset
120 121 122 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 120 def asset @asset end |
#asset_type ⇒ String
Type of the asset being analyzed. Possible values will be among the ones
listed here.
Corresponds to the JSON property assetType
127 128 129 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 127 def asset_type @asset_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
134 135 136 137 138 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 134 def update!(**args) @analysis_groups = args[:analysis_groups] if args.key?(:analysis_groups) @asset = args[:asset] if args.key?(:asset) @asset_type = args[:asset_type] if args.key?(:asset_type) end |