public interface PolicyTagOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getChildPolicyTags(int index)
Output only.
|
com.google.protobuf.ByteString |
getChildPolicyTagsBytes(int index)
Output only.
|
int |
getChildPolicyTagsCount()
Output only.
|
List<String> |
getChildPolicyTagsList()
Output only.
|
String |
getDescription()
Description of this policy tag.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Description of this policy tag.
|
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
String |
getParentPolicyTag()
Resource name of this policy tag's parent policy tag (e.g. for the
"LatLong" policy tag in the example above, this field contains the
resource name of the "Geolocation" policy tag).
|
com.google.protobuf.ByteString |
getParentPolicyTagBytes()
Resource name of this policy tag's parent policy tag (e.g. for the
"LatLong" policy tag in the example above, this field contains the
resource name of the "Geolocation" policy tag).
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Identifier. Resource name of this policy tag, whose format is:
"projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];com.google.protobuf.ByteString getNameBytes()
Identifier. Resource name of this policy tag, whose format is:
"projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];String getDisplayName()
Required. User defined name of this policy tag. It must: be unique within the parent taxonomy; contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes long when encoded in UTF-8.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getDisplayNameBytes()
Required. User defined name of this policy tag. It must: be unique within the parent taxonomy; contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes long when encoded in UTF-8.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];String getDescription()
Description of this policy tag. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty description. If not set, defaults to an empty description.
string description = 3;com.google.protobuf.ByteString getDescriptionBytes()
Description of this policy tag. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty description. If not set, defaults to an empty description.
string description = 3;String getParentPolicyTag()
Resource name of this policy tag's parent policy tag (e.g. for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag). If empty, it means this policy tag is a top level policy tag (e.g. this field is empty for the "Geolocation" policy tag in the example above). If not set, defaults to an empty string.
string parent_policy_tag = 4;com.google.protobuf.ByteString getParentPolicyTagBytes()
Resource name of this policy tag's parent policy tag (e.g. for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag). If empty, it means this policy tag is a top level policy tag (e.g. this field is empty for the "Geolocation" policy tag in the example above). If not set, defaults to an empty string.
string parent_policy_tag = 4;List<String> getChildPolicyTagsList()
Output only. Resource names of child policy tags of this policy tag.
repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getChildPolicyTagsCount()
Output only. Resource names of child policy tags of this policy tag.
repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getChildPolicyTags(int index)
Output only. Resource names of child policy tags of this policy tag.
repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
index - The index of the element to return.com.google.protobuf.ByteString getChildPolicyTagsBytes(int index)
Output only. Resource names of child policy tags of this policy tag.
repeated string child_policy_tags = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
index - The index of the value to return.Copyright © 2025 Google LLC. All rights reserved.