Google Cloud Asset V1 Client - Class AnalyzeMoveRequest (1.9.2)

Reference documentation and code samples for the Google Cloud Asset V1 Client class AnalyzeMoveRequest.

The request message for performing resource move analysis.

Generated from protobuf message google.cloud.asset.v1.AnalyzeMoveRequest

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ resource
string

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").

↳ destination_parent
string

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").

↳ view
int

Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.

getResource

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").

Generated from protobuf field string resource = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type
Description
string

setResource

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").

Generated from protobuf field string resource = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDestinationParent

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").

Generated from protobuf field string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type
Description
string

setDestinationParent

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").

Generated from protobuf field string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getView

Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.

Generated from protobuf field .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3;

Returns
Type
Description
int

setView

Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.

Generated from protobuf field .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3;

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: