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 messagegoogle.cloud.asset.v1.AnalyzeMoveRequest
Namespace
Google \ Cloud \ Asset \ V1
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 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").
↳ destination_parent
string
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 destination 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 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").
Returns
Type
Description
string
setResource
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").
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDestinationParent
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 destination parent. This can only be
a folder number (such as "folders/123") or an organization number (such as
"organizations/123").
Returns
Type
Description
string
setDestinationParent
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 destination parent. This can only be
a folder number (such as "folders/123") or an organization number (such as
"organizations/123").
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.
Returns
Type
Description
int
setView
Analysis view indicating what information should be included in the
analysis response. If unspecified, the default view is FULL.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Asset V1 Client - Class AnalyzeMoveRequest (2.2.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.3 (latest)](/php/docs/reference/cloud-asset/latest/V1.AnalyzeMoveRequest)\n- [2.2.2](/php/docs/reference/cloud-asset/2.2.2/V1.AnalyzeMoveRequest)\n- [2.1.3](/php/docs/reference/cloud-asset/2.1.3/V1.AnalyzeMoveRequest)\n- [2.0.1](/php/docs/reference/cloud-asset/2.0.1/V1.AnalyzeMoveRequest)\n- [1.16.4](/php/docs/reference/cloud-asset/1.16.4/V1.AnalyzeMoveRequest)\n- [1.14.1](/php/docs/reference/cloud-asset/1.14.1/V1.AnalyzeMoveRequest)\n- [1.13.2](/php/docs/reference/cloud-asset/1.13.2/V1.AnalyzeMoveRequest)\n- [1.12.2](/php/docs/reference/cloud-asset/1.12.2/V1.AnalyzeMoveRequest)\n- [1.11.3](/php/docs/reference/cloud-asset/1.11.3/V1.AnalyzeMoveRequest)\n- [1.10.2](/php/docs/reference/cloud-asset/1.10.2/V1.AnalyzeMoveRequest)\n- [1.9.2](/php/docs/reference/cloud-asset/1.9.2/V1.AnalyzeMoveRequest) \nReference documentation and code samples for the Google Cloud Asset V1 Client class AnalyzeMoveRequest.\n\nThe request message for performing resource move analysis.\n\nGenerated from protobuf message `google.cloud.asset.v1.AnalyzeMoveRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Asset \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getResource\n\nRequired. Name of the resource to perform the analysis against.\n\nOnly Google Cloud projects are supported as of today. Hence, this can only\nbe a project ID (such as \"projects/my-project-id\") or a project number\n(such as \"projects/12345\").\n\n### setResource\n\nRequired. Name of the resource to perform the analysis against.\n\nOnly Google Cloud projects are supported as of today. Hence, this can only\nbe a project ID (such as \"projects/my-project-id\") or a project number\n(such as \"projects/12345\").\n\n### getDestinationParent\n\nRequired. Name of the Google Cloud folder or organization to reparent the\ntarget resource. The analysis will be performed against hypothetically\nmoving the resource to this specified destination parent. This can only be\na folder number (such as \"folders/123\") or an organization number (such as\n\"organizations/123\").\n\n### setDestinationParent\n\nRequired. Name of the Google Cloud folder or organization to reparent the\ntarget resource. The analysis will be performed against hypothetically\nmoving the resource to this specified destination parent. This can only be\na folder number (such as \"folders/123\") or an organization number (such as\n\"organizations/123\").\n\n### getView\n\nAnalysis view indicating what information should be included in the\nanalysis response. If unspecified, the default view is FULL.\n\n### setView\n\nAnalysis view indicating what information should be included in the\nanalysis response. If unspecified, the default view is FULL."]]