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 \ V1Methods
__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. |
↳ 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 | |
---|---|
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTag
Required. The tag to create.
Returns | |
---|---|
Type | Description |
Google\Cloud\DataCatalog\V1\Tag|null |
hasTag
clearTag
setTag
Required. The tag to create.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DataCatalog\V1\Tag
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\DataCatalog\V1\CreateTagRequest |