Google Cloud Data Catalog V1 Client - Class UpdateTagRequest (2.2.1)

Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class UpdateTagRequest.

Request message for UpdateTag.

Generated from protobuf message google.cloud.datacatalog.v1.UpdateTagRequest

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ tag Tag

Required. The updated tag. The "name" field must be set.

↳ update_mask Google\Protobuf\FieldMask

Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name fields. In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.

getTag

Required. The updated tag. The "name" field must be set.

Returns
Type Description
Tag|null

hasTag

clearTag

setTag

Required. The updated tag. The "name" field must be set.

Parameter
Name Description
var Tag
Returns
Type Description
$this

getUpdateMask

Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name fields.

In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name fields.

In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.

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

static::build

Parameter
Name Description
tag Tag

Required. The updated tag. The "name" field must be set.

Returns
Type Description
UpdateTagRequest

static::buildFromTagUpdateMask

Parameters
Name Description
tag Tag

Required. The updated tag. The "name" field must be set.

updateMask Google\Protobuf\FieldMask

Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name fields.

In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.

Returns
Type Description
UpdateTagRequest