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

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

The request sent to the UpdateProject method.

Only the display_name and labels fields can be change. Use the MoveProject method to change the parent field.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ project Google\Cloud\ResourceManager\V3\Project

Required. The new definition of the project.

↳ update_mask Google\Protobuf\FieldMask

Optional. An update mask to selectively update fields.

getProject

Required. The new definition of the project.

Returns
TypeDescription
Google\Cloud\ResourceManager\V3\Project|null

hasProject

clearProject

setProject

Required. The new definition of the project.

Parameter
NameDescription
var Google\Cloud\ResourceManager\V3\Project
Returns
TypeDescription
$this

getUpdateMask

Optional. An update mask to selectively update fields.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. An update mask to selectively update fields.

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