Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class SerializedPolicyTag.
A nested protocol buffer that represents a policy tag and all its descendants.
Generated from protobuf message google.cloud.datacatalog.v1.SerializedPolicyTag
Namespace
Google \ Cloud \ DataCatalog \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ policy_tag |
string
Resource name of the policy tag. This field is ignored when calling |
↳ display_name |
string
Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8. |
↳ description |
string
Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description. |
↳ child_policy_tags |
array<SerializedPolicyTag>
Children of the policy tag, if any. |
getPolicyTag
Resource name of the policy tag.
This field is ignored when calling ImportTaxonomies
.
Returns | |
---|---|
Type | Description |
string |
setPolicyTag
Resource name of the policy tag.
This field is ignored when calling ImportTaxonomies
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDisplayName
Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
Returns | |
---|---|
Type | Description |
string |
setDisplayName
Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
Returns | |
---|---|
Type | Description |
string |
setDescription
Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getChildPolicyTags
Children of the policy tag, if any.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setChildPolicyTags
Children of the policy tag, if any.
Parameter | |
---|---|
Name | Description |
var |
array<SerializedPolicyTag>
|
Returns | |
---|---|
Type | Description |
$this |