Google Cloud Resource Manager V3 Client - Class MoveFolderRequest (0.5.0)

Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class MoveFolderRequest.

The MoveFolder request message.

Generated from protobuf message google.cloud.resourcemanager.v3.MoveFolderRequest

Methods

build

Parameters
NameDescription
name string

Required. The resource name of the Folder to move. Must be of the form folders/{folder_id} Please see {@see \Google\Cloud\ResourceManager\V3\FoldersClient::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 form folders/{folder_id} or organizations/{org_id}.

Returns
TypeDescription
Google\Cloud\ResourceManager\V3\MoveFolderRequest

__construct

Constructor.

Parameters
NameDescription
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 form folders/{folder_id} or organizations/{org_id}.

getName

Required. The resource name of the Folder to move.

Must be of the form folders/{folder_id}

Returns
TypeDescription
string

setName

Required. The resource name of the Folder to move.

Must be of the form folders/{folder_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDestinationParent

Required. The resource name of the folder or organization which should be the folder's new parent. Must be of the form folders/{folder_id} or organizations/{org_id}.

Returns
TypeDescription
string

setDestinationParent

Required. The resource name of the folder or organization which should be the folder's new parent. Must be of the form folders/{folder_id} or organizations/{org_id}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this