Google Cloud Resource Manager V3 Client - Class UpdateFolderRequest (0.8.5)

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

The request sent to the UpdateFolder method.

Only the display_name field can be changed. All other fields will be ignored. Use the MoveFolder method to change the parent field.

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

Namespace

Google \ Cloud \ ResourceManager \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ folder Google\Cloud\ResourceManager\V3\Folder

Required. The new definition of the Folder. It must include the name field, which cannot be changed.

↳ update_mask Google\Protobuf\FieldMask

Required. Fields to be updated. Only the display_name can be updated.

getFolder

Required. The new definition of the Folder. It must include the name field, which cannot be changed.

Returns
Type Description
Google\Cloud\ResourceManager\V3\Folder|null

hasFolder

clearFolder

setFolder

Required. The new definition of the Folder. It must include the name field, which cannot be changed.

Parameter
Name Description
var Google\Cloud\ResourceManager\V3\Folder
Returns
Type Description
$this

getUpdateMask

Required. Fields to be updated.

Only the display_name can be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Fields to be updated.

Only the display_name can be updated.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
folder Google\Cloud\ResourceManager\V3\Folder

Required. The new definition of the Folder. It must include the name field, which cannot be changed.

updateMask Google\Protobuf\FieldMask

Required. Fields to be updated. Only the display_name can be updated.

Returns
Type Description
Google\Cloud\ResourceManager\V3\UpdateFolderRequest