Google Cloud Api Hub V1 Client - Class UpdateAttributeRequest (0.1.2)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class UpdateAttributeRequest.

The UpdateAttribute method's request.

Generated from protobuf message google.cloud.apihub.v1.UpdateAttributeRequest

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ attribute Attribute

Required. The attribute to update. The attribute's name field is used to identify the attribute to update. Format: projects/{project}/locations/{location}/attributes/{attribute}

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to update.

getAttribute

Required. The attribute to update.

The attribute's name field is used to identify the attribute to update. Format: projects/{project}/locations/{location}/attributes/{attribute}

Returns
Type Description
Attribute|null

hasAttribute

clearAttribute

setAttribute

Required. The attribute to update.

The attribute's name field is used to identify the attribute to update. Format: projects/{project}/locations/{location}/attributes/{attribute}

Parameter
Name Description
var Attribute
Returns
Type Description
$this

getUpdateMask

Required. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to update.

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

static::build

Parameters
Name Description
attribute Attribute

Required. The attribute to update.

The attribute's name field is used to identify the attribute to update. Format: projects/{project}/locations/{location}/attributes/{attribute}

updateMask Google\Protobuf\FieldMask

Required. The list of fields to update.

Returns
Type Description
UpdateAttributeRequest