Class V1Resource.AnalyzeMoveRequest
Analyze moving a resource to a specified destination without kicking off the actual move. The analysis is best effort depending on the user's permissions of viewing different hierarchical policies and configurations. The policies and configuration are subject to change before the actual resource migration takes place.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudAsset.v1
Assembly: Google.Apis.CloudAsset.v1.dll
Syntax
public class V1Resource.AnalyzeMoveRequest : CloudAssetBaseServiceRequest<AnalyzeMoveResponse>, IClientServiceRequest<AnalyzeMoveResponse>, IClientServiceRequest
Constructors
AnalyzeMoveRequest(IClientService, string)
Constructs a new AnalyzeMove request.
Declaration
public AnalyzeMoveRequest(IClientService service, string resource)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | resource |
Properties
DestinationParent
Required. Name of the Google Cloud 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").
Declaration
[RequestParameter("destinationParent", RequestParameterType.Query)]
public virtual string DestinationParent { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Resource
Required. Name of the resource to perform the analysis against. Only Google Cloud projects are supported as of today. Hence, this can only be a project ID (such as "projects/my-project-id") or a project number (such as "projects/12345").
Declaration
[RequestParameter("resource", RequestParameterType.Path)]
public virtual string Resource { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
View
Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual V1Resource.AnalyzeMoveRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
V1Resource.AnalyzeMoveRequest.ViewEnum? |
Methods
InitParameters()
Initializes AnalyzeMove parameter list.
Declaration
protected override void InitParameters()