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

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

Namespace

Google \ Cloud \ ResourceManager \ V3

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Cloud\ResourceManager\V3\Project|null

hasProject

clearProject

setProject

Required. The new definition of the project.

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

getUpdateMask

Optional. An update mask to selectively update fields.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. An update mask to selectively update fields.

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

static::build

Parameters
Name Description
project Google\Cloud\ResourceManager\V3\Project

Required. The new definition of the project.

updateMask Google\Protobuf\FieldMask

Optional. An update mask to selectively update fields.

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