Google Cloud Data Catalog V1 Client - Class UpdatePolicyTagRequest (1.5.1)

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

Request message for UpdatePolicyTag.

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

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ policy_tag Google\Cloud\DataCatalog\V1\PolicyTag

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

↳ update_mask Google\Protobuf\FieldMask

Specifies the fields to update. You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

getPolicyTag

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\PolicyTag|null

hasPolicyTag

clearPolicyTag

setPolicyTag

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

Parameter
NameDescription
var Google\Cloud\DataCatalog\V1\PolicyTag
Returns
TypeDescription
$this

getUpdateMask

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

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

static::build

Parameter
NameDescription
policyTag Google\Cloud\DataCatalog\V1\PolicyTag

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\UpdatePolicyTagRequest