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

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
Name Description
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
Type Description
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
Name Description
var Google\Cloud\DataCatalog\V1\PolicyTag
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameter
Name Description
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
Type Description
Google\Cloud\DataCatalog\V1\UpdatePolicyTagRequest