Google Cloud Data Catalog V1 Client - Class CreateTagRequest (1.9.1)

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

Request message for CreateTag.

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

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 resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its child resources might not be stored in the location specified in its name.

↳ tag Google\Cloud\DataCatalog\V1\Tag

Required. The tag to create.

getParent

Required. The name of the resource to attach this tag to.

Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its child resources might not be stored in the location specified in its name.

Returns
TypeDescription
string

setParent

Required. The name of the resource to attach this tag to.

Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its child resources might not be stored in the location specified in its name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTag

Required. The tag to create.

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

hasTag

clearTag

setTag

Required. The tag to create.

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

static::build

Parameters
NameDescription
parent string

Required. The name of the resource to attach this tag to.

Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags.

Note: The tag and its child resources might not be stored in the location specified in its name. Please see Google\Cloud\DataCatalog\V1\DataCatalogClient::entryName() for help formatting this field.

tag Google\Cloud\DataCatalog\V1\Tag

Required. The tag to create.

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\CreateTagRequest