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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\ResourceManager\V3\Folder
Returns
TypeDescription
$this

getUpdateMask

Required. Fields to be updated.

Only the display_name can be updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Fields to be updated.

Only the display_name can be updated.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this