Class: Google::Cloud::Asset::V1::AnalyzeMoveRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Asset::V1::AnalyzeMoveRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/asset/v1/asset_service.rb
Overview
The request message for performing resource move analysis.
Defined Under Namespace
Modules: AnalysisView
Instance Attribute Summary collapse
-
#destination_parent ⇒ ::String
Required.
-
#resource ⇒ ::String
Required.
-
#view ⇒ ::Google::Cloud::Asset::V1::AnalyzeMoveRequest::AnalysisView
Analysis view indicating what information should be included in the analysis response.
Instance Attribute Details
#destination_parent ⇒ ::String
Returns Required. Name of the GCP Folder or Organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified desitination parent. This can only be a Folder number (such as "folders/123") or an Organization number (such as "organizations/123").
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1247 class AnalyzeMoveRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # View enum for supporting partial analysis responses. module AnalysisView # The default/unset value. # The API will default to the FULL view. ANALYSIS_VIEW_UNSPECIFIED = 0 # Full analysis including all level of impacts of the specified resource # move. FULL = 1 # Basic analysis only including blockers which will prevent the specified # resource move at runtime. BASIC = 2 end end |
#resource ⇒ ::String
Returns Required. Name of the resource to perform the analysis against. Only GCP Project are supported as of today. Hence, this can only be Project ID (such as "projects/my-project-id") or a Project Number (such as "projects/12345").
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1247 class AnalyzeMoveRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # View enum for supporting partial analysis responses. module AnalysisView # The default/unset value. # The API will default to the FULL view. ANALYSIS_VIEW_UNSPECIFIED = 0 # Full analysis including all level of impacts of the specified resource # move. FULL = 1 # Basic analysis only including blockers which will prevent the specified # resource move at runtime. BASIC = 2 end end |
#view ⇒ ::Google::Cloud::Asset::V1::AnalyzeMoveRequest::AnalysisView
Returns Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1247 class AnalyzeMoveRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # View enum for supporting partial analysis responses. module AnalysisView # The default/unset value. # The API will default to the FULL view. ANALYSIS_VIEW_UNSPECIFIED = 0 # Full analysis including all level of impacts of the specified resource # move. FULL = 1 # Basic analysis only including blockers which will prevent the specified # resource move at runtime. BASIC = 2 end end |