Google Cloud Design Center V1 Client - Class UpdateComponentRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class UpdateComponentRequest.

Message for updating a component.

Generated from protobuf message google.cloud.designcenter.v1.UpdateComponentRequest

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Optional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten.

↳ component Component

Required. The component to update.

getUpdateMask

Optional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten.

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

getComponent

Required. The component to update.

Returns
Type Description
Component|null

hasComponent

clearComponent

setComponent

Required. The component to update.

Parameter
Name Description
var Component
Returns
Type Description
$this

static::build

Parameters
Name Description
component Component

Required. The component to update.

updateMask Google\Protobuf\FieldMask

Optional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten.

Returns
Type Description
UpdateComponentRequest