Google Cloud Data Catalog V1 Client - Class UpdateTagTemplateRequest (1.8.2)

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

Request message for UpdateTagTemplate.

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

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ tag_template Google\Cloud\DataCatalog\V1\TagTemplate

Required. The template to update. The name field must be set.

↳ update_mask Google\Protobuf\FieldMask

Names of fields whose values to overwrite on a tag template. Currently, only display_name and is_publicly_readable can be overwritten. 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. Note: Updating the is_publicly_readable field may require up to 12 hours to take effect in search results.

getTagTemplate

Required. The template to update. The name field must be set.

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

hasTagTemplate

clearTagTemplate

setTagTemplate

Required. The template to update. The name field must be set.

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

getUpdateMask

Names of fields whose values to overwrite on a tag template. Currently, only display_name and is_publicly_readable can be overwritten.

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. Note: Updating the is_publicly_readable field may require up to 12 hours to take effect in search results.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Names of fields whose values to overwrite on a tag template. Currently, only display_name and is_publicly_readable can be overwritten.

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. Note: Updating the is_publicly_readable field may require up to 12 hours to take effect in search results.

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

static::build

Parameter
NameDescription
tagTemplate Google\Cloud\DataCatalog\V1\TagTemplate

Required. The template to update. The name field must be set.

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\UpdateTagTemplateRequest

static::buildFromTagTemplateUpdateMask

Parameters
NameDescription
tagTemplate Google\Cloud\DataCatalog\V1\TagTemplate

Required. The template to update. The name field must be set.

updateMask Google\Protobuf\FieldMask

Names of fields whose values to overwrite on a tag template. Currently, only display_name and is_publicly_readable can be overwritten.

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.

Note: Updating the is_publicly_readable field may require up to 12 hours to take effect in search results.

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\UpdateTagTemplateRequest