Google Cloud Data Catalog V1 Client - Class CreateTagTemplateRequest (1.6.0)

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

Request message for CreateTagTemplate.

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

Namespace

Google \ Cloud \ DataCatalog \ V1

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_id string

Required. The ID of the tag template to create. The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8.

↳ tag_template Google\Cloud\DataCatalog\V1\TagTemplate

Required. The tag template 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

getTagTemplateId

Required. The ID of the tag template to create.

The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8.

Returns
TypeDescription
string

setTagTemplateId

Required. The ID of the tag template to create.

The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTagTemplate

Required. The tag template to create.

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

hasTagTemplate

clearTagTemplate

setTagTemplate

Required. The tag template to create.

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

static::build

Parameters
NameDescription
parent string

Required. The name of the project and the template location region. Please see Google\Cloud\DataCatalog\V1\DataCatalogClient::locationName() for help formatting this field.

tagTemplateId string

Required. The ID of the tag template to create.

The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8.

tagTemplate Google\Cloud\DataCatalog\V1\TagTemplate

Required. The tag template to create.

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\CreateTagTemplateRequest