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
Name
Description
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.
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
Type
Description
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.
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
DataCatalogClient::entryName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Data Catalog V1 Client - Class CreateTagRequest (2.3.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.2 (latest)](/php/docs/reference/cloud-data-catalog/latest/V1.CreateTagRequest)\n- [2.3.1](/php/docs/reference/cloud-data-catalog/2.3.1/V1.CreateTagRequest)\n- [2.2.4](/php/docs/reference/cloud-data-catalog/2.2.4/V1.CreateTagRequest)\n- [2.1.0](/php/docs/reference/cloud-data-catalog/2.1.0/V1.CreateTagRequest)\n- [2.0.2](/php/docs/reference/cloud-data-catalog/2.0.2/V1.CreateTagRequest)\n- [1.10.3](/php/docs/reference/cloud-data-catalog/1.10.3/V1.CreateTagRequest)\n- [1.9.1](/php/docs/reference/cloud-data-catalog/1.9.1/V1.CreateTagRequest)\n- [1.8.2](/php/docs/reference/cloud-data-catalog/1.8.2/V1.CreateTagRequest)\n- [1.7.1](/php/docs/reference/cloud-data-catalog/1.7.1/V1.CreateTagRequest)\n- [1.6.0](/php/docs/reference/cloud-data-catalog/1.6.0/V1.CreateTagRequest)\n- [1.5.1](/php/docs/reference/cloud-data-catalog/1.5.1/V1.CreateTagRequest)\n- [1.4.2](/php/docs/reference/cloud-data-catalog/1.4.2/V1.CreateTagRequest)\n- [1.3.9](/php/docs/reference/cloud-data-catalog/1.3.9/V1.CreateTagRequest) \nReference documentation and code samples for the Google Cloud Data Catalog V1 Client class CreateTagRequest.\n\nRequest message for\nCreateTag.\n\nGenerated from protobuf message `google.cloud.datacatalog.v1.CreateTagRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DataCatalog \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The name of the resource to attach this tag to.\n\nTags can be attached to entries or entry groups. An entry can have up to\n1000 attached tags.\nNote: The tag and its child resources might not be stored in\nthe location specified in its name.\n\n### setParent\n\nRequired. The name of the resource to attach this tag to.\n\nTags can be attached to entries or entry groups. An entry can have up to\n1000 attached tags.\nNote: The tag and its child resources might not be stored in\nthe location specified in its name.\n\n### getTag\n\nRequired. The tag to create.\n\n### hasTag\n\n### clearTag\n\n### setTag\n\nRequired. The tag to create.\n\n### static::build"]]