Google Cloud Data Catalog V1 Client - Class UpdateTagTemplateFieldRequest (1.3.9)

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

Request message for UpdateTagTemplateField.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the tag template field.

↳ tag_template_field Google\Cloud\DataCatalog\V1\TagTemplateField

Required. The template to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable: * display_name * type.enum_type * is_required 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 with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed. Additionally, updating a template field from optional to required is not allowed.

getName

Required. The name of the tag template field.

Returns
TypeDescription
string

setName

Required. The name of the tag template field.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTagTemplateField

Required. The template to update.

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

hasTagTemplateField

clearTagTemplateField

setTagTemplateField

Required. The template to update.

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

getUpdateMask

Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:

  • display_name
  • type.enum_type
  • is_required 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 with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed.

Additionally, updating a template field from optional to required is not allowed.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:

  • display_name
  • type.enum_type
  • is_required 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 with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed.

Additionally, updating a template field from optional to required is not allowed.

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