Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class MoveFolderRequest.
The MoveFolder request message.
Generated from protobuf messagegoogle.cloud.resourcemanager.v3.MoveFolderRequest
Namespace
Google \ Cloud \ ResourceManager \ V3
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The resource name of the Folder to move. Must be of the form folders/{folder_id}
↳ destination_parent
string
Required. The resource name of the folder or organization which should be the folder's new parent. Must be of the formfolders/{folder_id}ororganizations/{org_id}.
getName
Required. The resource name of the Folder to move.
Must be of the form folders/{folder_id}
Returns
Type
Description
string
setName
Required. The resource name of the Folder to move.
Must be of the form folders/{folder_id}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDestinationParent
Required. The resource name of the folder or organization which should be
the folder's new parent. Must be of the formfolders/{folder_id}ororganizations/{org_id}.
Returns
Type
Description
string
setDestinationParent
Required. The resource name of the folder or organization which should be
the folder's new parent. Must be of the formfolders/{folder_id}ororganizations/{org_id}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameters
Name
Description
name
string
Required. The resource name of the Folder to move.
Must be of the form folders/{folder_id}
Please seeFoldersClient::folderName()for help formatting this field.
destinationParent
string
Required. The resource name of the folder or organization which should be
the folder's new parent. Must be of the formfolders/{folder_id}ororganizations/{org_id}.
[[["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 Resource Manager V3 Client - Class MoveFolderRequest (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-resource-manager/latest/V3.MoveFolderRequest)\n- [1.0.3](/php/docs/reference/cloud-resource-manager/1.0.3/V3.MoveFolderRequest)\n- [0.8.5](/php/docs/reference/cloud-resource-manager/0.8.5/V3.MoveFolderRequest)\n- [0.7.2](/php/docs/reference/cloud-resource-manager/0.7.2/V3.MoveFolderRequest)\n- [0.6.1](/php/docs/reference/cloud-resource-manager/0.6.1/V3.MoveFolderRequest)\n- [0.5.0](/php/docs/reference/cloud-resource-manager/0.5.0/V3.MoveFolderRequest)\n- [0.4.1](/php/docs/reference/cloud-resource-manager/0.4.1/V3.MoveFolderRequest)\n- [0.3.9](/php/docs/reference/cloud-resource-manager/0.3.9/V3.MoveFolderRequest) \nReference documentation and code samples for the Google Cloud Resource Manager V3 Client class MoveFolderRequest.\n\nThe MoveFolder request message.\n\nGenerated from protobuf message `google.cloud.resourcemanager.v3.MoveFolderRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ResourceManager \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The resource name of the Folder to move.\n\nMust be of the form folders/{folder_id}\n\n### setName\n\nRequired. The resource name of the Folder to move.\n\nMust be of the form folders/{folder_id}\n\n### getDestinationParent\n\nRequired. The resource name of the folder or organization which should be\nthe folder's new parent. Must be of the form `folders/{folder_id}` or\n`organizations/{org_id}`.\n\n### setDestinationParent\n\nRequired. The resource name of the folder or organization which should be\nthe folder's new parent. Must be of the form `folders/{folder_id}` or\n`organizations/{org_id}`.\n\n### static::build"]]