Google Cloud Data Catalog V1 Client - Class CreateTagTemplateFieldRequest (1.4.2)

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

Request message for CreateTagTemplateField.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The name of the project and the template location region.

↳ tag_template_field_id string

Required. The ID of the tag template field to create. Note: Adding a required field to an existing template is not allowed. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template.

↳ tag_template_field Google\Cloud\DataCatalog\V1\TagTemplateField

Required. The tag template field to create.

getParent

Required. The name of the project and the template location region.

Returns
TypeDescription
string

setParent

Required. The name of the project and the template location region.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTagTemplateFieldId

Required. The ID of the tag template field to create.

Note: Adding a required field to an existing template is not allowed. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template.

Returns
TypeDescription
string

setTagTemplateFieldId

Required. The ID of the tag template field to create.

Note: Adding a required field to an existing template is not allowed. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTagTemplateField

Required. The tag template field to create.

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

hasTagTemplateField

clearTagTemplateField

setTagTemplateField

Required. The tag template field to create.

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