Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class CreatePolicyTagRequest.
Request message for CreatePolicyTag.
Generated from protobuf message google.cloud.datacatalog.v1.CreatePolicyTagRequest
Namespace
Google \ Cloud \ DataCatalog \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Resource name of the taxonomy that the policy tag will belong to. |
↳ policy_tag |
PolicyTag
The policy tag to create. |
getParent
Required. Resource name of the taxonomy that the policy tag will belong to.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. Resource name of the taxonomy that the policy tag will belong to.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPolicyTag
The policy tag to create.
Returns | |
---|---|
Type | Description |
PolicyTag|null |
hasPolicyTag
clearPolicyTag
setPolicyTag
The policy tag to create.
Parameter | |
---|---|
Name | Description |
var |
PolicyTag
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. Resource name of the taxonomy that the policy tag will belong to. Please see PolicyTagManagerClient::taxonomyName() for help formatting this field. |
policyTag |
PolicyTag
The policy tag to create. |
Returns | |
---|---|
Type | Description |
CreatePolicyTagRequest |